EasyVote

Moved

Total Downloads: 4,115 - First Release: Aug 27, 2016 - Last Update: Mar 24, 2018

5/5, 14 likes
  1. Hello, i have set up a account with top-serveurs:

    "TopServeursID": "xxx",
    "TopServeursKEY": "xxxxxxxxxx"

    3 digit server id and 10 digit key

    Ingame i get the following: We got 0 erros from Top-Serveurs
    In console i got: [Warning] [EasyVote] Error: 0 - Couldn't get an answer for Playername(TopServeurs)

    Any ideeas ? :)
     
  2. I'm having trouble displaying my link in chat when typing /vote , what part do I need to edit in order for this to show up
     
  3. Why are the colours bugged? Screenshot
    [DOUBLEPOST=1483606253][/DOUBLEPOST]
    Found it, the default generated prefix is formatted wrong.
     
  4. Can you copy your config/easyvote.json here? Remember remove your api keys & use [ code] [/ code] tags.
    [DOUBLEPOST=1483629557][/DOUBLEPOST]
    Maybe website api is down? If you still have this problem, then send me your config json (without apiKey)
     
  5. Code:
    [Oxide] 05:25 [Error] Failed to call hook 'OnPlayerSleepEnded' on plugin 'EasyVote v1.2.6' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 05:25 [Debug] at System.Collections.Generic.Dictionary`2[System.String,System.String].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EasyVote.OnPlayerSleepEnded (.BasePlayer player) [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.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 05:25 [Error] Failed to call hook 'cmdVote' on plugin 'EasyVote v1.2.6' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 05:28 [Error] Failed to call hook 'cmdVote' on plugin 'EasyVote v1.2.6' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 05:28 [Debug] at System.Collections.Generic.Dictionary`2[System.String,System.String].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EasyVote.cmdVote (.BasePlayer player, System.String command, System.String[] args) [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.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 05:25 [Debug] at System.Collections.Generic.Dictionary`2[System.String,System.String].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EasyVote.cmdVote (.BasePlayer player, System.String command, System.String[] args) [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.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    Code:
    {
      "Reward": {
        "vote1": [
          "wood: 5000"
        ],
        "vote2": [
          "wood: 10000",
         "stones: 5000"
        ],
           "vote3": [
          "wood: 10000",
         "stones: 10000"
        ],
        "vote4": [
          "supply.signal: 1"
        ]
      },
      "Settings": {
        "Announcment": "true",
        "GlobalClaimAnnouncment": "true",
        "HighestVoter": "false",
        "HighestVoterInterval": "10",
        "HighestVoterRewardGroup": "hero",
        "Prefix": "<color=cyan>[EasyVote]</color>"
      },
      "Variables": {
        "addgroup": "addgroup {playerid} {value} {value2}",
        "grantperm": "grantperm {playerid} {value} {value2}",
        "money": "eco.c deposit {playerid} {value}",
        "rp": "sr add {playerid} {value}",
        "zlvl-mg": "zlvl {playername} MG +{value}",
        "zlvl-s": "zlvl {playername} S +{value}",
        "zlvl-wc": "zlvl {playername} WC +{value}"
      },
      "VoteSettings": {
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": ""
      }
    }
    Any way to fix?
     
    Last edited by a moderator: Jan 24, 2017
  6. how do we announce in chat the previous months top voter? mine doesn't seem to announce it.
     
  7. Make sure your "HighestVoter" is true and you have set group name what you want give to HighestVoter.

    Also HighestVoterInterval:10 (in minute) means how often server announcement about it.
     
  8. "Settings": {
    "Announcment": "true",
    "GlobalClaimAnnouncment": "true",
    "HighestVoter": "true",
    "HighestVoterInterval": "10",
    "HighestVoterRewardGroup": "topvoter",
    "Prefix": "<color=cyan>[EasyVote]</color>"

    those are my settings, as you can see it is set to true but i don't see the announcement in chat?.
     

  9. im getting the same message after adding top serveurs. Anyone know why?
     
  10. The plugin doesn't give the entered rp when I claim my rewards.
     
  11. Never got to make it work. And on the otherside i spent like 30mins setting up my server account. After 3 days i got to top 2 and my server got deleted from there list cause its not a french server... So be prepared that this will happen if you join up with them and get on the first page. Ofc if your server is not french.
     
  12. Code:
    {
      "Reward": {
        "vote2": [
          "gears: 10",
          "metalpipe: 5",
          "metalspring: 5",
          "riflebody: 1",
          "rope: 10,
          "sewingkit: 10",
          "sheetmetal: 10",
          "smgbody: 1",
          "supply_signal: 1"
        ],
        "vote2": [
          "hq_metal_ore: 300"
        ],
        "vote4": [
          "lmg_m249: 1"
        ]
      },
      "Settings": {
        "Announcment": "true",
        "GlobalClaimAnnouncment": "true",
        "HighestVoter": "false",
        "HighestVoterInterval": "10",
        "HighestVoterRewardGroup": "hero",
        "Prefix": "<color=#ffa500>[EasyVote]</color>"
      },
      "Variables": {
        "addgroup": "addgroup {playerid} {value} {value2}",
        "grantperm": "grantperm {playerid} {value} {value2}",
        "money": "eco.c deposit {playerid} {value}",
        "rp": "sr add {playerid} {value}",
        "zlvl-mg": "zlvl {playername} MG +{value}",
        "zlvl-s": "zlvl {playername} S +{value}",
        "zlvl-wc": "zlvl {playername} WC +{value}"
      },
      "VoteSettings": {
        "BeancanID": "",
        "BeancanKEY": "",
        "RustServersID": "",
        "RustServersKEY": "",
        "TopRustServersID": "",
        "TopRustServersKEY": "",
        "TopServeursID": "",
        "TopServeursKEY": ""
      }
    }
    [DOUBLEPOST=1485283268][/DOUBLEPOST]anything wrong here ?

    IDK
     
    Last edited by a moderator: Jan 28, 2017
  13. Is it possible to configure it to give same reward every vote or every second for example. So you don't have to set up like 30 identical rewards?
     
  14. want to know that aswell
     
  15. still dont know how to test the plugin i can add myself reward points but they not claim
     
  16. Hey;
    With this plugin can we get the same reward for every vote?
    Example: some one get 1 ammo every vote.
    thanks for answer
     
  17. I have suggestion you should add the possibility to change the logo of the announcements please, with SteamID avatar.
    Another suggestion, please add wipe data for 1 week, I want every week since 1st vote, the vote be reset at 0 please
    Antoher and last: add every vote item support please.

    EDIT: week wipe date and every vote item support i've find a way it's ok for me now.
    I just need the possibility to change the logo please
     
    Last edited by a moderator: Feb 1, 2017
  18. Hello,

    I would add the line "zlvl-wc" for 3 votes.
    I have to do how?