[INACTIVE][FUN/ADMIN] WeatherMan 6 - Control the weather! [740]

Discussion in 'Inactive/Unsupported Plugins' started by RightLegRed, Apr 22, 2011.

  1. Offline

    Archelaus

    Weather Man
    Want to control the weather? Now you can! Become a weather man with this plugin. You can set it to rain on, or off. You can clear snow and even strike people with lightening!​
    Commands​
    /weather rain <time>​
    /weather thunder <true|false>​
    /weather thunder <playername>​
    /weather clear​
    /weather rain - doesn't need a time, without it, it makes it rain for a default set time.​
    Permissions​
    weatherman.clear​
    weatherman.rain​
    weatherman.thunder​
    ChangeLog​
    Version 1 - Released!​
    Version 2 - Added ability to set rain time!​
    Version 3 - Added turning off lightning!​
    Version 4 - Removed reach of lightning!​
    Version 5 - fixed up the commands a bit.​
    Version 6 - now has the command /weather thunder <playername>






    Supports Multiworlds, Permissions and each feature is seperated. So your players can clear the rain while you fry sheep!​
    Requires Build 709!​
    I hate to do this, but I'm running out of money and this keeps me interested in developing this plugin. Donators may have their name published to the thread if they please.​
    [​IMG]
     
    Me4502, Netto Hikari, Mazer and 8 others like this.
  2. Offline

    revfeuerfrei

    Good plugin, I thought we were going to have to fire up worldguard again just to stop lightning.

    Can you please set this to read a config file where I can permanently turn off lightning?

    Also, maybe some feedback when you do disable it to say "done, lightning off"
     
  3. Offline

    madcrazydrumma

    heres my error log:
    Code:
    10:54:13 [SEVERE] Could not load 'plugins/WeatherMan.jar' in folder 'plugins': Permissions
    org.bukkit.plugin.UnknownDependencyException: Permissions
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:123)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    Whats happening?
     
  4. Offline

    FitzChickens

    I'm getting the same error as you. :'(
     
  5. Offline

    Archelaus

    No, Minecraft issue cause this.

    Like I said, I'm fixing it.

    Thanks very much
     
  6. Offline

    Aramillio

    hey i know you dont support essentials, but some people still like them. There is a conflict between using the compass to port around and using it to call lightning. could you possibly make the wand item configurable?

    edit: ok apparently. the thunder true/false may not be working the right way. its giving thor powers. i thought that it was supposed to disable/enable thunder in thunder storms. right now i have people running around with sticks summoning lightning everywhere.

    Though i would definitely leave that feature
     
  7. Offline

    Archelaus

    I don't purposefully not support them, but OK. I can do that.
     
  8. Offline

    Boelens

    I am using CB 709, and I get internal server errors when using any of the weather commands. I cant show console output, as my log.txt is huge ass and will eat my disks space.
    I use Permissions, and my files are completely alright. And if it wouldnt work it would work because I am op.
     
  9. Offline

    Archelaus

    I can't help without console output.
     
  10. Offline

    Boelens

    Alright then, I'll start downloading it then.
     
  11. Offline

    PhantomGamers

    shut down server -> delete/rename log.txt -> start server -> enter commands -> paste error in this thread
    ???
    Profit

    Pretty sure there's a size limit before it gets set to server.log2 or whatever and starts a fresh one.
    At least that happens to me, I think the size limit is super small too... like 80 bytes. :confused:
    No idea, maybe it's just doing that for me.
     
  12. Offline

    Archelaus

    If it puts a 2 afterwards it means the file was in use when it was trying to write to it.
     
  13. Offline

    Boelens

    I'm not pretty sure where the log for weather ends, so I just pasted a whole part.

    Code:
    2011-04-24 03:50:02 [INFO] WorldGuard loaded.
    2011-04-24 03:50:02 [INFO] [AntiCreeper] version 1.0 is enabled.
    2011-04-24 03:50:02 [INFO] DailyBonus is running!
    2011-04-24 03:50:02 [INFO] [iConomy] Logging is currently disabled.
    2011-04-24 03:50:04 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    2011-04-24 03:50:04 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    2011-04-24 03:50:04 [SEVERE] [mcMMO] Permissions isn't loaded, there are no restrictions.
    2011-04-24 03:50:04 [INFO] mcMMO version 0.9.30 is enabled!
    2011-04-24 03:50:14 [INFO] [MineQuest] [ERROR] Unable to Connect to MySQL Databse
    2011-04-24 03:50:14 [INFO] [MineQuest] You are not connected to a database (try configuring minequest.properties)
    2011-04-24 03:50:14 [INFO] [MineQuest] Unable to initialize database
    2011-04-24 03:50:14 [INFO] [MineQuest] Check minequest.properties
    2011-04-24 03:50:14 [INFO] MineQuest version 0.33 is disabled!
    2011-04-24 03:50:14 [INFO] [MotherNature] Neither Permissions or GroupManager found. Using ops.txt for permission handling
    2011-04-24 03:50:14 [INFO] [MotherNature] Plugin enabled! (version 1.2)
    2011-04-24 03:50:14 [INFO] MultiHome version 0.5.1not enabled. Permissions not detected
    2011-04-24 03:50:14 [INFO] MultiHome version 0.5.1 unloaded
    2011-04-24 03:50:14 [INFO] MultiHome version 0.5.1 loaded
    2011-04-24 03:50:15 [INFO] [MYWARP]: 46 warps loaded
    2011-04-24 03:50:15 [SEVERE] [MYWARP] Permissions isn't loaded, there are no restrictions.
    2011-04-24 03:50:15 [WARNING] [MYWARP] 'Help' isn't detected. No /help support.
    2011-04-24 03:50:15 [SEVERE] BLOCK_RIGHTCLICKED loading MyWarp v1.10.3 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_RIGHTCLICKED
        at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:73)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:584)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-24 03:50:15 [INFO] [NETHRAR] Not listening for player respawns.
    2011-04-24 03:50:15 [INFO] [NETHRAR] Normal world name: world
    2011-04-24 03:50:16 [INFO] [NETHRAR] Nether world name: netherWorld
    2011-04-24 03:50:16 [INFO] [NETHRAR] Normal : Nether scale: 8:1
    2011-04-24 03:50:16 [INFO] [NETHRAR] Nethrar v1.0 enabled.
    2011-04-24 03:50:16 [INFO] PlgSetspawn version 4.0 is enabled!
    2011-04-24 03:50:16 [INFO] Weather Man - On Air!
    2011-04-24 03:50:16 [INFO] Permission system not detected, defaulting to OP
    2011-04-24 03:50:16 [INFO] [WolfPound]- Version 0.4 Enabled
    2011-04-24 03:50:16 [INFO] [WolfPound] using iConomy Economy!
    2011-04-24 03:50:16 [INFO] WorldEdit 4.2 enabled.
    2011-04-24 03:50:16 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-04-24 03:50:16 [SEVERE] PLAYER_ITEM loading WorldEdit v4.2 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_ITEM
        at com.sk89q.worldedit.bukkit.WorldEditPlugin.registerEvents(WorldEditPlugin.java:133)
        at com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:104)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:584)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-24 03:50:16 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
    2011-04-24 03:50:16 [INFO] WorldGuard: Single session is enforced.
    2011-04-24 03:50:16 [INFO] WorldGuard: TNT ignition is PERMITTED.
    2011-04-24 03:50:16 [INFO] WorldGuard: Lighters are PERMITTED.
    2011-04-24 03:50:16 [INFO] WorldGuard: Lava fire is blocked.
    2011-04-24 03:50:16 [INFO] WorldGuard: Fire spread is UNRESTRICTED.
    2011-04-24 03:50:16 [SEVERE] BLOCK_DAMAGED loading WorldGuard v4.0-alpha1 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_DAMAGED
        at com.sk89q.worldguard.bukkit.WorldGuardPlugin.registerEvents(WorldGuardPlugin.java:193)
        at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onEnable(WorldGuardPlugin.java:168)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:584)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-24 03:50:16 [INFO] Done (1.579s)! For help, type "help" or "?"
    2011-04-24 03:50:16 [INFO] /217.123.208.246:2462 lost connection
    2011-04-24 03:50:18 [INFO] Boelens [/217.123.208.246:2468] logged in with entity id 196
    2011-04-24 03:50:23 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'weather' in plugin WeatherMan v1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
        at net.minecraft.server.Packet3Chat.a(SourceFile:36)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at com.rightlegred.weatherman.commands.ControlWeatherCommand.execute(ControlWeatherCommand.java:33)
        at com.rightlegred.weatherman.commands.CommandManager.dispatch(CommandManager.java:47)
        at com.rightlegred.weatherman.WeatherMan.onCommand(WeatherMan.java:44)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
     
  14. Offline

    Archelaus




    Redownload weatherman. You've got the old version.
     
  15. Offline

    JanTTuX

    not working with no permissions :(
     
  16. Offline

    fuzzycut

    Hi there, does this need permissions. Because it giving me an error and looks like it wont load without it.

    Edit. Sorry. TL;DR
     
  17. Offline

    Archelaus

    Like I've said about 100 times, I'll be fixing this
     
  18. Offline

    Boelens

    Aha! It works now. Thanks ;)
    NVM, only shows the cmds. DLing log.

    LOG:
    Code:
    2011-04-24 04:02:11 [INFO] Done (1.566s)! For help, type "help" or "?"
    2011-04-24 04:02:12 [INFO] /217.123.208.246:2922 lost connection
    2011-04-24 04:02:36 [INFO] Boelens [/217.123.208.246:2944] logged in with entity id 196
    2011-04-24 04:02:51 [INFO] /50.23.30.168:57857 lost connection
    2011-04-24 04:03:02 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'weather' in plugin WeatherMan v1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
        at net.minecraft.server.Packet3Chat.a(SourceFile:36)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at com.rightlegred.weatherman.commands.ControlWeatherCommand.execute(ControlWeatherCommand.java:38)
        at com.rightlegred.weatherman.commands.CommandManager.dispatch(CommandManager.java:47)
        at com.rightlegred.weatherman.WeatherMan.onCommand(WeatherMan.java:44)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    2011-04-24 04:03:05 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'weather' in plugin WeatherMan v1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
        at net.minecraft.server.Packet3Chat.a(SourceFile:36)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at com.rightlegred.weatherman.commands.ControlWeatherCommand.execute(ControlWeatherCommand.java:33)
        at com.rightlegred.weatherman.commands.CommandManager.dispatch(CommandManager.java:47)
        at com.rightlegred.weatherman.WeatherMan.onCommand(WeatherMan.java:44)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    2011-04-24 04:03:07 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'weather' in plugin WeatherMan v1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
        at net.minecraft.server.Packet3Chat.a(SourceFile:36)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at com.rightlegred.weatherman.commands.ControlWeatherCommand.execute(ControlWeatherCommand.java:33)
        at com.rightlegred.weatherman.commands.CommandManager.dispatch(CommandManager.java:47)
        at com.rightlegred.weatherman.WeatherMan.onCommand(WeatherMan.java:44)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    2011-04-24 04:03:10 [INFO] Boelens issued server command: weater rain 1
    
     
  19. I have yet to test this plugin myself... but am I right is says that thunder somehow = lightning?

    Just saying it should be /weather zap <player> or something like that... thundering the player just sounds odd to me..

    I knew it wouldn't take long for someone to create a weather plugin though after I saw the implementation in bukkit.
     
  20. Offline

    Archelaus


    What commands are you doing?

    Again, those are old logs or you're using an old version.


    I don't care for technicalities. Thunder is shorter.
     
  21. Offline

    Boelens

    I re-downloaded from the download button.
    The commands I use are:
    /weather rain
     
  22. Offline

    Archelaus


    Then you haven't updated it in your plugins/

    The class
    Code:
    com.rightlegred.weatherman.commands.ControlWeatherCommand
    is from a earlier version. It doesn't exist anymore.
     
  23. Offline

    fuzzycut

    hi does this affect the chance of natural weather? and also is PvP true? because i couldnt hurt myself. Not that it's a bad thing, but just curious. Havnt got anyone else to test it with
     
  24. Offline

    Archelaus

    You can't hurt yourself but you can hurt others. As long as they don't have /weather thunder true too
     
  25. Offline

    PhantomGamers

    Maybe add an option to be able to hurt yourself / other people using it?
    I can imagine epic lightning battles.
     
  26. Offline

    Lemorz56

    whenever i try to do the command "/weather rain" it says" an internetal error has occoured. I think. error log
    Code:
    11:41:32 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'weat
    her' in plugin WeatherMan v6
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    55)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:650)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
            at net.minecraft.server.Packet3Chat.a(SourceFile:36)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
            at com.rightlegred.weatherman.commands.StormWeatherCommand.execute(Storm
    WeatherCommand.java:25)
            at com.rightlegred.weatherman.commands.CommandManager.dispatch(CommandMa
    nager.java:47)
            at com.rightlegred.weatherman.WeatherMan.onCommand(WeatherMan.java:49)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    >
    im admin and have acess to all commands.
     
  27. Offline

    Archelaus


    It's a permissions error. As line 25 is

    Code:
                if (!(plugin).Permissions.has((Player) sender, "weatherman.rain")) {
    
     
  28. Offline

    APx Dr Dj

    Hi I'm new to this & was wondering where I can find this Permissions every1 keeps going on about I have one my friend gave me but it's outdated and when I search I can't find it could u please help
     
  29. Offline

    Archelaus

    Search button.
     
  30. Offline

    PhantomGamers

    You don't even need the search button, it's on the first page of Plugin Releases...
     
  31. Offline

    Lemorz56

    how do i fix that?
     

Share This Page