1. Airdrops must be enabled. The wait can be true or false, all it does is wait for the first vote to pass since the plugin was loaded to start airdrops.
     
  2. Awesome, thank you so much. Very helpful
     
  3. i have a question about the planes. when the planes come in they drop the crates immediatley in the water. What do i need to do to get them to drop the crates on land?
     
  4. All this plugin does is use another plugin to call airdrops. If there is a problem with them, it is a problem with the game or the airdrop plugin.
     
  5. ok, thank you for the help
     
  6. I have a very unusual new bug for this plugin... Up until yesterday this plugin worked fine with no problems. Then all of a sudden I stopped seeing the vote in the chat... It gets to 18:00 in the game (day vote hour) and nothing happens.

    If I do oxide.reload DayVote then I can get it to work once. I get the vote for one night and then it doesn't appear again. :/

    Sounds like it might be AllowVoteNights set to the wrong value or incorrectly. But it's set to 1 like it has always been. :/

    I have attached my config value to see if anyone can see any errors, but as I said it worked great up until yesterday.

    I installed a few plugins yesterday so I do think that there is an incompatible plugin (or I just haven't noticed the bug for a while). Here are the plugins I installed yesterday:
    • Popup Notifications
    • Bank Manager
    • Timed Events
    • Structure Refunds
    EDIT: I say it worked up until yesterday. But what I really mean is that I NOTICED the bug yesterday I think the recent update has something to do with it to be honest.
     

    Attached Files:

  7. Sorry you are having a problem. I did let it run several times for testing and all seems fine. The AllowVoteNights settings isn't the problem as far as I can tell. The other plugins you listed wouldn't affect it either.

    Does it not call a vote at all or does it but you don't see the message, if you know?
     
  8. Both really. It doesn't appear in the chat and if I do /dayvote yes after 18:00 it just says no vote open at this time... I will make a video of its behaviour when I get home shortly to show you fully.

    Before I do though, I have one question... Does setting the time in the console or via RCON affect the way this plugin works at all because if I set the time and the plugin doesn't like that then it won't work anyway. xD
     
  9. Using the /dayvote set command won't mess it up but a manual change in console might. I will test that and fix if needed.
     
  10. Okay, so very quickly I have recorded myself setting the time and showing the plugin behaviour for me doing certain things. Whilst the video rendered, I changed the config file so that the sunrise hour was 17.8 and the sunset hour was 18, reloaded the plugin and I have the same issue there too...

    The plugin did its job the first time and the second night it didn't bother at all.

    Perhaps the use of decimal numbers confuses the plugin. I'm pretty sure that it worked up until I changed the time to 8.5 from just 8.

     
  11. Thanks, video is a big help, I will get to it as soon as possible.
     
  12. insane8472 updated Day Vote with a new update entry:

    1.1.3

     
  13. Hi, thank you very much for your extraordinary work and this wonderful plugin.
    I have a pretty basic question / problem regarding the permissions. I am admin but cannot seem to configure permissions correctly.
    When entering /dayvote or any other command I always get "You do not have permission to use this command".
    What I tried: grant <group> <user> dayvote.admin, grant group user dayvote.use, I changed use.permissions in config to false, but I am stuck. Thanks in advance..
     
  14. Those permission commands are invalid...

    You can use either:

    grant group admin dayvote.admin

    OR

    grant user (Steam 64-bit ID) dayvote.admin

    Best thing is to allow all users to vote so it would be:

    grant group default dayvote.use

    along with the admin group too... You might also not be in the admin group yourself. Try and add yourself as an admin in the Oxide permissions.
     
  15. Sweet. Everything is working. Thank you.

    Used these two (exactly what I want from the plugin... as probably most players do).
    Also I had already added myself to the Admin group in oxide permissions.
     
  16. I'm having an issue with the plugin. If I do the /dayvote start, i get an error in the console. the current error is as follows..
    Code:
    [Oxide] 00:07 [Error] Failed to call hook 'cmdDayVote' on plugin 'DayVote v1.1.3'
    File: DayVote.lua Line: 465 attempt to index a number 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.Core.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 
    Any solutions? It also doesn't appear to be auto starting dayvotes anymore.
     
  17. insane8472 updated Day Vote with a new update entry:

    1.1.4

     
  18. When i try to use the /dayvote yes says i have no permission
     
  19. Type into the console or an RCON tool:

    grant group default dayvote.use
    grant group admin dayvote.admin

    Then it'll work for all. Turn off "use permissions" in the config too just to make absolutely sure everyone can use the command!
     
  20. Ty very much for your help :)