TimeAndWeatherControl
TimeAndWeatherControl v0.5 - Multi-World Compatible Control and Vote System
Optional additional plugins:
Permissions
Features:
TimeAndWeatherControl is a Multi-World Time and Weather Control System. It also supports changing Time and Weather from the Console.
Optional additional plugins:
Permissions
Features:
- Permissions Support!
- If permissions is not used, the vote commands will be open to anybody, the set commands will default to OP only
- Set the time in your current or any other world (ingame or via console!)
- Set the weather in your current or any other world (ingame or via console!)
- Start a timevote to change the time in your current world
- Start a weathervote to change the weather in your current world
- Configurable percentage for the number of people needed for a vote to succeed
- ALL(!) messages displayed to the users are configurable supporting:
- Multiline messages
- Colored messages
- /timeset [time] [world]
- /tset [time] [world]
- Set the time in the world [world] to [time]
Applicable [time] values: dusk, day, dawn, night - If no [world] specified it will default to your current world
- Command can be used from the Console too! (but then [world] must be specified!)
- Set the time in the world [world] to [time]
- /weatherset [time] [world]
- /wset [weather] [world]
- Set the weather in the world [world] to [weather]
Applicable [weather] values: sun, rain, thunder, storm - If no [world] specified it will default to your current world
- Command can be used from the Console too! (but then [world] must be specified!)
- Set the weather in the world [world] to [weather]
- /timevote [time]
- /tvote [time]
- Start a vote to change the time in your current world to [time]
Applicable [time] values: dusk, day, dawn, night
- Use yes as [time] value to accept a vote
- Start a vote to change the time in your current world to [time]
- /weathervote [weather]
- /wvote [weather]
- Start a vote to change the weather in your current world to [weather]
Applicable [weather] values: sun, rain, thunder, storm - Use yes as [weather] value to accept a vote Permissions:
- /timeset or /tset:
twc.timeset - /weatherset or /wset
twc.weatherset - /timevote or /tvote
twc.timevote - /weathervote or /wvote
twc.weathervote
Plugin setup:
Just copy the TimeAndWeatherControl.jar file into your Plugins folder. Upon first startup it will create a folder "TimeAndWeatherControl" containing the default config file (all messages in english) in which you can do all further configurations. The default config file is commented and should be pretty self-explanatory
I've also posted the links to ZIP-Archives including the Plugin and the Config-file (english, german one coming soon!).
Downloads and Links:
Direct Download (JAR) (Mirrors: Dropbox)
Direct Download (ZIP file with Config - English) (Mirrors: Dropbox)
Direct Download (ZIP file with Config - German) (Coming Soon!)
You like my plugins? Please consider donating a little bit. Thanks!
- Start a vote to change the weather in your current world to [weather]
Just saying, line 545, you need to use sendRawMessage on players and sendMessage on the console. Also, you need to filter out with the regex &. (or maybe \&.) for the console, so the console doesn't receive the color stuff.
@GoldBattle
I'll keep maintaining it as long as I keep playing. :D Im an addict...
@cnaude
Man you are the beast!!!! Thanks SOOOO much!
@cnaude
wow thanks. works good. sad that users have to update mods before their devs do. :D thanks again
@cnaude
Thanks for the fix! I was having trouble with /tset and /wset saying I didn't have permission while /tvote and /wvote worked when I clearly had permission. Your update fixed the problem. With any luck, now it won't always say there's only one person online and no vote is needed! Excellent work!
I fixed this to work on my 1.2.3 server. If anyone else wants to use my version until the official is release available you can download it from here. It uses the new config method and superperms.
Works on 1.2.3, but i get this error:
EDIT: And doesn't want to make the weather sunny...
@bassfader
thanks much buddy. awesome mod btw. still works okay :D
but being able to actually read it will help alot :D
@DjBuRnOuTQc @muggerfugger
The error on startup is most likely related to TWC using some methods which have been removed in 1.2.3.
I am going to look into that. This maybe also the cause for the chat colors not showing up properly but I'll have to investigate that further.
Keeping you all up to date here ;)
@muggerfugger
I have the latest version of bPermissions and it's doing the same thing as you,
I get this error on startup : 2012-03-06 05:30:00 [INFO] [TimeAndWeatherControl] Enabling TimeAndWeatherControl v0.5 2012-03-06 05:30:00 [SEVERE] Error occurred while enabling TimeAndWeatherControl v0.5 (Is it up to date?) java.lang.NoSuchMethodError: etc...................
Everythings seems to work fine except that colors are fucked up.
@DjBuRnOuTQc
What permission mod do you use? this works perfect me using the latest permissionsex for 1.2.3
but i am having one problem. it doesnt seem to wanna render the colors in chat, so its hard to read. example:
alll my other mods are able to render colors fine.
Make it compatible with latest build and with newest permissions! Thanks a lot, I'll send you a donation today to help you to keep this plugin up!
@Tizen
Is allready planned. Permissions Support will be dropped in the next version in favour of "SuperPerms".
Please make this compatible with PermissionsBukkit!