SetSunny
SetSunny
Reasons to use
I just made this plugin to use on my own private server, because the rain made me lag (I run my server on my laptop).
With this plugin, you can just change the weather to sunny (or rainy), it's as simple as that.
Usage
For information, go to:
THE SIMPLEST VERSION
- http://dev.bukkit.org/server-mods/setsunny/pages/simple-set-sunny/
THE ADVANCED VERSION
- http://dev.bukkit.org/server-mods/setsunny/pages/set-sunny-advanced/
To do
- Add commands for weather change (storm, rain, etc.) ADDED
- Next update will contain source, cuz I like to learn from others, so why couldn't other people learn from me? ADDED
- Remove the console error SOLVED
- Add a [world] parameter ADDED
- Add a weather length parameter ADDED
- Make the commands runnable from the console. ADDED
- Get the default weather duration from a configuration file. ADDED
- Any suggestions?
Changelog
- v3.1 : Minor bug fix.
- v3.0 : Added config.yml with default duration for weather.
- v2.0 : Advanced version release.
- v1.0 : RELEASE AS ALMOST ALL "TO DO'S" HAVE BEEN ADDED
- v0.4 : Complete rewrite of the code. Now has a world parameter.
- v0.3 (console fix) : You now get a message saying u can't use the command in console, and not that huge error.
- v0.3 : Added the source to the SetSunny.jar + Uploaded the source to GitHub + Added something else I don't remember
- v0.2 : Added two new commands, /setstormy and /setrainy
- v0.1 (fix) : Repaired a stupid mistake
- v0.1 : Release
Thanks to
- nisovin for helping me out with a problem :p
- kumpelblase2 for solving the console error thingy
- Njolbrim for helping with the arguments
- Giinger for helping with the length parameter
The Source Code
https://github.com/colony88/SetSunny (will contain both the simple source code and the complex)
@Grimlock257
I'll fix it right away, thanks for the report :)
v3.0 is being approved.
Changes:
And you can control whether you want thunder or not + you can control how long the weather goes on.
@smbarbour
I wasn't aware of this command, thank you for informing me! You can still think of this plugin as an easier way to change the weather then.
Actually, there is a command in vanilla (and bukkit) that will change the weather, "/toggledownfall"
@Pr07o7yp3
There are some servers that want few plugins and instead of having a giant plugin for essentials or commandbook to change the weather that default minecraft doesn't provide, you have this as an option.
Can't understand. Every server use Essentials or CommandBook. They has coomands for the weather. Why this plugin exists?
I just completely rewrote the code on my own... It now has 4 classes handling the commands. It's easier to read now, so I'll get it on GitHub soon. I guess this will be the final version, because you can now even run the commands from the console.
Version 1.0 is out people !!
@HON95
Yah but if I would make the command "/w sun [world] [length]" , the command would get rather long.
@colony88
You could make the command weather, aliased w, and add sun/sunny, rain/rainy and storm/stormy as arguments. And add the logo to the actual page, lol.
And I meant the 'toggledownfall' command when i said it was really long to type out and didn't really have any useful features. Sorry if I was unclear.
@HON95
Maybe I should then shorten the commands to "/sunny" or maybe even just "/sun"?
@colony88
Yeah, a logo or something. And by "really long to type out" I mean that 'toggledownfall' really long and annoying to type in the chat.
@HON95
Ehm I was going to work on the length thingy the coming holiday, but a picture? You mean like a logo or something? And lastly: thanks :D and what do you mean with the "really long to type out"?
Neat plugin :) Although, if you didn't know, Bukkit (possible vanilla too, dunno) has a command labeled toggledownfall. But it is really long to type out and don't really have any useful features... I would suggest a parameter for how long it should rain/storm/be sunny. And add a picture to this page :P