![]() |
Rainy (r1028) - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html) +---- Forum: Archived Plugins (https://forum.cuberite.org/forum-18.html) +---- Thread: Rainy (r1028) (/thread-463.html) Pages:
1
2
|
Rainy (r1028) - Taugeshtu - 06-05-2012 How to use:
Features: Web panel with easy world selection, time switching and weather setting; /weather [Sun/Rain] command (under Rainy.weather permission). That's it. RE: Rainy - NiLSPACE - 06-05-2012 thank you ![]() RE: Rainy - cedeel - 06-05-2012 I'm actually looking into the weather. The chances of a thunderstorm are just abnormally high, and once it's begun it seems to never stop. RE: Rainy - xoft - 06-05-2012 I think the weather should be reworked into a simple system: 1, The weather starts at sunny 2, A random interval is chosen for which the weather stays the same. Interval length is proportionate to weather type (sunny has the longest interval, rainy medium short and thunderstorm short) 3, After the interval has elapsed, choose a new weather and interval. This would even be less stressful for the server, since it won't have to check a random value every tick ![]() RE: Rainy - NiLSPACE - 06-05-2012 i was trying before you uploaded this plugin to make my own weather plugin ![]() ![]() RE: Rainy - distroyed123 - 06-06-2012 (06-05-2012, 11:38 PM)STR_Warrior Wrote: i was trying before you uploaded this plugin to make my own weather plugin dont use string.upper and there is a fiew plugin managers you dont need in there, E_PLUGIN_PLAYER_MOVE, E_PLUGIN_PLAYER_JOIN, DIG, PLACE, and LOGIN are not needed. RE: Rainy - cedeel - 06-08-2012 (06-05-2012, 04:43 PM)xoft Wrote: I think the weather should be reworked into a simple system: What you are proposing sounds like a great idea. I had a look at the craftbukkit source code, and it seems that they're basically doing that. Maybe we should model the durations after them? RE: Rainy - xoft - 06-08-2012 If they're using a similar method, why not. I'm pretty sure they have fine-tuned the parameters by now, so it would mean we could have fine-tuned parameters, too ![]() Also, this algorithm supports changing the weather via a plugin quite easy - just call the same piece of code. RE: Rainy (rev. 787 compatible) - Taugeshtu - 08-25-2012 Updated for compatibility with rev. 787 RE: Rainy (rev. 787 compatible) - NiLSPACE - 02-09-2013 fix to make it work with the latest version of MCServer PluginManager = cRoot:Get():GetPluginManager() PluginManager:BindCommand("/weather", "Rainy.weather", HandleWeatherCommand, " - [Sun/Rain] - Sets the weather"); |