1. HighTower 2 submitted a new resource:

    SkipNightVote - Let the server vote to skip night automatically when night falls!

    Read more about this resource...
     
  2. HighTower 2 updated SkipNightVote with a new update entry:

    Small fix

     
  3. CHR

    CHR

    Good to see new stuff ty.
     
  4. After loading this plugin - config file is empty or i should fill them by my self?
     
  5. It should fill itself with the default values... I'll look into it.
     
  6. HighTower 2 updated SkipNightVote with a new update entry:

    Fixed empty configs


    [DOUBLEPOST=1431274531][/DOUBLEPOST]
    Yep, looks like I overlooked something last night when I pushed this out... That's what I get for working on it so late. The 1.0.2 update should work for you, just remove your old empty config file before moving the update in and you should be good to go. Let me know if you still have issues, thanks!
     
  7. I have just updated to 1.0.3 and still getting a blank config file.

    it only contains:

    {}

    if putting in as described on the overview and re-loading this error is produced:

    [Oxide] 5:29 PM [Error] SkipNightVote: Failed to load config file (is the config file corrupt?) (Unexpected token)

    regards,

    pry
     
  8. Did you delete the old config file before reloading? If not, delete the file - then reload the plugin (oxide.reload SkipNightVote). If that doesn't resolve your issue, let me know and I'll look into it. Thanks!
     
  9. Hi there HighTower, yes I tried a few times and all resulted in just having a config file consisting of:

    {}

    and that is all.

    Thanks for the plugin, it's exactly what I was looking for =)

    Pry
     
  10. Ok, was able to reproduce this issue... Looks like in an update I removed something that I shouldn't have, that's causing the problem. Fix incoming.
     
  11. Confirmed configs are now populated. Thank you for resolution HighTower.

    Pry
     
  12. Apologies that took so long - I had removed it by accident in a previous version, and didn't re-test that scenario. :(
     
  13. Added, just awaiting night ^^
    [DOUBLEPOST=1431455527][/DOUBLEPOST]just out of curiosity, is 0.75 = 75%?
     
  14. That is correct. So it will require at least 3/4 players to vote yes to pass. You can config it to whatever you like. :)
     
  15. Works like a charm, thanks for this
     
  16. Great! Glad to hear it's working out for you.
     
  17. Love this plugin, great idea. Is there anyway so it can show how many votes there is for day?
     
  18. Yes there is. I originally thought about putting that in from the start, but decided not to. Now that it's all working, I can put that in. Look for it in the next version (soon).