1. Feramor submitted a new resource:

    Poll System - Admins can run polls in their servers

    Read more about this resource...
     
  2. Wulf

    Wulf Community Admin

    I'd recommend having lowercase commands, thought it looks like you do aside from the help you are showing users. There were a couple other things noticed in your plugin as well which shouldn't be possible, such as System.IO access. We're going to have to look into why those are working for you. ;)
     
    Last edited: Jan 28, 2015
  3. Lowercase commands are working.
    System.IO.File etc are inaccessible.
    I'm using TextReader,StreamReader,TextWriter and StreamWriter from System.IO for XML serialization :) Better than JSon :p
     
  4. Wulf

    Wulf Community Admin

    You should update the help messages then, as they all show titlecase commands. For the rest, @bawNg?
     
  5. would it be possible to allow players to start the daytime poll?
    /Poll "Time" "TIMER" "Day"- Poll for changing time to Day
     
  6. It is possible to set via config file Polling.xml in oxide\config but currently time change is not working..

    <Time_Auth>2</Time_Auth>

    2 : Owner
    1 : Mod
    0 : Must be user
     
  7. The latest Oxide snapshot fixes the edge case which allowed using classes in the System.IO namespace from C#. That means that you will no longer be able to use XML or any IO directly.

    This LoadDefaultConfig hook will be called when your plugin loads if a JSON config does not exist. The config file containing all data you have set will be created after the hook is called.

    To use the Oxide config system to generate a config, simply define a LoadDefaultConfig hook as follows:
    Code:
    void LoadDefaultConfig()
    {
        Config["top_level"] = new Dictionary<string, object> { { "hello", "world" } };
    }
     
  8. Code:
    Version 1.0.2
    -Plugin converted to an extension.
    -History option is now working
    -Day/Night working with last build of Oxide
     
  9. Wulf

    Wulf Community Admin

    I wouldn't recommend keeping it as an extension, as extensions aren't something all hosts allow outside of official. Generally something such as this should be done via a plugin to avoid confusion with users.
     
  10. I'm unfamilar with the .cs file do I just put this in oxide\plugins ?
     
  11. Yes same as luas
     
  12. Wulf

    Wulf Community Admin

    You'd need to have the an Oxide build that supports it though, which includes the Oxide.Ext.CSharp.dll extension.
     
  13. Hello Folks! :D

    Working good with last oxide version.

    Would it be possible to add a language file in order to translate the polls to other languages? :)

    I had some fun making users vote like crazy lol
     
  14. :) I'm working on it will be avaible with next update :)
     
  15. Love the plugin! But you need to add usage display on poll start as users don't know how to vote.

    Thanks,
    -TheDoc
     
  16. Feramor updated Poll System with a new update entry:

    Added Language support

     
  17. Can you add the comands and examples to the config file so i can translate them ? i mean if you can add everything that the players will see !
     
  18. I also missed the fixed questions.I will release an update soon.
     
  19. Feramor updated Poll System with a new update entry:

    Added missing language texts.