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
-
Its on the old to-do list, there are a few other thing that need doing 1st though (Quests and EventManager + events)
I will have to see if I can pull the permission data from kits, if I can I will
[DOUBLEPOST=1465089634][/DOUBLEPOST]Authlevel 1 and 2 -
you ignore me?
-
The answer to your question is the second post above your previous post...
-
Okey, sry
-
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
) -
Please forgive my ignorance, I've searched around but I can't find what you mean or how to set them. Oxide permissions appear to be by group and nowhere can I find the words Authlevel 1 or Authlevel 2.
-
When you type ownerid <steamid> in console that is auth 2, moderatorid <steamid> is auth 1. It doesn't use the permission system
-
nvm, "fixed" this out with adding original SR directories for logs in oxide dir.
-
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 -
You need to post the error messages
-
can I refresh RP all players per one command ? or remove any file ?
-
You need to check the overview for all commands
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 -
ServerRewards Error Messages - Pastebin.com I have put the error messages in this pastebin to save the load of text on the forum!
should
have posted this when i asked first!
Thanks Again
PeachmanLast edited by a moderator: Jun 10, 2016
