Feramor submitted a new resource:
Poll System - Admins can run polls in their servers
Read more about this resource...
Polls [Unmaintained]
Discussion in 'Plugin Support' started by Feramor, Jan 28, 2015.
-
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 -
Lowercase commands are working.
System.IO.File etc are inaccessible.
I'm using TextReader,StreamReader,TextWriter and StreamWriter from System.IO for XML serializationBetter than JSon
-
Wulf Community Admin
-
would it be possible to allow players to start the daytime poll?
/Poll "Time" "TIMER" "Day"- Poll for changing time to Day -
<Time_Auth>2</Time_Auth>
2 : Owner
1 : Mod
0 : Must be user -
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" } }; }
-
Code:
Version 1.0.2 -Plugin converted to an extension. -History option is now working -Day/Night working with last build of Oxide
-
Wulf Community Admin
-
I'm unfamilar with the .cs file do I just put this in oxide\plugins ?
-
Yes same as luas
-
Wulf Community Admin
-
Feramor updated Poll System with a new update entry:
Updated for Rust server 30/01/2015
-
Hello Folks!
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 -
I'm working on it will be avaible with next update
-
Love the plugin! But you need to add usage display on poll start as users don't know how to vote.
Thanks,
-TheDoc -
Feramor updated Poll System with a new update entry:
Added Language support
-
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 !
-
I also missed the fixed questions.I will release an update soon.
-
Feramor updated Poll System with a new update entry:
Added missing language texts.