Inactive [FUN/ADMIN] WeatherControl v1.0 - Control the weather, or/and disable it [1337]

Discussion in 'Inactive/Unsupported Plugins' started by halvors, Apr 21, 2011.

  1. Offline

    halvors

    WeatherControl
    Version: 1.0

    License: GPLv3

    WeatherControl allows you to control the weather/thunder. You can also disable weather, thunder, lightningstrike, creeper power, pig zap, thunder fire or/and damage. Make lightning strike cause tnt-like explosions. Set weather interval. Configurable on a per-world basis.

    YouTube video by Taintedfilmz:


    Download
    Source Code

    IMPORTANT: You'll have to delete the configuration files and let WeatherControl regenerate it, or update it manually. This is because of changes, if you not do this, you may get a lot of issues.

    Features:
    • Control the weather/thunder.
    • Make lightning strike cause explosions.
    • Interval support.
    • Disable weather, thunder, lightningstrike, creeper power, pig zap, thunder fire or/and damage.
    • Configurable on a per-world basis.
    • Lightning wand, strike players, creepers or pigs.
    • Customizable messages.
    • Multiworld support.
    Usage:
    • Lightning wand item is lightstonedust (348).
    Install:
    1. Copy the WeatherControl.jar file into your plugins folder.
    2. Restart/reload server.
    3. If you want to, edit the config.yml file in plugins/WeatherControl and the world configuration files in the worlds folder.
    Commands:
    Show Spoiler

    /weather help - Show help.
    /weather status - Show weather status.
    /weather weather <on|off> <duration> - Show or toogle weather.
    /weather thunder <on|off> <duration> - Show or toogle thunder.
    /weather clear - Toogle clear.
    /weather strike <player> - Lightning strike you or/and other players.
    /weather strikemob [creeper|pig] <distance> - Lightning strike mob.
    /weather strikepos [x] [y] [z] - Lightning strike a specific position.
    /weather wand <count> - Get wand item or set count.

    Permissions nodes:
    Show Spoiler

    weathercontrol.* - Give you access to anything.
    weathercontrol.help - Show help.
    weathercontrol.status - Show weather status.
    weathercontrol.weather - Show or toogle weather.
    weathercontrol.thunder - Show or toogle thunder.
    weathercontrol.clear - Toogle clear.
    weathercontrol.strike - Lightning strike you or/and other players.
    weathercontrol.strikemob - Lightning strike mob.
    weathercontrol.strikepos - Lightning strike a specific position.
    weathercontrol.wand - Access to use wand.

    Changelog:
    Version 1.0
    • Compatible with CraftBukkit 1185.
    • Added ability to turn off interval messages.
    Version 0.9
    • Compatible with CraftBukkit 928.
    Version 0.8.4
    • Compatible with CraftBukkit 860.
    • Compatible with Permission 3.x.
    Show Spoiler

    Version 0.8.3
    • Compatible with CraftBukkit 818.
    • Fixed the bug that when load, it return null.
    • Added customizable messages (Can be used to add custom locales).
    Version 0.8.2
    • Added max wand count for prevent lag.
    • Possibly fixed errors in console.
    Version 0.8.1
    • Compatible with CraftBukkit 803.
    • Fixed grammar.
    Version 0.8
    • Added interval support.
    Version 0.7
    • Compatible with CraftBukkit 798.
    • Fixed disableSnowForm.
    • Added option to enable explosions on lightning strike, this is set in config file.
    • Weather does not disable when it's turned on.
    Version 0.6
    • Compatible with CraftBukkit 766.
    • Added function for set wand count by the wand command.
    • Right click now replaced with lightningStrikeEffect.
    • Added time formats.
    • Added status command.
    Version 0.5
    • Fixed bug reported by sausje.
    Version 0.4.9
    • Fixed bug with strike command.
    Version 0.4.8
    • Bugfix.
    Version 0.4.7
    • Bugfix.
    Version o.4.6
    • Fixed bug with wand (Reported by RobotGymnast).
    • Fixed big with strike command (Reported by Gimalo).
    Version 0.4.5
    • Fixed bug with wand (Reported by redsgreens).
    • Fixed bug with strike command.
    • Renamed lightning command to strikepos.
    • Added strikemob command and moved strike pig and creeper functionality to here.
    • Improved the alias weather.
    Version 0.4.4
    • Compatible with CraftBukkit 740.
    Version 0.4.3
    • Fixed invalid configuration file.
    • Added support for prevent lightning to cause mob and player damage, this is set in configuration file.
    Version 0.4.2
    • Fixed grammer reported by Azelote.
    • Added lightning command for lightningstrike a specific position (Command for wand), request by rockNme2349.
    Version 0.4.1
    • Added /weather alias.
    • Added pig and creepr support to /strike.
    • Added multiplie lightningstrikes to wand on right click, amount can be set in configuration file.
    • Now show help on if command is unknown.
    Version 0.4
    • Improved weather and thunder commands.
    • Added /wand command.
    Version 0.3
    • Compatible with Craftbukkit #733.
    • Added option for disable weather, thunder, lightningstrike, creeper power or pig zap.
    Version 0.2
    • Added lightning fire and damage protection.
    • Multiworld support.
    Version 0.1
    • Initital release.
     
    Bjourk and XDTobi like this.
  2. Offline

    TheTallest

    The plugin works with 953 ( mc 1.7.2 ) but when I go to enable weather I get An internal error occurred while attempting to perform this command and no errors in the console log at all. Is anyone else seeing this in 953 and I am also getting the green null message when starting the weather.

    EDIT: Sorry CB 953
    Weather .9
    EDIT2
    Oops I was wrong there an error message but I had another plugin that was spamming the hell out of my console I missed it here it is

    Code:
    14:05:38 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'wc' in plugin WeatherControl v0.9
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at com.halvors.weathercontrol.commands.WeatherControlCommandExecutor.onCommand(WeatherControlCommandExecutor.java:114)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
    EDIT3 : I think I have figured it out General 3.4.5 has Weather built into it so I think that is where the confusion is coming in at. Just a hint I hope of where to look
     
  3. Offline

    quickclay

  4. Offline

    halvors

    I know. He stole my name :(
     
  5. Offline

    quickclay

    Lame! I'll bug him about it. heh
     
  6. Offline

    Exidous

    updates?
     
  7. Offline

    halvors

    For what?
     
  8. Offline

    Taintedfilmz

  9. Offline

    halvors

    Thanks :D

    It's posted in this thread now :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  10. Offline

    Taintedfilmz

    No problem! and if ever need an updated video just let me know ^.^
     
  11. Offline

    halvors

    I will do :)
     
  12. Offline

    xZise

    Hmmm it seems that it doesn't work on 1038:
    Code:
    15:22:47 [SCHWERWIEGEND] Error occurred while enabling WeatherControl v0.9 (Is it up to date?): SNOW_FORM
    java.lang.NoSuchFieldError: SNOW_FORM
            at com.halvors.weathercontrol.WeatherControl.onEnable(WeatherControl.java:97)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    And I had a thunderstorm on a world where I disabled it :(

    Fabian
     
  13. Offline

    halvors

    Seems like SNOW_FORM is outdated.
     
  14. Offline

    Firestar101779

    This may be a dumb question, but is there a command to get rid of the wand? Throwing it into the fire generated by the lightning doesn't work.
     
  15. Offline

    xZise

    Could you please update it? I know it isn't a recommended build, but at some time there will be a recommended build, where it don't work.
     
  16. Offline

    Elizacat

    I would have udpated this myself a while ago but I'm waiting for @halvors to push two files he neglected *nagnagnagnag* ( :p ) that are needed to build.

    EDIT: fix emoticon
     
  17. Offline

    mooman219

    I have been waiting for ever on the next version. The plugin is still semi functional Though, it gets the job done :D, I will not choose any other weather plugin over it (Unless it all out fails).
     
  18. Offline

    Elizacat

    Echoing this resentment, seriously. I don't want to fork, I want to cooperate, but until he pushes two files, I can't give him the fix. =p
     
  19. Offline

    mooman219

    1060 Bukkit build, SNOW_FORM breaks. Badly. I am moving on to a different weather plugin that works now, sorry but it has to many issues now. I'll keep this bookmarked for the future
     
  20. Offline

    Elizacat

    In lack of cooperation and updates for two RB's I think I will fork the plugin from an earlier version until @halvors returns.

    EDIT: change version to RB to clarify what I mean.
     
    Malific likes this.
  21. Offline

    xZise

    Actually only the 1060 is the first RB which isn't supported. RB 1000 is working.

    But please update :( I don't want that a lightning strike to burn down our parliament.

    Fabian
     
  22. Offline

    quickclay

    Snow_Form event initialization error on startup. Sorry no time to post full error.
     
  23. Offline

    xZise

    @quickclay: Let me guess:
    Fabian
     
  24. Offline

    Lupo cani

    Will this get updated? I really need this plugin on my server!
     
  25. Offline

    disturbed13

    i have an issue
    every time i try to use the plugin i get a null response
    so whats the deal?
    i cant make it rain when i need it and i havent been able to stop the rain
    could this be the result of not putting the permissions in?
    and how do i put the permissions in?
    should i try to open the file with notepad++ ? and then save it as the .yml again?
    thanks for any help
     
  26. Offline

    Slyvr

    Can you add region specific weather control? Such as only lightning in a specific worldguarded area?
     
  27. Offline

    disturbed13

    is there any support for this mod at all?
     
  28. Offline

    Thyr

    is there a support for the new version? Or can somebody recommend any other Plugin for this?
     
  29. Offline

    Lupo cani

    This is outdated with TWO updates now.
    This is a great plugin, so I think that many servers need it.
    So update it, or at least tell us you are working on it. Otherwise, give a clear message that the development is shut down or paused, and that owners should start searching for another weathercontrolplugin.

    I get the same issue, but I am sure this is because the plugin is outdated, (since it began exactly when I updated) and not a result of anything permissions-related.
     
  30. Offline

    disturbed13

    im glad im not the only one
     
  31. Offline

    Masterflapdrol

    Crappy not for bukkit build 1.8... godemm i used this for years
     

Share This Page