TimeWeatherControl
TimeWeatherControl
Version: 1.3.5
Updated for the new version Minecraft! :D
This is Simple plugin that allows you to change the Time and Weather on your server with simple, easy to remember commands! ALL commands are able to be done directly from the Console! No stupid Error's!
This plugin comes with an automatic update checker (Doesn't automatically download the file though). You can Enable/Disable this update checked via the config.yml (Found in the plugins/TimeWeatherControl folder). Just set to CheckForLatestVersion to true/false to suit your needs!
How to Install...
Easy! Just drop the TimeWeatherControl.jar into your Plugins folder and Start the Server! Simple as!
Commands
The commands are very Simple! The [World] is Optional for if you want to set the Time/Weather for a different world to the one you are on.
General Commands:
- /tset [World] [Ticks] - Sets a worlds time through ticks, Example: /tset Earth 0
- /timeweathercontrol - Also Show's Information About this Plugin
- /tweather [true|false] - Enables/Disables Weather changing
- /tthunder [true|false] - Enables/Disables Thunder changing
- /twc - Show's Information About this Plugin
- /twc help - Show's help about this Plugin
Weather Commands:
- /sun [World] [Duration] Makes it Sunny!
- /rain [World] [Duration] Makes it Rain!
- /storm [World] [Duration] Makes it Rain and Thunder!
- /thunder [World] [Duration] Makes it Thunder but not rain!
Time Commands:
Example: /day earth -l ( -l stands for Lock )
- /morning [World] [-l] Makes it Morning!
- /day [World] [-l] Makes it Day Time!
- /midday [World] [-l] Makes it Midday Time!
- /noon [World] [-l] Makes it Noon Time!
- /afternoon [World] [-l] Makes it Afternoon!
- /evening [World] [-l] Makes it Evening!
- /sunset [World] [-l] Makes it Sunset Time!
- /dusk [World] [-l] Makes it Dusk!
- /night [World] [-l] Makes it Night Time!
- /midnight [World] [-l] Makes it Midnight!
- /earlymorning [World] [-l] Makes it Early Morning
- /dawn [World] [-l] Makes it Dawn!
- /sunrise [World] [-l] Makes it Sunrise!
- /time [World] See what the Current Time is!
- /current [World] Also see what the Current Time is!
- /p [morning|day|noon|afternoon|evening|sunset|dusk|night|midnight|earlymorning|dawn|sunrise|reset] - Sets the PLAYER time, /p reset will reset the players time with the worlds time
Permissions
The Permissions for this are very flexible. There are many Permissions ( Don't Worry! ) To allow this plugin to work how you want it to! These are in the Plugin.yml, and here
To Do List:
Add /thunderDONE!
More Time Options (Dusk, Dawn etc)DONE
Add the rest of the Broadcast messages (Done Weather one's)DONE!
Add Time Locking - In version 1.0DONE
- Any Others you may want? Send Below or send a Ticket ( Ticket Checked more )!
Thanks! I know there may be many other Plugins out there that do this, but I am determined to be the best one out there! Also, I know some of these are able to be done from the Default commands so don't bother telling me! Leave your ideas and comments and possible bugs/error's below!
Help
Need any Help? Please either;
- Ask in the comments
- Post a Ticket
- Go on the IRC. You can get to the website from here. and Join channel #Grimlock257
I lock the time to noon in my worlds and the message pops up saying I did but the time still rotates...its soon dark...?
@KingSarkasmus87
Okay, thanks for telling me, will have a little look at this later :)
Hi, it don't works with the latest Bukkit build (3023) with 1.7.2.
[10:24:11 INFO]: [TimeWeatherControl] Enabling TimeWeatherControl v1.3.5
[10:24:11 INFO]: [TWC] Retrieving Commands!
[10:24:11 INFO]: [TWC] Retrieved Commmands!
[10:24:11 INFO]: [TWC] Has successfully Updated the Config!
[10:24:11 ERROR]: Error occurred while enabling TimeWeatherControl v1.3.5 (Is it up to date?) java.lang.IllegalArgumentException: Plugin already initialized! at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:98) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:59) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at me.Grimlock257.TimeWeatherControl.WeatherCommands.WeatherListener.WeatherListener.<init>(WeatherListener.java:8) [?:?] at me.Grimlock257.TimeWeatherControl.TimeWeatherControlMain.onEnable(TimeWeatherControlMain.java:123) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] Caused by: java.lang.IllegalStateException: Initial initialization at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:101) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:59) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at me.Grimlock257.TimeWeatherControl.TimeWeatherControlMain.<init>(TimeWeatherControlMain.java:37) [?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.7.0_15] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [?:1.7.0_15] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.7.0_15] at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [?:1.7.0_15] at java.lang.Class.newInstance0(Class.java:374) [?:1.7.0_15] at java.lang.Class.newInstance(Class.java:327) [?:1.7.0_15] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:52) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:350) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:312) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [server.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks] ... 2 more
@Benie76
What did you type when it said that?
The above says "The [World] is Optional for if you want to set the Time/Weather for a different world to the one you are on.", yet every command I use on my server demands me to have the world name before it'll work, even though it's for the world I'm in.
Using the latest.
@pur3strb1t
I know, Right under the 'To Do List' ;
Thanks! I know there may be many other Plugins out there that do this, but I am determined to be the best one out there! Also, I know some of these are able to be done from the Default commands so don't bother telling me! Leave your ideas and comments and possible bugs/error's below!
So, You should read first, also the other plugin was outdated and didn't work very well. I know there are other plugins of the same type, but I already stated I knew this when I made the plugin.
There's already plugin like this. ._. http://dev.bukkit.org/bukkit-plugins/timeandweathercontrol/
Time seems to continue changing even after locking it at Midnight. Any suggestions?
@Grimlock257
Wicked, thanks =)
@ryvix
Fixed this, Just waiting for the file to be approved! :D
No worky. http://dev.bukkit.org/server-mods/timeweathercontrol/tickets/4-invalid-plugin-exception/
@deleted_9787194
Should be fixed now, Just remember, When setting it to thunder, the actual lightning strikes do still have the random intervals.. theres no way to change it... But should work now!
@ThisUsernameIsMine
Should be fixed now... Just waiting for file to be approved!
@deleted_9787194
Ah, Thanks for the feedback, Im currently updating all my plugins at the moment, As I have said on some other of my plugins. New updates should be out soon!
when i type in /thunder there is no thunder :/ maybe you need to update
@Maluzis
Okay, Will do.. Translations.. I can't :(
Nice plugin! Could you add an option to disable broadcast or option to translate it to diffrent language?
@ThisUsernameIsMine
Ah, yea.. Will fix.. I will see if there are anymore errors before releasing a bug fix, Thanks for the feedback! Much appreciated!
Thanks for the update :)
Unfortunately, changing the time (and perhaps weather) broadcasts the message twice (known issue with older versions i've tried)
@danbovey
Thats already implemented, /p day etc
@Levint7012
You should use Essentials /ptime which allows players to set their own time, keeping everybody else's normal.