[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

    wow this is the only thing i need in the new bukkit :D
     
  3. Offline

    LSky

    Very interesting, I hope some of these features get put into Essentials or something.
     
  4. Offline

    Archelaus

    Good! Bukkit had literally just released the new API to do this!

    Any suggestions? I'm open to new features!

    I personally don't like essentials, it's a bad standard in my opinion. It's like godcode.
     
    EarlyLegend likes this.
  5. Offline

    LSky

    That's a whole new discussion I suppose, I just mentioned it because it is confusing and time consuming to keep adding more and more plugins that all have their separate developers, config files, style, etc etc.
     
  6. Offline

    SuperGouge

    This is the plugin I was just waiting for. Thank you!
     
  7. Thanks for this plugin!
     
  8. Offline

    Archelaus

    No problem!
     
  9. Offline

    TCLG6x6

    can you ad a /weather snow command? so i not must go into colder biomes to got snow.
     
  10. Offline

    Archelaus

    Sorry, the API within Bukkit doesn't allow this ):
     
  11. Offline

    SpiiderPig

    Will there maybe an command for disabling lightnings ? :)
     
  12. Offline

    SneakyConman

    Keeps breaking on our server. Says an internal error after we set it to rain, now it wont let us change it back :D

    I wish I could be more helpful but I don't have access to the server console so I can't say what the error was.
     
  13. Offline

    Archelaus

    So no lightning at all? Will do!
     
  14. Offline

    Ryole

    Code:
    2011-04-22 14:18:54 [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: while parsing a block mapping
     in "<reader>", line 1, column 1:
        plugin:
        ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 13, column 3:
          Miner:
          ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:73)
        at com.nijiko.permissions.Control.load(Control.java:143)
        at com.nijiko.permissions.Control.loadWorld(Control.java:109)
        at com.nijiko.permissions.Control.permission(Control.java:290)
        at com.nijiko.permissions.Control.has(Control.java:259)
        at com.rightlegred.weatherman.commands.ControlWeatherCommand.execute(ControlWeatherCommand.java:47)
        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
    I get this error :S
    CB: 709
     
  15. Offline

    SpiiderPig

    Thanks a lot !! Without a proper antifire plugin the lightnings will burn down the whole map :)
     
  16. Offline

    Archelaus


    Are you sure of the CB version? Try downloading it again. Then if that fails, redownload WeatherMan.

    Could you get someone with access to the console to redownload it now? If the problem persists, tell them to post the error.

    Done it. Do the command
    Code:
    /weather thunder off
     

  17. I got same Error. Download Craftbukkit CB709 again and WeatherMan again, but its still there :/

    iam make me Op

    Plugins: Worldedit,WorldGuard,Essentials,Permissions
     
  18. Offline

    david elson


    I get the same errors with 709
     
  19. Offline

    Archelaus

    Is the error exactly the same?
     
  20. Offline

    tiltomat

    cb #709 having some issues

    Code:
    2011-04-22 14:32:45 [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
    
     
  21. Offline

    Archelaus


    You put a space after you did a command like so "/weather derp "

    Anyone getting an error like


    org.bukkit.command.CommandException: Unhandled exception executing command 'weather' in plugin WeatherMan v1

    Upload your permissions config for the world you tried it in. I do not support groupmanager or essentials. Please update permissions first though!
     
  22. Offline

    tiltomat

    checked it.. i didnt. same error.

    ah, ok... anyway, essentials support would be nice :)
     
  23. Offline

    DeaGato

    The damage of fire kindled by lightning is bugged.
     
  24. Offline

    Archelaus

    The damage is changed to you. do /weather thunder false to start being damaged again.

    Essentials is too much effort. Permissions is nice and well made.

    What command did you do?
     
  25. Offline

    Meth0s

    An internal error occured while attempting to perform this command.....
     
  26. Offline

    Archelaus

    I need the error in the console please.
     
  27. Offline

    dcgamingentral

    Bukkit 709 where is that?
     
  28. Offline

    tiltomat

    try'd /weather rain and /weather thunder got these error.
    ingame message: An internal error occured while attempting to perform this command.....


    edit: /weather rain 10, /weather thunder true seems no reaction
     
  29. Offline

    _Zw_

    Code:
    14:49: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
    
     
  30. Offline

    Archelaus

    Console error, please


    What command was this with?

    Version 3 is out btw - try that one
     

Share This Page