You would have to change all the references to Economics with functions that do the same thing in Exodus
ServerRewards
Moved
Total Downloads: 14,028 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018
- 5/5, 61 likes
-
ok i modifie 11 ref for the change i will try thx
-
Explain plz how /rewards remove item works, for its crashing plugin
[Oxide] 19:29 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.2.12' (KeyNotFoundException: The given key was not present in the dictionary.)
[Oxide] 19:29 [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
[Oxide] 19:29 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.2.12' (KeyNotFoundException: The given key was not present in the dictionary.)
[Oxide] 19:29 [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
> reload ServerRewards -
k1lly0u updated ServerRewards with a new update entry:
0.2.13
-
[Oxide] 19:49 [Error] Failed to call hook 'cmdChangePage' on plugin 'ServerRewards v0.2.13' (KeyNotFoundException: The given key was not present in the dictionary.)
[Oxide] 19:49 [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.cmdChangePage (.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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 -
k1lly0u updated ServerRewards with a new update entry:
0.2.14
-
wow more hard then i expect to modify that whit no exp loll
-
> reload ServerRewards
[Oxide] 20:03 [Info] [ServerRewards] Saved player data
[Oxide] 20:03 [Info] Unloaded plugin ServerRewards v0.2.14 by k1lly0u
[Oxide] 20:03 [Info] Loaded plugin ServerRewards v0.2.14 by k1lly0u
[Oxide] 20:03 [Error] Failed to call hook 'cmdChangePage' on plugin 'ServerRewards v0.2.14' (KeyNotFoundException: The given key was not present in the dictionary.)
[Oxide] 20:03 [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.cmdChangePage (.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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
[Oxide] 20:04 [Error] Failed to call hook 'cmdChangePage' on plugin 'ServerRewards v0.2.14' (KeyNotFoundException: The given key was not present in the dictionary.)
[Oxide] 20:04 [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.cmdChangePage (.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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 -
-
Keep up Your Good Work!
Fast question what line of the plugin do i need to //
that the kit/items button dose not show op no more?
latest update cant sell money for points
and can i give more commands to 1buy because i'm trying this no error only dose not remove them from other groups:
Code:{ "RewardKits": {}, "RewardItems": {}, "RewardCommands": { "Normal Chat Back": { "Command": "chat user remove $player.id one", "Command": "chat user remove $player.id two", "Command": "chat user remove $player.id three", "Command": "chat user remove $player.id four", "Command": "chat user add $player.id player", "Description": "You Will go back to normal icon <color=#9EC326>☮</color>!", "Cost": 0 } }, "RewardKits": {}, "RewardItems": {}, "RewardCommands": { "Tier One Chat": { "Command": "chat user remove $player.id player", "Command": "chat user remove $player.id two", "Command": "chat user remove $player.id three", "Command": "chat user remove $player.id four", "Command": "chat user add $player.id one", "Description": "You Will receive this icon <color=#008000>☯</color> For your Loyal Service!", "Cost": 24 } }, "RewardKits": {}, "RewardItems": {}, "RewardCommands": { "Tier Two Chat": { "Command": "chat user remove $player.id player", "Command": "chat user remove $player.id one", "Command": "chat user remove $player.id three", "Command": "chat user remove $player.id four", "Command": "chat user add $player.id two", "Description": "You Will receive this icon <color=#CD950C>☢</color> For your Loyal Service!", "Cost": 48 } }, "RewardKits": {}, "RewardItems": {}, "RewardCommands": { "Tier Three Chat": { "Command": "chat user remove $player.id player", "Command": "chat user remove $player.id one", "Command": "chat user remove $player.id two", "Command": "chat user remove $player.id four", "Command": "chat user add $player.id three", "Description": "You Will receive this icon <color=#CD6839>☣</color> For your Loyal Service!", "Cost": 96 } }, "RewardKits": {}, "RewardItems": {}, "RewardCommands": { "Tier Four Chat": { "Command": "chat user remove $player.id player", "Command": "chat user remove $player.id one", "Command": "chat user remove $player.id two", "Command": "chat user remove $player.id three", "Command": "chat user add $player.id four", "Description": "You Will receive this icon <color=red>☠</color> For your Loyal Service!", "Cost": 192 } } }
Last edited by a moderator: Apr 15, 2016 -
Could you add the store button to make it easier to open? such as "N". Or make a choice in the config file
-
k1lly0u updated ServerRewards with a new update entry:
0.2.15
-
you can still swap Items and Kits? or say that you need to change.
-
-
-
function to disable and enable kits/items in config or
GUI Shop would be cool as well instead of items ;-) -
k1lly0u updated ServerRewards with a new update entry:
0.2.16
-
can we change the store command to something more obvious like /MyRewards or similar?
also, my reward points seem to be flying? is currently set to 60 but it looks like they are getting 1 every 5 mins (deleted everything and this is with fresh install) -
I've already changed the chat command. If you want to change it again open the plugin in notepad or something, search for this line '[ChatCommand("s")]' and change the s to what ever you like. As for the points, please post your config
-
ok cool - let me see exactly what the timing is now that i've just 'reinstalled' 5 mins ago and i'll let you know.
on a completely different point/question how hard would it be to add a Maximum variable to the kits and items? if i set a maximum on the kit to 1 - i am still able to buy as many as i like through the store which defeats the object of setting a maximum value when creating the kit
Great work by the way - fantastic mod!Last edited by a moderator: Apr 16, 2016