WeatherPlugin - Weather-related functions! Version: v1.2 Features: Let it be sunny. Let it storm. Let it thunder. Let the lightning strikes on a player. Let the lightning strikes on a block. Download WeatherPlugin! Source is inside the jar file. How to use: Use the command "/weather sunny " (or "/w sunny") for stopping the storm (and thunder). Use the command "/weather storm" (or "/w storm") for starting the storm. Use the command "/weather thunder" (or "/w thunder") for starting the thunder. Use the command "/lightning [player]" (or "/l [player]") for one thunderbolt on that player. And use the command "/lightning" (or "/l") for one thunderbolt on the block you are looking. Permissions: Give the player you want this permissions for using the command /weather. Code: weatherplugin.weather Give the player you want this permissions for using the command /lightning. Code: weatherplugin.lightning Known bugs: None. Properties: This plugin creates a properties file on Plugins/WeatherPlugin/config.yml. Standard properties: Code: weather: lightningtool: '283' Changelog: Version 1.0 Release. Version 1.1 Changed the commands. Version 1.2 Added properties file.
Ok, works, but /thunder and /t: Code: Unknown concole command. Type "help" for help /weather works, but it only starts to rain, not to snow in snow regions.
I got Code: an internal error has occured while attempting to perform this command on my Debian Lenny root too . And would you enable commands from console? Thanks (/t is already used as private messages by essentials, I think) I think we forgot to update: http://ci.bukkit.org/job/dev-CraftBukkit/709/artifact/target/craftbukkit-0.0.1-SNAPSHOT.jar EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I read through your source, and you might want to replace your checkpermissions function with the following, because it is shorter and equivalent. Code: public boolean checkpermissions(Player player, String string){ return usingpermissions ? Permissions.has(player,string) : player.isOp(); }
I've been trying to get this plug-in for a couple of days but you've been reworking your website. Can you upload it somewhere else in the meantime?
This gets annoying... Maybe possibly have an item set to use lightning. "The lightning strikes on the block you are looking!"
Worked completely fine and then i installed the Permissions plug-in AND i added the permissions text but it still wont work. Any ideas?
After updating to RB#1060, I get this error: Code: 2011-08-18 14:36:56 [SEVERE] Error occurred while enabling WeatherPlugin v1.2 (Is it up to date?): SNOW_FORM java.lang.NoSuchFieldError: SNOW_FORM at nl.robinvandervliet.WeatherPlugin.WeatherPlugin.onEnable(WeatherPlugin.java:41) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) The rest of the plugin still works fine. (BTW: Ik ben Melvin ) Greetings, MasterMe.
Code: 16:28:04 [SEVERE] Error occurred while enabling WeatherPlugin v1.2 (Is it up to date?): SNOW_FORM java.lang.NoSuchFieldError: SNOW_FORM at nl.robinvandervliet.WeatherPlugin.WeatherPlugin.onEnable(WeatherPlugin.java:41) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) I'm getting exactly the same as MasterMe here, on RB#1060
Hey guys, i have a question. I dont know where to ask it so i do it just here. The most plugins have this permission commands i see. But i have no clue how to use them and i know without them the plugins doesnt work. Can anyone tell me what to do?
^ i think you should post in the proper section also robin0van0der0v needs to update this to fix: 16:28:04 [SEVERE] Error occurred while enabling WeatherPlugin v1.2 (Is it up to date?): SNOW_FORM java.lang.NoSuchFieldError: SNOW_FORM at nl.robinvandervliet.WeatherPlugin.WeatherPlugin.onEnable(WeatherPlugin.java:41) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) that problem still works but id like to not see this ---> [SEVERE]
Still works with 1240 (haven't updated to 1317 yet), but won't work unless '*' has been assigned for PermissionsEx, which in turn will give access to all commands on the server. The permission 'weatherplugin.weather' doesn't work. Probably needs updating for that.