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

    Sh4d0w

    the water get into ice blocks...that don't funct.

    ist it a bug?
     
  3. Offline

    xZise

    Hmmm that is strange: Everytime I execute “/wc weather off” (other commands didn't tested yet) it prints “null” in green on the ingame chat.

    Fabian
     
  4. Offline

    AskCharlie

    Is there a way to just always have storms going on your world with this plugin? I tried to jack up the duration of the weather and it sets to like 250 hours, but then after a short time it just stops raining and thundering.
     
  5. Offline

    Thebuilderdd

    Hey, nothing happens when I type anything.
     
  6. Offline

    halvors

    @xZise
    Remember to regenerate the config. It's changed.

    WeatherControl 0.8.4 released.

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

    nordicdust

    Spell it out please i am a noob:eek:

    C:\Users\DAVID\Desktop\ICServer 144>if exist "C:\Program Files (x86)\Java\jre6\b
    in"\java.exe "C:\Program Files (x86)\Java\jre6\bin\"java -Xmx1024M -Xms1024M -ja
    r CraftBukkit860.jar nohud
    148 recipes
    16 achievements
    00:16:02 [INFO] Starting minecraft server version Beta 1.6.6
    00:16:02 [INFO] Loading properties
    00:16:02 [INFO] Starting Minecraft server on 192.168.1.186:25565
    00:16:02 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-
    gb9d0b04-b860jnks (MC: 1.6.6)
    00:16:02 [INFO] ItemCraft 1.4.4
    00:16:02 [INFO] ItemCraft: ICKSlopes 0.1 Loaded.
    00:16:02 [INFO] ItemCraft: ICFancyPack 0.2.5 Loaded.
    00:16:02 [INFO] ItemCraft: ICSGlass 0.1.1 Loaded.
    00:16:02 [INFO] ItemCraft: ICMCreatures 0.1.2 Loaded.
    00:16:02 [INFO] ItemCraft: ICNTrees 0.1.3 Loaded.
    00:16:02 [INFO] ItemCraft: ICMiner 0.2.1 Loaded.
    00:16:02 [INFO] ItemCraft: ICPotioncraft 0.1 Loaded.
    00:16:02 [INFO] ItemCraft: ICHedge 1.501 Loaded.
    00:16:02 [INFO] Preparing level "New World mo creatures2"
    00:16:02 [INFO] Preparing start region for level 0
    00:16:03 [INFO] [CreativeGates v1.1.0] ===== ENABLE START
    00:16:03 [INFO] [CreativeGates v1.1.0] Loading conf.txt ...
    00:16:03 [INFO] [CreativeGates v1.1.0] Wand: Watch
    00:16:03 [INFO] [CreativeGates v1.1.0] Block: Diamond block
    00:16:03 [INFO] [CreativeGates v1.1.0] Permission system not detected, defaultin
    g to OP
    00:16:03 [INFO] [CreativeGates v1.1.0] ===== ENABLE END
    00:16:03 [SEVERE] [WeatherControl] Permissions not detected. Using OP based acce
    ss.
    00:16:03 [INFO] [WeatherControl] version 1.2.0 enabled!
    00:16:03 [INFO] Done (0,070s)! For help, type "help" or "?"
    >

    It seems to be runing.... but nothing hapens...... please help
     
  8. Offline

    halvors

    You either have to configure permissions for your ingame player or op it. Did you do this? For me it seems like you don't have Permissions installed, It's not needed but i'll recommend to do that :)
     
  9. Offline

    nordicdust

    I am "op" so that should be ok...... when i type /weather it says " unknown comand
     
  10. Offline

    halvors

    Do you have Essentials or Permissions installed? OP only work if you don't have Permissions.

    And try /wc instead.
     
  11. Offline

    nordicdust

    I don't have permissions or essentiels and i am op...... have tried wc.....
    Do i have to do something whith the file in plugins/WeatherControl/config.yml ??

    This is what it's like:

    #WeatherControl Configuration

    #Fill this in with lines for the default config file. Make sure to add the newline...
    BlockWeight:
    - 42 3
    - 66 1
    - 27 2
    - 41 2

    #This is the id for the lightnignpick wand. It defaults to 278 (diamond pick). It will fall to default if blank.

    #Set this to the id you want to use.
    WandID: 278


    in the weathercontrol foulder I only have one file... config.yml should there be a world file?
     
  12. Offline

    Wheelchairman

    its working fine and we can use it but idk how to change the config files? will that be a problem if its working fine?
     
  13. Offline

    halvors

    Last edited by a moderator: May 14, 2016
  14. Offline

    Wheelchairman

    hey, i turned my config files for tnt explosions with lightning from false to true and it doesnt do explosions with the wand or manually striking something. also animals and other players dont take damage from a lightning strike that comes from the wand. any help would be great
     
  15. Offline

    nordicdust

  16. Offline

    halvors

    I don't know if ItemCraft is supported. But for me it seems like you're running the other WeatherControl plugin that's not mine. But that who took the name from me. Try download this again.
     
  17. Offline

    nordicdust

    I deleted the weather plugin i had and installed yours.... but there is no change???
    Do I have to do something with the config.yml ?
     
  18. Offline

    xZise

    There is no WeatherControl version 1.2 supported by halvors ;) So if nothing change you still have the wrong plugin. Check if there is something like this:
    Code:
    00:08:22 [INFO] [WeatherControl] Loaded configuration for world 'world'
    00:08:22 [INFO] [WeatherControl] Loaded configuration for world 'portal'
    00:08:22 [INFO] [WeatherControl] Loaded configuration for world 'nether'
    00:08:22 [INFO] [WeatherControl] version 0.8.4 is enabled!
    Actually I see I could update to version 0.9.

    [update]Okay version 0.9 doesn't seem to working in my (928) Server:
    Code:
    12:30:29 [SCHWERWIEGEND] Could not load 'plugins/WeatherControl.jar' in folder 'plugins':
    java.lang.ClassNotFoundException: com.halvors.WeatherControl.WeatherControl
            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:247)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:362)
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:296)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    [/update]

    Fabian
     
  19. Offline

    nordicdust

    My bad, it was the wrong one, i got the right one but bukkit can not load it:(
    maybe it dosen't support bukkit 860
     
  20. Offline

    halvors

    Fixed. Forgot to change the main: option in plugin.yml. lol :D
     
  21. Offline

    Wheelchairman

    hey, i turned my config files for tnt explosions with lightning from false to true and it doesnt do explosions with the wand or manually striking something. any suggestions?
     
  22. Offline

    xZise

    Post the startup log please.

    @halvors Any change which is important? Afaik, from 860 to 928 there were no breakages according to weather? And I'm using 928 at the moment with 0.8.4.

    Fabian
     
  23. Offline

    halvors

    @xZise
    0.9 is just compiled for CraftBukkit 928. No important changes.
     
  24. Offline

    nordicdust

    21:38:22 [INFO] Starting minecraft server version Beta 1.6.6
    21:38:22 [INFO] Loading properties
    21:38:22 [INFO] Starting Minecraft server on 192.168.1.186:25565
    21:38:22 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-
    gb9d0b04-b860jnks (MC: 1.6.6)
    21:38:22 [INFO] ItemCraft 1.4.4
    21:38:22 [INFO] ItemCraft: ICKSlopes 0.1 Loaded.
    21:38:22 [INFO] ItemCraft: ICFancyPack 0.2.5 Loaded.
    21:38:22 [INFO] ItemCraft: ICSGlass 0.1.1 Loaded.
    21:38:22 [INFO] ItemCraft: ICMCreatures 0.1.2 Loaded.
    21:38:22 [INFO] ItemCraft: ICNTrees 0.1.3 Loaded.
    21:38:22 [INFO] ItemCraft: ICMiner 0.2.1 Loaded.
    21:38:22 [INFO] ItemCraft: ICPotioncraft 0.1 Loaded.
    21:38:22 [INFO] ItemCraft: ICHedge 1.501 Loaded.
    21:38:22 [INFO] Preparing level "New World mo creatures2"
    21:38:22 [INFO] Preparing start region for level 0
    21:38:23 [SEVERE] Could not load 'plugins\WeatherControl.jar' in folder 'plugins
    ':
    java.lang.ClassNotFoundException: com.halvors.WeatherControl.WeatherControl
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:167)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:235)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:222)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:286)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    21:38:23 [INFO] [CreativeGates v1.1.0] ===== ENABLE START
    21:38:23 [INFO] [CreativeGates v1.1.0] Loading conf.txt ...
    21:38:23 [INFO] [CreativeGates v1.1.0] Wand: Watch
    21:38:23 [INFO] [CreativeGates v1.1.0] Block: Diamond block
    21:38:23 [INFO] [CreativeGates v1.1.0] Permission system not detected, defaultin
    g to OP
    21:38:23 [INFO] [CreativeGates v1.1.0] ===== ENABLE END
    21:38:23 [INFO] [PlugMan] Starting Up! - Version: 1.3 by bekvon
    21:38:23 [INFO] [PlugMan] Permissions Plugin NOT Found, using OP!
    21:38:23 [INFO] [StyxSpace] Permission system not detected, defaulting to OP
    21:38:23 [INFO] [StyxSpace] Enabled version 0.5
    21:38:23 [INFO] Done (0,127s)! For help, type "help" or "?"
    >

    Hmmmmmmmm.........what am i duing wrong:oops:
     
  25. Offline

    halvors

    Redownload, i've fixed the issue.
     
  26. Offline

    nordicdust

    Thanks:D that did it....
    Somebody will be stroke by lightning tomorrow :cool:

    cool plugin by the way....... thanks
     
  27. Offline

    halvors

  28. Offline

    disturbed13

    does anyone know if this mod will work with 935?
    im looking to change server programs and i found bukkit, then found alot of cool mods for it and was wondering if anyone knew if there was compatibility or not?
    thanks
     
  29. Offline

    halvors

    Should work with 935, just some minor changes with a item duping bug.
     
  30. Offline

    Deleted user

    Lovely plugin.
    Flawless.

    I quite like when it rains in MC so this is nice.

    Maybe make a way to set it so that the thunder/ rain never stops until an admin does or the server is restarted.
    Of course, you could just put a crazy high amount of time in the duration if that'd work well.
     
  31. Offline

    halvors

    Possibly :)
     

Share This Page