EasyVote

Moved

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

5/5, 14 likes
  1. Exel80 updated EasyVote with a new update entry:

    1.2.1

     
  2. its not louding in my config :/
     
  3. Any error?
     
  4. Code:
    [Oxide] 07:35 [Info] EasyVote was compiled successfully in 2300ms
    [Oxide] 07:35 [Info] Loaded plugin EasyVote v1.2.1 by Exel80
    [Oxide] 07:35 [Error] Failed to initialize plugin 'EasyVote v1.2.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 07:35 [Debug]   at Oxide.Core.Libraries.Lang.GetMessage (System.String key, Oxide.Core.Plugins.Plugin plugin, System.String userId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EasyVote.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EasyVote.BuildRewardList () [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] 07:35 [Info] Unloaded plugin EasyVote v1.2.1 by Exel80
    [Oxide] 07:35 [Info] No previous version to rollback plugin: EasyVote
     
    Last edited by a moderator: Oct 29, 2016
  5. Exel80 Thank you so much for making this, keep up the great work. if I just have vote1 will they get it every time they vote or just the first time? Trying to give RP for voting each day
    [DOUBLEPOST=1477751867][/DOUBLEPOST]Phoenix you may want to post your config with the API keys removed so we can see what is wrong. I just went through the same thing on mine and it ended up being just the wrong name of an item
     
  6. the prob is my conifg file dont go automaticly in :/
    [DOUBLEPOST=1477752014][/DOUBLEPOST]nvm i fixed it ill downloeded again and now its working well
    [DOUBLEPOST=1477752175][/DOUBLEPOST]
    btw what they mean with KEY?
     
  7. Key is provided by rust-servers and toprustservers. I missed this at first, if you don't have the key in the config won't compile here is the instructions

    "RustServersID":"", // Found ID from "My options -> Manage Your Servers"
    "RustServersKEY":"", // Found KEY from "My options -> Manage Your Servers"
    "TopRustServersID":"", // Found ID from URL!
    "TopRustServersKEY":""// Found KEY from Manage server!
     
  8. owh ok i found it i have a prob if i type /vote on my server its not working :/
     
  9. Reload the plugin, and see if it gives you the errors you had before. You have to make sure both the ID and KEY are put into the config or it will not work (just set it up and this was my issue lol)
     
  10. for both websited ?
    [DOUBLEPOST=1477753841][/DOUBLEPOST]
    Code:
    {
      "Reward": {
        "vote1": [
          "supply.signal: 1",
          "adlvl: 1"
        ],
        "vote2": [
       
          "Ak.74: 1"
        ],
        "vote5": [
          "m249: 1"
       
        ]
      },
      "Settings": {
        "Annoucment": "true",
        "BeancanID": "",
        "BeancanKEY": "",
        "GlobalAnnouncment": "true",
        "HighestVoter": "false",
        "HighestVoterRewardGroup": "hero",
        "Prefix": "<color=cyan>[EasyVote]</color>",
        "RustServersID":
        "RustServersKEY":
        "TopRustServersID": "",
        "TopRustServersKEY": ""
      },
      "Variables": {
        "addgroup": "addgroup {playerid} {value} {value2}",
        "addlvl": "xp addlvl {playername} {value}",
        "grantperm": "grantperm {playerid} {value} {value2}",
        "money": "eco.c deposit {playerid} {value}",
        "rp": "sr add {playername} {value}",
        "zlvl-mg": "zlvl {playername} MG +{value}",
        "zlvl-s": "zlvl {playername} S +{value}",
        "zlvl-wc": "zlvl {playername} WC +{value}"
      }
    }
     
    Last edited by a moderator: Oct 29, 2016
  11. No that should be fine but please please edit that post and take out your key, it's bad to have it public like that.

    Your problem might be:
    "Reward": {
    "vote1": [
    "supply.signal: 1",
    "adlvl: 1"

    You need that to be "addlvl: 1"
     
  12. still unknow command /vote /rewards :/
     
  13. Did you do oxide.reload EasyVote to see if it load the config correctly?
     
  14. Code:
    [Oxide] 08:42 [Info] Loaded plugin EasyVote v1.2.1 by Exel80
    [Oxide] 08:42 [Error] Failed to initialize plugin 'EasyVote v1.2.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 08:42 [Debug]   at Oxide.Core.Libraries.Lang.GetMessage (System.String key, Oxide.Core.Plugins.Plugin plugin, System.String userId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EasyVote.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EasyVote.BuildRewardList () [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] 08:42 [Info] Unloaded plugin EasyVote v1.2.1 by Exel80
    [Oxide] 08:42 [Info] No previous version to rollback plugin: EasyVote
    [DOUBLEPOST=1477755774][/DOUBLEPOST]this shit ill get if i reload
     
    Last edited by a moderator: Oct 29, 2016
  15. I just realized the issue, sometimes I am dumb. FOr your vote rewards you need

    rifle.ak
    and
    lmg.m249

    instead of Ak.74 and m249

    This reads console commands not true names so you have to have the right format. I find it easiest to look here: Oxide API for Rust

    For Item names
     
  16. owwwww thx man i am dumb to i thougt u was need to do thad but u never know
    [DOUBLEPOST=1477756740][/DOUBLEPOST]
    still now working
    [DOUBLEPOST=1477756779][/DOUBLEPOST]still now working :/
    [DOUBLEPOST=1477757530][/DOUBLEPOST]{
    "Reward": {
    "vote1": [
    "supply.signal: 1"
    ],
    "vote3": [
    "supply.signal: 1",
    "money: 250"
    ],
    "vote6": [
    "supply.signal: 1",
    "money: 500",
    "addlvl: 1"
    ]
    },
     
  17. what i do wrong ?
    I HAVE THE SAME :/
     
  18. Delete all language files you have for EasyVote, including the config file and reload the plugin...

    Since the last update I have these debug messages about "Check <username> vote status from TopRustServers etc etc.
    While it's doing this (for all three vote websites) the server lags a bit. How do I disable these random checks? It only need to do it when people do a /claim command
     
  19. what u mean ?