ServerRewards
Moved
Total Downloads: 14,029 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018
- 5/5, 61 likes
-
when I set "Use_Playtime": false, and reload plugin 2 times I get this error ...
Ty,
Screenshot -
@k1lly0u Can you add to the /sr check also time played? Since thhe data file and time in it is in seconds i dont want to use all time calculator to find who haves above 20h+ played (need it cause player group vs reguler player group adn permissions
-
-
size doesnt matter add picture option as much as possible thanks
-
i get constant spamming error?
[Oxide] 18.19 [info] [ServerRewards] Saved player data
How do i fix this ? -
-
---DEL--
-
2 How do I set up a bunch of items?
"1": {
"DisplayName": "TEST",
"URL": "",
"ID": 548699316,
"ID": -1461508848,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 10000
}, -
Code:
"RewardItems": { "0": { "DisplayName": "Assault Rifle", "URL": "http://vignette3.wikia.nocookie.net/play-rust/images/d/d1/Assault_Rifle_icon.png", "ID": -1461508848, "Amount": 1, "BP": false, "Skin": 0, "Cost": 100 }, "1": { "DisplayName": "Thompson", "URL": "http://vignette3.wikia.nocookie.net/play-rust/images/4/4e/Thompson_icon.png", "ID": 456448245, "Amount": 1, "BP": false, "Skin": 0, "Cost": 100 }, "2": { "DisplayName": "Custom SMG", "URL": "http://vignette1.wikia.nocookie.net/play-rust/images/9/95/Custom_SMG_icon.png", "ID": 109552593, "Amount": 1, "BP": false, "Skin": 0, "Cost": 100 }, "3": { "DisplayName": "Auto Turret", "URL": "http://i.imgur.com/YQpTlEs.png", "ID": 563023711, "Amount": 1, "BP": true, "Skin": 0, "Cost": 5000 } },
-
Any thoughts on this error message?
Code:[Oxide] 13:24 [Error] Failed to call hook 'Unload' on plugin 'ServerRewards v0.2.29' (KeyNotFoundException: The given key was not present in the dictionary.) [Oxide] 13:24 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.Timer].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.DestroyPlayer (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.Unload () [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] 13:24 [Info] Unloaded plugin ServerRewards v0.2.29 by k1lly0u [Oxide] 13:24 [Info] Loaded plugin ServerRewards v0.2.29 by k1lly0u [Oxide] 13:24 [Error] ServerRewards v0.2.29: Failed to load config file (is the config file corrupt?) (Unexpected token: Undefined) [Oxide] 13:24 [Error] Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.2.29' (JsonReaderException: Error reading integer. Unexpected token: Undefined. Path 'PT_Point_Interval', line 14, position 24.) [Oxide] 13:24 [Debug] at Newtonsoft.Json.JsonReader.ReadAsInt32Internal () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextReader.ReadAsInt32 () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0
-
-
Thanks resistance. I just Deleted the plugin and config. re-installed and it's fine now. Thanks for the quick response.
-
How can i modify how many points a player gets from playing in a arena?
-
-
I want to make two products into one Kitchener
-
Thanks alot Brko!
-
this work?
more than one item in the same
"2": {
"DisplayName": "Custom SMG",
"URL": "http://vignette1.wikia.nocookie.net/play-rust/images/9/95/Custom_SMG_icon.png",
"ID": XXXXXX,
"ID": AAAAAA,
"ID": BBBBBB,
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 100
}, -
yes....
[DOUBLEPOST=1463381906][/DOUBLEPOST]help me..
kit_data
{
"Kits": {
"item": {
"name": "item",
"description": null,
"max": 0,
"cooldown": 0.0,
"authlevel": 2,
"hide": false,
"npconly": false,
"permission": null,
"image": null,
"items": [
{
"itemid": -1461508848,
"bp": false,
"container": "belt",
"amount": 1,
"skinid": 0,
"weapon": true,
"mods": []
},
{
"itemid": 456448245,
"bp": false,
"container": "belt",
"amount": 1,
"skinid": 0,
"weapon": true,
"mods": []
}
]
}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
serverrewards_rewards_data
"RewardItems": {
"1": {
"DisplayName": "TEST",
"URL": "",
"KitName": "item",
"Amount": 1,
"BP": false,
"Skin": 0,
"Cost": 10000
}Last edited by a moderator: May 16, 2016 -
Code:"RewardKits": { "TEST": { "KitName": "item", "Description": "", "Cost": 1 } },