Exel80 updated EasyVote with a new update entry:
2.0.21
EasyVote
Moved
Total Downloads: 4,115 - First Release: Aug 27, 2016 - Last Update: Mar 24, 2018
- 5/5, 14 likes
-
-
Hrm, now I get this:
(08:39:09) | EasyVote was compiled successfully in 2191ms
(08:39:09) | Failed to initialize plugin 'EasyVote v2.0.21' (NullReferenceException: Object reference not set to an instance of an object)
(08:39:09) | Failed to initialize plugin 'EasyVote v2.0.21' (NullReferenceException: Object reference not set to an instance of an object)
(08:39:09) | Unloaded plugin EasyVote v2.0.21 by Exel80
(08:39:09) | No previous version to rollback plugin: EasyVote -
@ItsBiggs Remove old config and reload. It should not be needed to re generate config but dunno.
-
!!!IT'S WORKING!!!!
Thank you so much @Exel80 for the fixes I just tested with Top Rust Servers and reward/claim went through straight away without any delay:
I will test both tomorrow once the 24hr timer has elapsed and let you know the results. I have enabled logging so would you like me to upload that log file so you can see also? -
-
no support for TopRustServers ?
-
-
i did it but it wont work ....top rustservers just wont work PLAYER 0 GOT AN ERROR FROM TopRustserveurs
Code:{ "Commands": { "money": "eco.c deposit {playerid} {value}", "oxidegrantgroup": "oxide.usergroup add {playerid} {value}", "oxidegrantperm": "oxide.grant user {playerid} {value}", "oxiderevokegroup": "oxide.usergroup remove {playerid} {value}", "oxiderevokeperm": "oxide.revoke user {playerid} {value}", "rp": "sr add {playerid} {value}", "tempaddgroup": "addgroup {playerid} {value} {value2}", "tempgrantperm": "grantperm {playerid} {value} {value2}", "zlvl-*": "zl.lvl {playerid} * +{value}", "zlvl-c": "zl.lvl {playerid} C +{value}", "zlvl-m": "zl.lvl {playerid} M +{value}", "zlvl-s": "zl.lvl {playerid} S +{value}", "zlvl-wc": "zl.lvl {playerid} WC +{value}" }, "Discord": { "Discord webhook (URL)": "******************************", "DiscordMessage Enabled (true / false)": "true", "Enable @here alert (true / false)": "false", "Title": "Vote" }, "Rewards": { "@": [ "supply.signal: 1", "zlvl-*: 1" ], "vote1": [ "supply.signal: 1", "scrap: 1000" ], "vote2": [ "supply.signal: 1", "scrap: 500" ], "vote3": [ "supply.signal: 1", "scrap: 500" ], "vote4": [ "supply.signal: 1", "scrap: 1000" ], "vote5": [ "supply.signal: 1", "scrap: 500" ], "vote6": [ "supply.signal: 1", "scrap: 500" ], "vote7": [ "supply.signal: 1", "scrap: 1000" ], "vote8": [ "supply.signal: 1", "scrap: 500" ], "vote9": [ "supply.signal: 1", "scrap: 500" ], "vote10": [ "supply.signal: 1", "scrap: 1000" ], "vote11": [ "supply.signal: 1", "scrap: 500" ], "vote12": [ "supply.signal: 1", "scrap: 500" ], "vote13": [ "supply.signal: 1", "scrap: 1000" ], "vote14": [ "supply.signal: 1", "scrap: 500" ], "vote15": [ "supply.signal: 1", "scrap: 500" ], "vote16": [ "supply.signal: 1", "scrap: 1000" ], "vote17": [ "supply.signal: 1", "scrap: 500" ], "vote18": [ "supply.signal: 1", "scrap: 500" ], "vote19": [ "supply.signal: 1", "scrap: 1000" ], "vote20": [ "supply.signal: 1", "scrap: 500" ], "vote21": [ "supply.signal: 1", "scrap: 500", "ammo.rocket.basic: 21" ] }, "Servers": { "ServerName1": { "Beancan": "*********:*********************", "RustServers": "*********:*********************", "TopServeurs": "*********:*********************" } }, "Settings": { "Enable logging => oxide/logs/EasyVote (true / false)": "true", "Globally announcment in chat when player voted (true / false)": "true", "Prefix": "<color=cyan>[EasyVote]</color>", "Send thank you message to player who voted (true / false)": "true", "Vote rewards cumulative (true / false)": "false" }, "VoteSitesAPI": { "Beancan": { "API Claim Reward (GET URL)": "http://beancan.io/vote/put/{0}/{1}", "API Vote status (GET URL)": "http://beancan.io/vote/get/{0}/{1}", "Vote link (URL)": "http://beancan.io/server/{0}" }, "RustServers": { "API Claim Reward (GET URL)": "http://rust-servers.net/api/?action=custom&object=plugin&element=reward&key={0}&steamid={1}", "API Vote status (GET URL)": "http://rust-servers.net/api/?object=votes&element=claim&key={0}&steamid={1}", "Vote link (URL)": "http://rust-servers.net/server/{0}" }, "TopServeurs": { "API Claim Reward (GET URL)": "https://api.top-serveurs.net/votes?server_token={0}&steam_id={1}", "API Vote status (GET URL)": "https://api.top-serveurs.net/votes/check?server_token={0}&steam_id={1}", "Vote link (URL)": "https://top-serveurs.net/srv/{0}" } } }
-
@ItsOliDude Dont know if top-serveurs.net has changed api since when i use that API url.
Also i dont know if you know it, but you can leave empty numbers when write "voteXX" rewards.
Example:
Code:"Rewards": { "@": [ "supply.signal: 1", "zlvl-*: 1" ], "vote1": [ "supply.signal: 1", "scrap: 1000" ], "vote5": [ "supply.signal: 1", "scrap: 500" ], "vote10": [ "supply.signal: 1", "scrap: 1000" ], "vote15": [ "supply.signal: 1", "scrap: 500" ], "vote20": [ "supply.signal: 1", "scrap: 1000" ] },
Hope that clean this closest feature to all of you, so you know how awesome this plugin actually is! -
I keep getting this error when I load the plugin:
Code:(10:35:53) | Failed to initialize plugin 'EasyVote v2.0.21' (NullReferenceException: Object reference not set to an instance of an object)(10:35:53) | at Oxide.Plugins.EasyVote.Merge[String,String] (IDictionary`2 current, IDictionary`2 defaultDict, Boolean bypass) [0x00000] in <filename unknown>:0at Oxide.Plugins.EasyVote.LoadConfigValues () [0x00000] in <filename unknown>:0at Oxide.Plugins.EasyVote.Init () [0x00000] in <filename unknown>:0at Oxide.Plugins.EasyVote.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0(10:35:53) | Failed to initialize plugin 'EasyVote v2.0.21' (NullReferenceException: Object reference not set to an instance of an object)(10:35:53) | at Oxide.Plugins.EasyVote.BuildNumberMax () [0x00000] in <filename unknown>:0at Oxide.Plugins.EasyVote.Loaded () [0x00000] in <filename unknown>:0at Oxide.Plugins.EasyVote.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0(10:35:53) | Unloaded plugin EasyVote v2.0.21 by Exel80(10:35:53) | No previous version to rollback plugin: EasyVote
-
-
i have a problem :
(09:21:47) | Failed to initialize plugin 'EasyVote v2.0.21' (NullReferenceException: Object reference not set to an instance of an object)
(09:21:47) | at Oxide.Plugins.EasyVote.Merge[String,String] (IDictionary`2 current, IDictionary`2 defaultDict, Boolean bypass) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.LoadConfigValues () [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.Init () [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0Attached Files:
-
-
-
i have it
-
-
-
-
-
@Excel80 any idea what the problem is here?
Here's the log. I replaced the id and key with *'s
Code:[11/08/2017 19:36:13] Player: Camomano99 - Check claim URL: http://rust-servers.net/api/?action=custom&object=plugin&element=reward&key=**********steamid=76561198084543556 Site: RustServers Server: ServerName1 VoteAPI-ID: ****** VoteAPI-KEY: ********** [11/08/2017 19:36:13] URL: RustServers - Code: 200, Response: 1 [11/08/2017 19:36:27] Player: Camomano99 - Check claim URL: http://rust-servers.net/api/?action=custom&object=plugin&element=reward&key=**********&steamid=76561198084543556 Site: RustServers Server: ServerName1 VoteAPI-ID: ******** VoteAPI-KEY: ********** [11/08/2017 19:36:27] URL: RustServers - Code: 200, Response: 2
Code:{ "Settings": { "Globally announcment in chat when player voted (true / false)": "true", "Prefix": "<color=cyan>[EasyVote]</color>", "Send thank you message to player who voted (true / false)": "true", "Vote rewards cumulative (true / false)": "false", "Enable logging => oxide/logs/EasyVote (true / false)": "true" }, "Discord": { "Discord webhook (URL)": "", "DiscordMessage Enabled (true / false)": "false", "Enable @here alert (true / false)": "false", "Title": "Vote" }, "Servers": { "ServerName1": { "RustServers": "**********:************************************" } }, "VoteSitesAPI": { "Beancan": { "API Claim Reward (GET URL)": "http://beancan.io/vote/put/{0}/{1}", "API Vote status (GET URL)": "http://beancan.io/vote/get/{0}/{1}", "Vote link (URL)": "http://beancan.io/server/{0}" }, "RustServers": { "API Claim Reward (GET URL)": "http://rust-servers.net/api/?action=custom&object=plugin&element=reward&key={0}&steamid={1}", "API Vote status (GET URL)": "http://rust-servers.net/api/?object=votes&element=claim&key={0}&steamid={1}", "Vote link (URL)": "http://rust-servers.net/server/{0}" } }, "Rewards": { "@": [ "supply.signal: 1" ] }, "Commands": { "money": "eco.c deposit {playerid} {value}", "oxidegrantgroup": "oxide.usergroup add {playerid} {value}", "oxidegrantperm": "oxide.grant user {playerid} {value}", "oxiderevokegroup": "oxide.usergroup remove {playerid} {value}", "oxiderevokeperm": "oxide.revoke user {playerid} {value}", "rp": "sr add {playerid} {value}", "tempaddgroup": "addgroup {playerid} {value} {value2}", "tempgrantperm": "grantperm {playerid} {value} {value2}", "zlvl-*": "zl.lvl {playername} * +{value}", "zlvl-c": "zl.lvl {playername} C +{value}", "zlvl-m": "zl.lvl {playername} M +{value}", "zlvl-s": "zl.lvl {playername} S +{value}", "zlvl-wc": "zl.lvl {playername} WC +{value}" } }