Voter reward has a option in config to change the chat command. Unfortunately I didn't find out until after about the conflicting commands and it was easier for those using voterreward to edit its config then me changing all the references to the command in the plugin and getting everyone who uses this to delete their lang file
ServerRewards
Moved
Total Downloads: 14,032 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018
- 5/5, 61 likes
-
[ChatCommand("reward")] -
Can anyone tell me why my /s isn't working anytime i try /s i get the error:
[Oxide] 23:11 [Error] Failed to call hook 'OnPlayerSleepEnded' on plugin 'GUIAnnouncements v1.11.35' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 23:11 [Debug] at Oxide.Plugins.GUIAnnouncements.OnPlayerSleepEnded (.BasePlayer player) [0x00000] in <filename unknown>:0
at Oxide.Plugins.GUIAnnouncements.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
[Oxide] 23:11 [Error] Failed to call hook 'cmdStore' on plugin 'ServerRewards v0.2.53' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 23:11 [Debug] at Oxide.Plugins.ServerRewards.SavePlayersData (.BasePlayer player) [0x00000] in <filename unknown>:0
at Oxide.Plugins.ServerRewards.OpenStore (.BasePlayer player, Boolean isNPC) [0x00000] in <filename unknown>:0
at Oxide.Plugins.ServerRewards.cmdStore (.BasePlayer player, System.String command, System.String[] args) [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 -
The first error isn't from this. As for the second, post your serverrewards_player.json and I can tell you why its not working
-
Here it is thank for the reply
Attached Files:
-
-
Your data file is corrupted. Unload the plugin and delete it
-
That worked thanks for the help.
-
whare i can download the Icons ?
-
click the link beside the image when it opens the page see the picture I uploaded
The url on the next page is the one you will useLast edited by a moderator: Jul 3, 2016 -
"RewardKits": {},
"RewardItems": {
"0": {
"DisplayName": "Assault Rifle",
"URL": "http://www.interload.co.il/upload/5402300.png",
"ID": -1461508848,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 80
},
"1": {
"DisplayName": "Bolt Action Rifle",
"URL": "http://www.interload.co.il/upload/8176602.png",
"ID": -55660037,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 80
},
"2": {
"DisplayName": "Pump Shotgun",
"URL": "http://www.interload.co.il/upload/516166.png",
"ID": -1009492144,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 60
},
"3": {
"DisplayName": "Flame Thrower",
"URL": "http://www.interload.co.il/upload/9699455.png",
"ID": 1045869440,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 40
},
"4": {
"DisplayName": "Rocket Launcher",
"URL": "http://www.interload.co.il/upload/8905144.png",
"ID": 649603450,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 80
},
"5": {
"DisplayName": "Thompson",
"URL": "",
"ID": 456448245,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 50
},
"6": {
"DisplayName": "Custom SMG",
"URL": "http://www.interload.co.il/upload/7397633.png",
"ID": 109552593,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 50
},
"7": {
"DisplayName": "Silencer",
"URL": "",
"ID": 1213686767,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"8": {
"DisplayName": "Muzzle Boost",
"URL": "http://www.interload.co.il/upload/5400495.png",
"ID": -1569356508,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"9": {
"DisplayName": "Muzzle Brake",
"URL": "http://www.interload.co.il/upload/3103549.png",
"ID": -1569280852,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"10": {
"DisplayName": "Holosight",
"URL": "",
"ID": -465236267,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"11": {
"DisplayName": "Weapon Flashlight",
"URL": "",
"ID": 1229879204,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"12": {
"DisplayName": "Weapon Lasersight",
"URL": "",
"ID": 516382256,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"13": {
"DisplayName": "4x Zoom Scope",
"URL": "http://www.interload.co.il/upload/520378.png",
"ID": -141135377,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"14": {
"DisplayName": "Salvaged Sword",
"URL": "",
"ID": -388967316,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 10
},
"15": {
"DisplayName": "Salvaged Cleaver",
"URL": "http://www.interload.co.il/upload/4656688.png",
"ID": -1775234707,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 10
},
"16": {
"DisplayName": "Beancan Grenade",
"URL": "http://www.interload.co.il/upload/1502451.png",
"ID": 384204160,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 20
},
"17": {
"DisplayName": "Crossbow",
"URL": "http://www.interload.co.il/upload/993453.png",
"ID": 2123300234,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 40
},
"18": {
"DisplayName": "Machete",
"URL": "http://www.interload.co.il/upload/6722560.png",
"ID": 825308669,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 10
},
"19": {
"DisplayName": "Semi-Automatic Rifle",
"URL": "http://www.interload.co.il/upload/291589.png",
"ID": -1745053053,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 60
},
"20": {
"DisplayName": "Semi-Automatic Pistol",
"URL": "http://www.interload.co.il/upload/5011456.png",
"ID": 548699316,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 50
}
},
"RewardCommands": {},
"storedImages": {
"999999999": {
"0": 2940140341
},
"-55660037": {
"0": 1192256542
},
"-1461508848": {
"0": 1068173195
}
}
}
why its not work
[DOUBLEPOST=1467588066][/DOUBLEPOST]after i do loadimages he remove the urls -
-
"10": {
"DisplayName": "Holosight",
"URL": "http://vignette4.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160211200620",
"ID": -465236267,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
this is not work and http://www.interload.co.il/upload/7440612.png this
all the url i try not working -
-
> loadimages
[Oxide] 03:25 [Info] [ServerRewards] Saved reward/permission data
[Oxide] 03:25 [Info] [ServerRewards] Saved reward/permission data
[Oxide] 03:25 [Info] [ServerRewards] Saved reward/permission data -
If it's removing the URLs then your not unloading the plugin prior to uploading the modified data file
[DOUBLEPOST=1467600078][/DOUBLEPOST]If it's removing the URLs then your not unloading the plugin prior to uploading the modified data file -
"DisplayName": "Flame Thrower",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160415084104",
"ID": 1045869440,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 40
Holosight work now
"10": {
"DisplayName": "Holosight",
"URL": "http://vignette4.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160211200620",
"ID": -465236267,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
si why after loadimages he remove the url Flame Thrower
[DOUBLEPOST=1467623445][/DOUBLEPOST]now the plugin not work good Screenshot
Oxide] 10:08 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.2.53' (KeyNotFoundException: The given key was not present in the dictionary.)
[Oxide] 10:08 [Debug] at System.Collections.Generic.Dictionary`2[System.Int32,System.UInt32].get_Item (Int32 key) [0x00000] in <filename unknown>:0
at Oxide.Plugins.ServerRewards.CreateItemEntry (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panelName, System.String itemname, Int32 itemnumber, Int32 amount, Int32 number) [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 -
If URL's are disappearing after you upload its because you need to unload the plugin before you upload the modified data file. The second error is either because you entry numbers are not consecutive or you have doubled one up. They need to be in order (ie. 1, 2, 3, 4, 5... etc)
Code:"10": { // <<<--- This number here "DisplayName": "Holosight", "URL": "http://vignette4.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160211200620", "ID": -465236267, "Amount": 1, "BP": false, "Skin": 0, "Cost": 30
-
{
"RewardKits": {},
"RewardItems": {
"0": {
"DisplayName": "Rocket Launcher",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151106061852",
"ID": 649603450,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 80
},
"1": {
"DisplayName": "Bolt Action Rifle",
"URL": "http://www.interload.co.il/upload/8176602.png",
"ID": -55660037,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 80
},
"2": {
"DisplayName": "Assault Rifle",
"URL": "http://www.interload.co.il/upload/5402300.png",
"ID": -1461508848,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 80
},
"3": {
"DisplayName": "Pump Shotgun",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160310205718",
"ID": -1009492144,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 60
},
"4": {
"DisplayName": "Custom SMG",
"URL": "http://vignette1.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151108000740",
"ID": 109552593,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 60
},
"5": {
"DisplayName": "Thompson",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160226092921",
"ID": 456448245,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 60
},
"6": {
"DisplayName": "Semi-Automatic Rifle",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160128160721",
"ID": -1745053053,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 60
},
"7": {
"DisplayName": "Crossbow",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151106061004",
"ID": 2123300234,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 40
},
"8": {
"DisplayName": "Flame Thrower",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160415084104",
"ID": 1045869440,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 40
},
"9": {
"DisplayName": "F1 Grenade",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151106054509",
"ID": -1308622549,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 40
},
"10": {
"DisplayName": "Weapon Lasersight",
"URL": "http://vignette1.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160211201545",
"ID": 516382256,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"11": {
"DisplayName": "Weapon Flashlight",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160211201539",
"ID": 1229879204,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"12": {
"DisplayName": "Holosight",
"URL": "http://vignette4.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160211200620",
"ID": -465236267,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"13": {
"DisplayName": "Muzzle Brake",
"URL": "http://vignette2.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160601121719",
"ID": -1569280852,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"14": {
"DisplayName": "Muzzle Boost",
"URL": "http://vignette2.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160601121705",
"ID": -1569356508,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"15": {
"DisplayName": "4x Zoom Scope",
"URL": "http://vignette4.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160211201610",
"ID": -141135377,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"16": {
"DisplayName": "Silencer",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160211200615",
"ID": 1213686767,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"17": {
"DisplayName": "Semi-Automatic Pistol",
"URL": "http://vignette2.wikia.nocookie.net...est/scale-to-width-down/100?cb=20160211200319",
"ID": 548699316,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 30
},
"18": {
"DisplayName": "Salvaged Sword",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151106061458",
"ID": -388967316,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 10
},
"19": {
"DisplayName": "Salvaged Cleaver",
"URL": "http://vignette1.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151106054417",
"ID": -1775234707,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 10
},
"20": {
"DisplayName": "Longsword",
"URL": "http://vignette4.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151106061240",
"ID": 146685185,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 10
},
"21": {
"DisplayName": "Machete",
"URL": "http://vignette3.wikia.nocookie.net...est/scale-to-width-down/100?cb=20151106060741",
"ID": 825308669,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 10
}
},
"RewardCommands": {},
"storedImages": {
"999999999": {
"0": 2940140341
},
"649603450": {
"0": 3001424175
},
"-1461508848": {
"0": 1068173195
},
"-55660037": {
"0": 1192256542
}
}
}
[DOUBLEPOST=1467630672][/DOUBLEPOST] -
Hello I have an image problem loading gold that I have made as it says so I got the address of the image in the site Wikia then I put in the file URL serverrewards_json have data and after I made in the loadImages console and nothing happens can you please help me thank you
Attached Files:
-
-
??????????????????????