[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

    Archelaus

    Lightning is a feature. /weather thunder true for on false for off.

    Then right click.

    Rain off doesn't exist. Only thunder off.


    You have a correct version

    This is planned.

    No problem!
     
  3. Offline

    KiloWhiskey

    Not sure which bit you're responding to, the default value or the value being full seconds. I'd love to see both really. Thanks for the plugin.

    Also, does this affect the natural weather system? By that I mean to ask if I have to be online for it to rain since I'll be the only one with the commands.
     
  4. thunder works perfectly, the rest wont.
     
  5. Offline

    Archelaus

    Both

    What commands are you using?
     
  6. Offline

    KiloWhiskey

    Great to hear. Sorry I was too slow on the edit, can you recheck my last post?
     
  7. Offline

    Archelaus

    Nope, it won't stall the normal weather.
     
  8. Offline

    GingernutRanger

    CB 709 and i get this when i do /weather rain
    Code:
    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.NoClassDefFoundError: com/nijiko/permissions/PermissionHand
    ler
            at com.rightlegred.weatherman.commands.ControlWeatherCommand.execute(Con
    trolWeatherCommand.java:33)
            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
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHa
    ndler
            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)
            ... 16 more
     
  9. Offline

    Archelaus


    Update permissions.

    Also, dl link for 709
    http://ci.bukkit.org/job/dev-CraftBukkit/709/artifact/target/craftbukkit-0.0.1-SNAPSHOT.jar
     
  10. Offline

    tiltomat

    would be awesome to get an option to set worlds perm with rain/thunder. i've already a nightworld and would be love to see there thunders and rain the whole night.
     
  11. Offline

    GingernutRanger

    Thank you so much!
     
  12. Offline

    Archelaus

    Very possible. Could rework the system for it. We'll see.
     
    tiltomat likes this.
  13. Offline

    Andre_9796

    @RightLegRed
    Code:
    An internal error occured while attemptimg to perform this command
    CB #709
     
  14. Offline

    Walnoot

    But is it possible to turn off all weather in my all desert map without turning off rain/snow in my normal world?
     
  15. Offline

    Mook

    Receiving this error:
    On any weather command
     
  16. Offline

    Archelaus

    Yes. It's per-world. /weather clear should do this.
     
  17. Offline

    Jack Bartlett

    /weather thunder on/off/false/true does nothing! I've tried them alL!
     
  18. Offline

    Andre_9796

    wont you answer me please?

    rain needs to be on for that i think

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

    DeaGato

    You can add a function to regenerate the biomes?

    I have some problem with weather: LINK
     
  20. Offline

    KGameLover1

    Thanks for this awesome plugin!
     
  21. Dont work ive tryed everything even trying to go in to it and code it... YES I HAVE DONE /weather rain 100 that dont work... Please tell me waht to do its not working!
     
  22. Offline

    Aqualix

    Heres an idea, don't know how possible it is, but what ever. How about you enable like a "Electric state" for a player using some sort of command. when that command is activated, the person gains the new glowing aura creepers get when they are struck by lightning, and every right click they do strikes lightning where they are looking. Also, maybe a miniature storm above them? Say one chunk wide.
     
  23. It says Internal error plz help!

    btw I did supply a time still it WONT work...

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

    Jack Bartlett

    I have rain on, but still /weather thunder on/off/true/false doesnt do anything!
     
  25. Offline

    CasioBeatz

    Hey there!

    CB wont accept weatherman, here are my permissions, hope u can help :-(

    {{{
    Code:
    # System is no longer used, but may become used in the future
    
    # Copies is for multiple-world support
    
    # Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    
    # If this file is for your default world (the one in server.properties) then you must
    
    # leave copies blank.
    
    # Example: copies: Derp - This will clone the permissions of the world Derp
    
    #
    
    # Make sure to rename this file to the name of the world that is in sever.properties under
    
    # level-name. So if it is level-name: world then this should be world.yml and in the
    
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    
    #
    
    # NOTE: Do not use tabs while editing this document. Use only spaces. A good way to avoid
    
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    
    plugin:
    
    permissions:
    
    system: default
    
    copies:
     
    ##
    
    # AntiBuild is included with this. To disable a group from being able to build then
    
    # set the build: flag to false (build: false). If you want a group to be able to build
    
    # then set it to true.
    
    ##
    
    # Groups can contain inheritance.
    
    # To make a group inherit the permissions from another
    
    # group simply place the groups name in the "inheritance:" like so:
    
    #
    
    # Example:
    
    # inheritance:
    
    # - default
    
    ##
    
    # All permissions including the asterisks must be placed in single quotes.
    
    # like so:
    
    #
    
    # - 'foo.bar'
    
    #
    
    # Otherwise errors will happen!
    
    ##
    
    # Globalized Permission settings:
    
    #
    
    # If a permission contains periods (.) you can denote a globalized parameter:
    
    #
    
    # - 'foo.*'
    
    #
    
    # This will allow you to use all general commands.
    
    #
    
    ##
    
    # Single Asterisk denotes all commands:
    
    #
    
    # - '*'
    
    # If you give a group this permissions, do not have the group inherit any permissions
    
    # from other groups. Any users assigned to this group should NOT be given any additional
    
    # permissions either.
    
    ##
    
    # To exempt a node use the - prefix like so:
    
    # - '-foo.bar'
    
    ##
    
    # prefix: and suffix: do not do anything on their own. You need another outside plugin
    
    # such as iChat or HeroChat in order for these to do anything.
    
    groups:
    
    Default:
    
    default: true
    
    info:
    
    prefix: ''
    
    suffix: ''
    
    build: false
    
    inheritance:
    
    permissions:
    
    - 'foo.bar'
    
    Moderator:
    
    default: false
    
    info:
    
    prefix: ''
    
    suffix: ''
    
    build: true
    
    inheritance:
    
    - Default
    
    permissions:
    
    - 'bar.foo'
    
    Admins:
    
    default: false
    
    info:
    
    prefix: ''
    
    suffix: ''
    
    build: true
    
    inheritance:
    
    permissions:
    
    - 'weatherman.*'
     
    ##
    
    # Users denote which users are included in which group.
    
    # TheNo1Yeti is in the Admin group
    
    # Herpina is a member of the Moderator group but also has access
    
    # to the herp.derp permissions
    
    # Derpina is a member of the admin group but does not have access
    
    # to the derp.derp permission node
    
    # Users can also have a prefix and suffix as seen with Herpina
    
    ##
    
    users:
    
    CasioBeatz:
    
    group: Admins
    
    permissions:
    
    - 'weatherman.*'
    }}}

    "And I got an error like *an error account while performing this command"

    CB 709
    worldedit 4.3
    lwc, latest

    Greez Remus
     
  26. Same as you dude...
     
  27. Offline

    parker_digg

    Code:
    12:01:01 [SEVERE] 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.NoSuchMethodError: org.bukkit.World.setStorm(Z)V
            at com.rightlegred.weatherman.commands.ControlWeatherCommand.execute(Con
    trolWeatherCommand.java:37)
            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
    That is for /weather rain. /weather thunder did nothing, and I didn't try clear. 709

    If you are an op, its not your permissions. Its the plugin. Looks like he keeps overlooking those with this problem... :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  28. Well its broken for me aswell
     
  29. Offline

    Archelaus

    I don't "overlook" them. It's the fact it works perfectly for everyone else apart from them, so it isn't an error with my plugin. Either you need to redownload or recheck permissions. If I can't recreate the problems I can't fix them.

    /weather rain 1000

    /weather thunder true
     
  30. Offline

    parker_digg

    /weather rain 1000 does not work, /weather rain XXX any number gives internal error. /weather thunder true does nothing; no in-game text, no console text, no function in game when I right-click.

    And as an op, it doesn't matter about your nodes.
     
  31. Offline

    Chuckster

    could someone help me with the permissions because im not sure how excactly to set up the permissions for this plugin im using phoenix's 2.7 version of permissions and what do i do with it?

    alright here is what i have for my permissions

    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    # Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    # If this file is for your default world (the one in server.properties) then you must
    # leave copies blank.
    # Example: copies: Derp - This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name. So if it is level-name: world then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document. Use only spaces. A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
    permissions:
    system: default
    copies:

    ##
    # AntiBuild is included with this. To disable a group from being able to build then
    # set the build: flag to false (build: false). If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'foo.bar'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'foo.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    # Single Asterisk denotes all commands:
    #
    # - '*'
    # If you give a group this permissions, do not have the group inherit any permissions
    # from other groups. Any users assigned to this group should NOT be given any additional
    # permissions either.
    ##
    # To exempt a node use the - prefix like so:
    # - '-foo.bar'
    ##
    # prefix: and suffix: do not do anything on their own. You need another outside plugin
    # such as iChat or HeroChat in order for these to do anything.
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'foo.bar'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'bar.foo'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'weather.thunder.*'

    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
    TheNo1Yeti:
    group: Admins
    permissions:
    Herpina:
    group: Moderator
    info:
    prefix: 'Moo'
    suffix: 'Cow'
    permissions:
    - 'herp.derp'
    Shadeve:
    group: Admins
    permissions:
    - '-derp.derp'

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

Share This Page