You most likely have skipped/doubled a item number in the list of items. Go through them and make sure the numbers are consecutive.
example;
Code:"39": { // <<-- This number here "DisplayName": "Rock", "URL": "http://vignette2.wikia.nocookie.net/play-rust/images/f/ff/Rock_icon.png", "ID": 3506021, "Amount": 1, "BP": false, "Skin": 0, "Cost": 1 },
ServerRewards
Moved
Total Downloads: 14,031 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018
- 5/5, 61 likes
-
i reinstaled and work tks
-
15:01 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.2.29' (KeyNotFoundException: The given key was not present in the dictionary.)
15:01 [Debug] at System.Collections.Generic.Dictionary`2[System.Int32,Oxide.Plugins.ServerRewards+ItemInfo].get_Item (Int32 key) [0x00000] in <filename unknown>:0
at Oxide.Plugins.ServerRewards.ItemElement (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
at Oxide.Plugins.ServerRewards.cmdChangeElement (.Arg arg) [0x00000] in <filename unknown>:0
at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
What is this ? -
What controls who can use the commands to add items?
-
@k1lly0u can you add option for cooldown on commands and kits? example: i have in commands RoF and Helicall, and I don´t want people to spam it, I want them to have cooldown on it for purchase (would be great to have option if global cooldown for all players in game (like for these comands helicalls ) or for single person (like for kits)), example 5-10 minutes
It would help alot to stop people crazy spamming sometimes
-
@k1lly0u add in if you add admin, vip or donator kits it wont show these to everyone only those with the permission can see there kits
-
[DOUBLEPOST=1465089634][/DOUBLEPOST] -
-
-
-
btw @k1lly0u can you add also posibility to config to change apierence of the tabs (now its kits, items, commands but I want items, commands,kits
)
-
-
-
-
Great plugin dude. thanks
-
Hi, I've just been building a server and testing out a system that uses the plugin. However, the plugin is now throwing error messages, and I have no idea why.
By the looks of things, the plugin in unable to call any of the hooks. (I'm no expert in how plugins work, but know a little to get my by). I don't know if this is due to updates to Rust and the plugin needs and update, or if I've done something, The only thing i have changed in install the RustIO plugin? Any Help would be appreciated.
Many Thanks
Peachman -
-
-
ServerRewards for Rust | Oxide
It's best to read the overview of each plugin you have so you understand how it works, it will also save you posting and waiting on an answerLast edited by a moderator: Jun 10, 2016 -
should have posted this when i asked first!
Thanks Again
PeachmanLast edited by a moderator: Jun 10, 2016