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

    halvors

    Sure you're looking in plugins/WeatherControl/worlds/world.yml and not config.yml?
     
  3. Offline

    White Sheep


    Yes i am looking there, the config.yml is empty for me
     
  4. Offline

    halvors

    You should look in the worlds/world.yml or whatever your worlds name is :)
     
  5. Offline

    Kartus

    yes, that's right. i would really apreciate it.
     
  6. Offline

    halvors

    Will look into it when i get some free time, right now i am some busy ;)
     
  7. Offline

    Kartus

    thank you very much ;)
     
  8. Offline

    Nima304

    I'd love a feature where you could toggle rain or thunder, then leave it on until you toggle it back. I'm trying to make it rain for 48 hours (don't ask me why), but the rain goes away every 20 minutes or so.
     
  9. Offline

    cris kevin

    Hi i have a problem and i need some help
    I dont have permissions. I have essentials but i don't know if that help's me
    Here is the error i ge:

    00:26:16 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-681-
    g0f8abd2-b709jnks (MC: 1.5_02)
    00:26:16 [INFO] Preparing level "world6"
    00:26:16 [INFO] Preparing start region
    00:26:17 [SEVERE] Could not load 'plugins\WeatherControl.jar' in folder 'plugins
     
  10. Offline

    halvors

    The problem is that you're running CraftBukkit 709, it's old, download the latest (766).
     
  11. Offline

    fragger505

    Will this be updated to build 766?
     
  12. Offline

    halvors

    Sure, working on WeatherControl 0.6, but 0.5 work great with 766.

    WeatherControl 0.6 released.

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

    xZise

    I getting always “Error: Wand not set in configuration file!”.

    Fabian
     
  14. Offline

    Mighty Mackinac

    Yeah I'm getting this one too. Spammed the hell out of the screen. deleted until a fix is found.
     
  15. Offline

    xZise

    If you remove the wand permission you aren't able to use it, but you haven't to disable it. On my server we have to prevent thunder from firing our buildings :)

    Fabian
     
  16. Offline

    halvors

    Think you need to regenerate the configuration file, it's changed. Please try delete the WeatherControl folder and restart server. Sorry for the issue :(
     
  17. Offline

    Guniv

    Is it possible to select areas for certain weather such as snow or storming? Would be perfect for us.
     
  18. Offline

    halvors

    @Guniv
    Sorry this is done by world and based on the seed. If it will be possible sometime sure i'll add it :)
     
  19. Offline

    Guniv

    damn. Guess we'll need it for disabling weather for now. Good work though!
     
  20. Offline

    halvors

    @xZise, @Mighty Mackniac
    Does it work for you now?
     
  21. Offline

    xZise

    Yep.
    But what purpose has the config.yml file? I removed everything, but this file was generated with only “{}” (w/o the quotes obviously).

    I have one question (couldn't test it right now): Is it possible to change the actual weather? So if it is raining, that I can say stop raining now?

    Fabian
     
  22. Offline

    halvors

    config.yml is not used yet, but the point with it is global configuration.

    You can prevent raining, but in the config files it's just called Weather.
     
  23. Offline

    crazydog

    After upgrading and regenning my configs, I have an issue with lightning off.

    If lightning is off in a world. A left or right click with ANY item in that world gives me a "lightning is disabled" message.
     
  24. Offline

    xZise

    No I mean, something like the time day command a “weather rain” or “weather sun” …

    And you noticed that with some version the strike is only a “effect-strike”. Would be nice if you could add an option which type of strike is executed with the wand.

    Fabian
     
  25. Offline

    Bronski

    I set disableSnowForm to true in the config but it didn't seem to stop snow from forming. Any advice?

    Thanks.

    I set:

    weather:
    enable: false # Enable weather.

    and it's raining after I restart the server. I'm getting a loaded config message in the server window so it seems to be running. Any ideas?

    766. Multiverse+other plugins installed.

    Thanks.

    Well I found this on the MC wiki under "New bugs":



    http://www.minecraftwiki.net/index.php?title=Version_history&oldid=96630

    So I guess I'm just still wondering about disableSnowForm. Thanks.

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

    halvors

  27. Offline

    luckyslayer92

    Plugin is enabled, rain is completely disabled, and its raining on the server side... Everyone reconnected and its still raining. for some reason this plugin does not work.
     
  28. Offline

    Poeschl

    Download don't work :'(
     
  29. Offline

    halvors

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

    xZise

    Are these features possible?

    Fabian
     
  31. Offline

    halvors

    When leftclick it's lightningstrikeeffect and when rightclick it's normal lightningstrike.
     

Share This Page