1. i dont get the permission part oxide.grant admin 76561198157902759 dayvote.admin ?
     
  2. Wulf

    Wulf Community Admin

    oxide.grant group admin dayvote.admin

    or

    oxide.grant user 76561198157902759 dayvote.admin
     
  3. o ok thank you very much.
     
  4. hi i am trying to set the time dayvote starts i think i am doing it right /dayvote set but i keep getting Syntax Error ( just want to set it to start at 17 not 18 players are all afraid of the dark ) oh is there a way when the vote reaches 50% or votes needed it will run day instead of waiting the time frame out
     
    Last edited by a moderator: Aug 9, 2015
  5. You must change the night hour in your oxide\config\DayVote.json file and reload the plugin. The /dayvote set command is used to set the current time on the server instantly. The time is changed once the vote is over, assuming it passed. It does not wait for anything else.

    Edit: I see what you mean. I will add it to the next update. If it reaches 50% or whatever you have set, it will stop the vote and pass then and there. :)
     
  6. awesome great plugin :D
     
  7. insane8472 updated Day Vote with a new update entry:

    1.0.3

     
  8. Hey sorry to bug you again but since the update the players cant vote says they do not have permission , thanks again , sorry i forgot to change after clean install haha
     
    Last edited by a moderator: Aug 10, 2015
  9. Do you have UsePermissions setting false or does the group players have permission dayvote.use?
     
  10. yeah i forgot to set permission back to false lol all is well now
    [DOUBLEPOST=1439194989][/DOUBLEPOST]how would set the dayvote to repeat 5 mins after it fails the first time
     
  11. There is no repeat vote option. I could add it to the next version.
     
  12. awesome , thanks for the great plugin :D
     
  13. With the latest update you said the plugin will bypass the total voting time if the requirement is met.

    Does this mean if it is set to "1" where yes votes need to outnumber no votes by 1, then will the server instantly set it to day if only 1 person votes? Or will this mode still wait until the end of the timer.
     
  14. Thanks for bringing that to my attention. Small oversight there. In the next version, it will apply to percentage votes only and outnumber votes will run the duration.
     
  15. insane8472 updated Day Vote with a new update entry:

    1.0.4

     
  16. Thank you very much for the fast reply and update, all seems to be working great so far I'll let you know of any issues.


    Below error seems to be happening every so often, all features do seem to work however, unsure what is being affected by it.
    [DOUBLEPOST=1439612376][/DOUBLEPOST]
    Code:
    [Oxide] 9:17 PM [Error] Failed to call hook 'cmdDayVote' on plugin 'DayVote v1.0.4'
    File: DayVote.lua Line: 505 attempt to perform arithmetic on 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
    Last edited by a moderator: Aug 15, 2015
  17. I have looked at the code, it all appears to be fine. I have been unable to recreate the error as of yet. Please let me know if he keeps happening.
     
  18. "Airdrop": {
    "Drops": "1",
    "Enabled": "true",
    "Interval": "600",
    "MinPlayers": "5"
    this are the settings to enable aidrops?
     
  19. Error keeps getting spammed every time anyone votes, unsure what is causing it. Have tried a fresh plugin and config install.
     
  20. Yes. If you are having problems with default airdrops, use those settings.

    I found the problem and will release a fix soon.