RealWeather
RealWeather
RealWeather
Spigot support 1.10.2!!!
This plugin makes game more dangerous than before. It extends weather and its effects. Everything is based on temperature which is calculated via many functions. It also checks where the player is. Lot of variables are configurable (damage, dealays between damages, armors, etc.).
How does it work:
Plugin can be divided into few parts.
- Weather - There is specific weather for every day and can be completely configured to fit your needs. RWEditor is really useful in this. Weather affects temperature in world, causes rain and storm in specific weather. (Ex: STORM, SUMMERSTORM, ...). Example of what may happen: It is BLIZZARD. Temperatures are really low and on ice mountains, as well as othere icy areas, it can be dangerous without winter clothes.
- Temperature - There is really complex algorithm that calculates temperature for each player on the server. Effects can be disabled via permissions. Temperature depends on: biome you are in, time (night - cold, day - warm), height from sealevel (up = cold), current weather, heat sources around player and in hand. Practically everything mentioned here can be configured. Then it decide what to do next. If it is cold it checks players equipment and decide if he has to receive damage or not. If temperature is high you start being exhausted, clothes can reduce effect as well. You can replenish stamina in water, but only in high temperature. You can also drink pure water from bottle.
- Thirst - It is simple, you lose your stamina faster.
- Jungle - I love this one. Traveling in jungle was really boring. But what if you get poisoned? Poison as "poison" is quite rare (5%). Other effects: blindness, confusion, slow, weakness. The base of this function is in tall grass around. Without it, it does nothing.
If something doesn't work: Make a ticket, this will help to fix it. Or do you want me to see the bug? PM me.
Built for Java 8
Current Update status(1.10.2 for 1.10.2):
| Overall status | 85% | |
|---|---|---|
| New version update | 80% | |
| Testing if I broke sth | 60% |
Version: 1.10.2
Current compatibility: 1.10.2 - Java 8
Wiki: Link. Here you can find Installation and configuration - WIP and VERY outdated
Auto error reporting
- Can be disabled in config.yml.
- Also you can set your name there. When I finish website app you can track your error. Errors with name will have first priority.
- Only 1 can be send every 5 minutes, so it will not overload my web :D
- Gathered info: Security code(from error website. it is like weak antispam), plugin version, plugins list, craftbukkit version, your name(only if set) and error. IP is NOT gatheret, so I can't tell you if you error is fixed if you don't set your name in config.
New in 1.6.4: "Modules" update...
- Fix: Updated for new MC version (1.6.4-R0.1).
- Add: Modules. Everything is now in modules.
- Add: Player slow can be disabled.
- Add: Bed heat up.
- Add: Error reporting
- Add: Command /rwadmin walk <name> - resets player walk speed to default.
- Info: RealWeatherHUD will be available with MCP 1.6.4 release!
- Info: IceBlock DELETED, really!
- Info/Fix: UTF8 localization is working ONLY in modules, core is not supporting UTF8 yet!
Important: Localization file is reseted after version update and old one is saved in plugin's folder.
| Name | Speed | Quality | Description |
|---|---|---|---|
| simple | fastest | - | checks only block above you, used by default in desert |
| default | slow | bad | checks square with you in center and side((CheckRadius*2)+1) |
| cross | fast | good | At first checks four directions(North etc.) in heigh of eyes then aquired rectangle with maximal side lenght((CheckRadius*2)+1) |
| smart | slow/fast | great | uses fill algorithm |
Available languages
| Language | Token |
|---|---|
| English | eng |
| German | ger |
| Czech | cze |
| Spanish | esp |
| Polish | pl |
To Do
- Spring, Winter, ... (Seasons)
- Improve thirst. Make it independent from hunger.
- Improve house recognizer ("smart")
Known bugs
- System can't recognize if you are in a house and CheckRadius reaches outside where is no roof -> It thinks that you are outside. -> Partialy fixed in "cross": Still missing system for "L"-shaped buildings. I have algorithm written on the paper so now only transport it into plugin.
-
View User Profile
-
Send Message
Posted Sep 2, 2013@CommodoreAlpha
hehehe, I am working on really huge update. Module system and custom modules. It is almost finished for internal use...for external it will take more time, but it is closer and closer. I think more biomes will end in more confusion. We will see...
-
View User Profile
-
Send Message
Posted Sep 2, 2013Mojang is planning to add a lot of biomes in 1.7. Hope you're prepared. ;)
-
View User Profile
-
Send Message
Posted Aug 28, 2013@t1324567
currently not...added to TODO list.
EDIT: Omg :D go to config.yml and find BroadcastForecast
-
View User Profile
-
Send Message
Posted Aug 23, 2013Is there any way to disable the forecast?
-
View User Profile
-
Send Message
Posted Aug 15, 2013@poncjusz
under sea level temperature is more stable - around 10 I think - if you are right under sea level (few blocks) temperature begins more like on the surface, so if on the surface is -50, underground is 5 , ( +50 -> 15), this is just example, real temperature may vary a bit. And finally what are you asking for...there is smooth borderline between surface temperature and underground temperature.
And last thing that may confuse you is sunlight underground. If there is sunlight, it behaves just like on the surface...it should behave.
The best way to fix this...if it is bug...or adjust it... is to see this behaviour by myself. If you want to help - PM me.
-
View User Profile
-
Send Message
Posted Aug 15, 2013It is -15 degrees, I stand without clothes in a small niche of rock, a little below sea level. HP does not drop. Why? blocks above I get injured. It does not make sense.
-
View User Profile
-
Send Message
Posted Aug 13, 2013@TheCreezo
Yeah! If you have a test version, I would try it for you! ;)
-
View User Profile
-
Send Message
Posted Aug 13, 2013@Q2Lummox
Thanks for this explanation. I released it because I had only one day for it before holidays. So it is beta = buggy in some way. I will check this at the moment.
EDIT: hahahaha found the bug. Instead of this { { ... ... } } I made this { ... } { ... } fix asap, but I am not sure with release.
-
View User Profile
-
Send Message
Posted Aug 13, 2013@TheCreezo
I do not remember that I had on hand, but I think this error happens since I disable the "stamina" and thirst, in the file "global.yml" and the "exhausting.yml".
I will restart the default settings​​, turn off again everything about the "stamine" and "exhausting" to see if it works well.
EDIT: I resetted to default values​​. I changed this to "global.yml":
And this in exhausting.yml:
And every time I right click with something in the hand, it gives me this error:
2013-08-13 09:34:43 [SEVERE] Could not pass event PlayerInteractEvent to RealWeather v1.6.2 beta
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:209)
at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:179)
at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:608)
at net.minecraft.server.v1_6_R2.Packet15Place.handle(SourceFile:58)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230)
at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116)
at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NullPointerException
at org.creezo.realweather.PlayerInteract.onPlayerInteract(PlayerInteract.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 17 more
PD: This will also change it in "freezing.yml":
-
View User Profile
-
Send Message
Posted Aug 12, 2013Ok guys, I am back from holidays. Just came about hour ago.
@Q2Lummox
There is some NPE error with item in hand. What did you have in hand? It may be error which is not error. And it also can be problem with configuration, especially with energy replenishment, but I think it is not this one. And...was it there more times or just once? I am not sure but severe server lag can cause weird things to happen.
-
View User Profile
-
Send Message
Posted Aug 5, 2013Wath type of error is this?:
2013-08-06 02:39:51 [SEVERE] Could not pass event PlayerInteractEvent to RealWeather v1.6.2 beta
org.bukkit.event.EventException
> at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
> at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
> at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
> at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
> at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
> at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:209)
> at net.minecraft.server.v1_6_R2.PlayerInteractManager.dig(PlayerInteractManager.java:108)
> at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:538)
> at net.minecraft.server.v1_6_R2.Packet14BlockDig.handle(SourceFile:46)
> at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230)
> at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116)
> at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
> at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125)
> at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592)
> at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239)
> at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481)
> at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413)
> at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NullPointerException
> at org.creezo.realweather.PlayerInteract.onPlayerInteract(PlayerInteract.java:49)
> at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
> ... 17 more
-
View User Profile
-
Send Message
Posted Aug 5, 2013pls a video :)
i need a realtime plugin that are the day and night going 24h
-
View User Profile
-
Send Message
Posted Aug 5, 2013@TheCreezo
No ice, just taiga...snow and tall trees, next to a beach and ocean.
-
View User Profile
-
Send Message
Posted Aug 2, 2013this looks fantastic. :D it will be good for my server...
-
View User Profile
-
Send Message
Posted Aug 2, 2013@Zutiiq
wow -112 :D. What about environment around? Ice around?
-
View User Profile
-
Send Message
Posted Aug 2, 2013Ah lovely, thank you for the update =D Though I had a curious..view in the taiga biome lol, at one point, it went as low as...-112C, that's very...cold haha, is there some way to change that? I tried to alter the global.yml but it's still quite chilly.
-
View User Profile
-
Send Message
Posted Aug 2, 2013OK I decided to release 1.6.2 version as beta without enough testing. It should work well, but without any guarantee. Only change from 1.2.4 is IceBlock remove.
-
View User Profile
-
Send Message
Posted Aug 1, 2013@j159963321
nah, don't even ask. I feel bad when I realize that it is maybe 1% to release.
-
View User Profile
-
Send Message
Posted Jul 29, 2013What kind of house Simple, default, cross or smart :)
-
View User Profile
-
Send Message
Posted Jul 28, 2013And now it is even more days. Sorry guys, there is no other way, i must finish work on my house, real house.