[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

    TCLG6x6

    so many pupile have the same error me to :/ it is realy the same but why we get it?
     
  3. Offline

    SpiiderPig

    Thanks for the quick updates :) Is there a way to add a check for the ops.txt ? Would be handy for the people using GroupManager which dont seems to work with that plugin
     
  4. Offline

    Archelaus

    It already does, but GroupManager causes it to mess up.
     
  5. Offline

    Xathzcraft

    Works with 709 for me, thanks :D
    Only error it throws is when you type /weather rain, and you do not include a number or put something else there except a number for the time, it gives an error but still works.
     
  6. Offline

    Kainzo

    Ability to imbue a tool with thunder :p

    Also - we support Permissions - since it is the best ;)
     
  7. Umm how are we supposed to use this without beta 1.5? Or has it come out on bukkit? If so where can I download plz?
     
  8. Offline

    Archelaus

    1.5 is out for testing. Download it from ci.bukkit.org
     
  9. Offline

    CainFoool

    Wanted to say a HUGE thanks for this, me and my co-owner are now having alot of fun with it.
    Do you have any idea when Bukkit will update for snow?
     
  10. Offline

    Archelaus

    No idea, sorry.
     
  11. I tried out rain with weatherman 3 and it started snowing! I can remove it with weather clear but it's strange that I have snow and no rain!
     
  12. Offline

    lolligertyp

    /weather rain/thunder 2 Nothing happen
    /weather rain/thunder Internal Error:
    Code:
    2011-04-22 15:52:40 [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.ArrayIndexOutOfBoundsException: 1
        at com.rightlegred.weatherman.commands.ControlWeatherCommand.execute(ControlWeatherCommand.java:36)
        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-22 15:53:21 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-681-g0f8abd2-b709jnks (MC: 1.5_02)
    2011-04-22 15:53:21 [INFO] This server is also sporting some funky dev build of Bukkit!
    
    I'm OP and have Permissions 2.7, I have access to all commands.
     
    TewDIE likes this.
  13. Offline

    Derphiria

    i get the error "An error has accured while attempting to perform this command" when i type "/weather rain 10" but when i type "/weather rain true" it says "Sorry, true is not a number!" then it starts raining forever (tested it for 3 minecraft days) so this is my bug report, the "/weather clear" is clean.

    btw.... i love you for this plugin :3
     
  14. Offline

    AntonioDePau

    Works for me :)
    Don't try the /weather rain/thunder only, always put a nomber after this, like :
    /weather rain 100 (<- that's gonna make rain fall for 10 seconds, yes, i know it's strange, but it works for me :D )
     
  15. Offline

    Derphiria

    oh.... didnt notice that 100 was 10 sec -.- thought that 10 was 10 sec :> then i'd like to withdraw my bug report :3
     
  16. Offline

    Archelaus

    Are you literally putting in:

    /weather rain/thunder 2

    It works like this:
    /weather rain 100000
     
  17. Offline

    SirAlex

    i always get
    Code:
    16:17:11 [SCHWERWIEGEND] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'weat
    her' 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: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.ArrayIndexOutOfBoundsException: 1
            at com.rightlegred.weatherman.commands.ControlWeatherCommand.execute(Con
    trolWeatherCommand.java:36)
            at com.rightlegred.weatherman.commands.CommandManager.dispatch(CommandMa
    nager.java:47)
            at com.rightlegred.weatherman.WeatherMan.onCommand(WeatherMan.java:44)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    when i write /weather rain


    please help!
     
  18. Offline

    Derphiria

    Rightlegred is it possible that you can make a command like /weather thunder 500 then it's thunderstorm for 50 sec? i'd appreaciate it because im running a hardcore survival and this would help alot =)
     
  19. Offline

    DeineTante

    16:19: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.ArrayIndexOutOfBoundsException: 1
    at com.rightlegred.weatherman.commands.ControlWeatherCommand.execute(ControlWeatherCommand.java:36)
    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


    Bukkit #709 is installed.
     
  20. Offline

    CainFoool

    Would it be possible to change the time? Eg /weather rain 10 to make it 10 seconds?
    I understand milliseconds but it'd be hander just doing it 10.

    Also can you make a /weather help command.
     
  21. Offline

    Jake_Evans

    I've just added this to my server, the only plugin it has and I got the following error -

    Code:
    5:19:39 [INFO] Weather Man - On Air!
    15:19:39 [INFO] Permission system not detected, defaulting to OP
    15:19:39 [INFO] Done (0.109s)! For help, type "help" or "?"
    15:19:42 [INFO] Jake_Evans [/127.0.0.1:55768] logged in with entity id 148
    15:20:10 [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.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
        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
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
        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)
        ... 16 more
    >version
    15:20:20 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-681-g0f8abd2-b709jnks (MC: 1.5_02)
    15:20:20 [INFO] This server is also sporting some funky dev build of Bukkit!
    
    This error occurred when using /weather rain 10 . It doesn't respond to any commands by the way.
     
  22. Offline

    Jarzka92

    Would it be possible to make a command which leaves the lightining but disables any damage done by it? I mean that it wouldn't burn down my friend's pixel art but would still be there, I kind of like it and don't want it to go away, but at the same time I don't like the idea of it burning down places. And btw very useful plugin, thanks for doing this!
     
  23. Offline

    davedavy

    How do i clear snow? My hole city is under the snow :(
     
  24. Offline

    Derphiria

    try typing " /weather clear " it clears all the weather to normal sun =)
     
  25. very good but whenever i try /weather rain or /weather thunder it says a internal error occured while performing that command then gives my console errors
     
  26. Offline

    Derphiria

    Omg, i hit a creeper with lightning and it got some sort of a blue force field around it.... something notch or you added?? :O
    "Edit" here's the picture
    [​IMG]
     
  27. Offline

    Chuckster

    Alright i have reinstalled bukkit 709 and weatherman but it still says the error everyone else is having when i type any of the commands... an internal error has occured and nothing happens
     
  28. Offline

    Archelaus

    Give it a number after and then it'll work
     
  29. Offline

    Chuckster

    derphiria are you having this problem and if not how so?
     
  30. Offline

    Jake_Evans

    Er.. What about me?
     

Share This Page