1. as I do so that all players can vote? i try with "grant group dayvote.use but not work...
     
  2. Did you try "grant group default dayvote.use" ?
     
  3. Thanks you very much bro works
     
  4. where you can change the prefix "dayvote yes\no" to "day yes" and "day no" in the code?
     
  5. not working after the new update ... no error message nothing
     
  6. Working fine here.
     
  7. Use notepad++ and search for dayvote yes, it needs changed on 11 lines you will also see the dayvote no on the same lines, but do run a search and double check all your work also delete config before you upload the edited script

    Please note, I don't recommend editing the script unless you really know what you are doing
     
  8. Hello everyone! How i can configure this plugin to everybody can vote ? not just admins...
     
  9. Code:
    oxide.grant group default dayvote.use
     
  10. You can configure: server time 22:00 - 4:59 voted disable\ does not work? And from 5:00 - 21:59 Enables \ work?
    ps Server Time, not in-game.
    [DOUBLEPOST=1468394480][/DOUBLEPOST]p.p.s. The idea is to disable the dayvote into the night.
     
  11. Option already there check your config
    Change
    Code:
    "UsePermissions": "true",
    to
    Code:
    "UsePermissions": "false",
    if you leave it to true then you will need to add the permissions to each group
     
  12. If you set it to false, doesn't that mean that players also have access to admin comands ?
    dayvote.admin - Allow players to use administrator commands
     
  13. Are you able to make this calculate the vote out of the people who voted (if 10 people vote, 6 yes and 4 no it is successful). I was able to do this HeliVote by simply making it calculate Yes >= No and for it not to check with the required percentages. Is there a way to do this for this plugin?
     
  14. I got a problem...
    after the vote process has ended the time wont change
    Can somebody help me or fix this?
     
  15. Same issue, time not changing upon successful vote. Plugin broken currently.
     
  16. I had to remove the plugin after last Thursdays update. It was spamming the server so bad with many error messages. I'm waiting for an update.
     
  17. Change the requirement in the settings to the number of votes you want yes to outnumber no with. Don't include %.

    Any error messages, etc? I can't get it to act up.
     
  18. It was spamming error messages so bad that I had to remove it. I'll give it a try again and reload it later today to see if it happens again. I'll let you know.
    Here is the error message that it kept spamming over and over constantly until I removed the plugin:

    [09/01/2016 19:26:00] [Oxide] 19:26 [Error] Failed to call hook 'OnTick' on plugin 'DayVote v1.1.1'
    File: DayVote.lua Line: 226 attempt to index global 'VSky' (a nil value):
    at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
    at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
    at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
    at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, 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
     
    Last edited by a moderator: Sep 6, 2016
  19. Seems I made changes a long time ago and never uploaded it, hmm. Try the attached file and let me know.
     

    Attached Files:

  20. Just a follow-up to let you know the the update file worked great with no issues. Thanks