You always got reward, plugin take closest reward.
For example, if you have voted 2 timed (you got reward 1) & and 3th (you got reward 3)
EasyVote
Moved
Total Downloads: 4,115 - First Release: Aug 27, 2016 - Last Update: Mar 24, 2018
- 5/5, 14 likes
-
Ahhhhh
Okay Thank you -
-
Thanks for your work.
The first plugin with my name for update x'D -
just installed the latest version and got
[Oxide] 16:24 [Info] Unloaded plugin EasyVote v1.2.3 by Exel80
[Oxide] 16:24 [Info] EasyVote was compiled successfully in 2102ms
[Oxide] 16:24 [Info] Loaded plugin EasyVote v1.2.5 by Exel80
[Oxide] 16:24 [Error] Failed to initialize plugin 'EasyVote v1.2.5' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 16:24 [Debug] at Oxide.Plugins.EasyVote.Merge[String,String] (IDictionary`2 current, IDictionary`2 defaultDict, Boolean rewardFilter) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.LoadConfigValues () [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.Loaded () [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 (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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
[Oxide] 16:24 [Info] Unloaded plugin EasyVote v1.2.5 by Exel80
[Oxide] 16:24 [Info] Rolling back plugin to last good version: EasyVote
[Oxide] 16:24 [Info] Loaded plugin EasyVote v1.2.3 by Exel80 -
[DOUBLEPOST=1478712303][/DOUBLEPOST]Hello.
All work but players do not receive RP.
Code:"Reward": { "vote1": [ "supply.signal: 1", "autoturret: 1", "explosive.timed: 2", "rp: 1000"
-
[DOUBLEPOST=1478713925][/DOUBLEPOST]@mannot74 Check your json file here, JSONLint - The JSON Validator.
If its valid, make sure that serverrewards is running, also check that console command 'sr add' working. -
Valid JSON
Players do not receive RP
And /sr add player value work wellLast edited by a moderator: Nov 9, 2016 -
And the automatic message say still /reward instead of /claim SOLVED delete EasyVote.JSON in lang folder: Oxide\lang\en\EasyVote.JSON
And players don't receive RP NOT SOLVEDLast edited by a moderator: Nov 10, 2016 -
Damn I get the following error after updating the plugin, please help :
11:39 [Info] Loaded plugin EasyVote v1.2.5 by Exel80
11:39 [Error] Failed to initialize plugin 'EasyVote v1.2.5' (NullReferenceException: Object reference not set to an instance of an object)
11:39 [Debug] at Oxide.Plugins.EasyVote.Merge[String,String] (IDictionary`2 current, IDictionary`2 defaultDict, Boolean rewardFilter) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.LoadConfigValues () [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.Loaded () [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 (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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 -
I deleted config file and re-installed now its working
-
Hi
I know it's me being thick yet again but I'm trying to give a player a group of Voter for 15days.
Been reading all 16 pages of questions and I'm still confused
I now noticed there is "addgroup": "addgroup {playerid} {value} {value2}" as a variable but what do I add to the json file
do I have to add a new variable ie : "addvoter": "addgroup {playerid} voter {value2}",
and add
"vote20": [
"addvoter: 15d"
"supply.signal: 1",
"money: 250"
and add
Easyvote.cs
rust.RunServerCommand($"addgroup {player.displayName} voter {value}");
or just dont add a variable but do
"vote20": [
"addgroup: voter 15d"
"supply.signal: 1",
"money: 250"
Please help before they take me away
Many thanks
Mental Jaguar -
i think there is a bug. when players with special characters in their nicknames typing /claim they did't get any reward, but EasyVote announces, that they did. console says:
Code:[Oxide] 17:21 [Info] [ServerRewards] No players found [Oxide] 17:21 [Info] [ServerRewards] No players found [Oxide] 17:21 [Info] [ServerRewards] No players found
-
(14:52:36) | [Oxide] 14:49 [Info] Loaded plugin EasyVote v1.2.5 by Exel80
(14:52:36) | [Oxide] 14:49 [Error] Failed to initialize plugin 'EasyVote v1.2.5' (NullReferenceException: Object reference not set to an instance of an object)
(14:52:36) | [Oxide] 14:49 [Debug] at Oxide.Plugins.EasyVote.Merge[String,String] (IDictionary`2 current, IDictionary`2 defaultDict, Boolean rewardFilter) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.LoadConfigValues () [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.Loaded () [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 (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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
(14:52:36) | [Oxide] 14:49 [Info] Unloaded plugin EasyVote v1.2.5 by Exel80
(14:52:36) | [Oxide] 14:49 [Info] No previous version to rollback plugin: EasyVote -
Can you add support to this voting site? Rust Servers - Top 100 List | TopG Let me know your thoughts, thanks!
-
2. grant group default timedpermissions.use
3. usergroup add voter
4. grant group "voter" as many permissions as you want: grant group voter "permission"
5. add reward to EasyVote.json:Code:"vote20": [ "addgroup: voter 15d" ]
-
Hello folks, I was wondering - If I were to register with multiple voting sites, does this plugin know how to tell between them? Example: If I have registered on both beancan.io and rust-servers.net, will the plugin count that as 2 votes? Or will it be able to count 1 from rust-servers and one from beancan? I don't want the rewards to be super stacked as a result of multiple sites - does that make sense?
-
UP:
All work but players do not receive RP. (/sr add works)
Code:"Reward": { "vote1": [ "supply.signal: 1", "autoturret: 1", "explosive.timed: 2", "rp: 1000"
-
problems with the rewards if they vote 2 times they dont get the full list :/
{
"Reward": {
"vote2": [
"supply.signal: 1",
"sheet.metal: 10",
"rope: 10",
"gears: 10",
"rifle.body: 1",
"sewing.kit: 10",
"smg.body: 1",
"metal.spring: 5",
"metal.pipe: 5",
],
"vote4": [
"mlg.m249: 1" -
Code:{ "Reward": { "vote2": [ "supply.signal: 1", "sheet.metal: 10", "rope: 10", "gears: 10", "rifle.body: 1", "sewing.kit: 10", "smg.body: 1", "metal.spring: 5", "metal.pipe: 5" ], }
i want check is there any error in it and then test it by my self.
> Remember remove your API keys <
[DOUBLEPOST=1479022969][/DOUBLEPOST]@PUREjaguar you have to have - in grantpermission or addgroup, like this.
Code:"vote20": [ "addgroup: voter-15d" "supply.signal: 1", "money: 250"
@Artasan Seems like ServerRewards variable is broken or something. I'm sorry for all troubles what is has done so far, will fix it soon as possible.Last edited by a moderator: Nov 13, 2016