Well I posted something like this in the plugin development section, but everyone tried hard to fix / tell me how to do it, thank you guys <3, It wouldn't work, so if someone can do this, it would be great and I will lov u 4eva! Name: PigEvent (or anything for the matter) Description: When you right click with a blaze rod it will spawn a pig Commands: not really anything :/ Permissions: nope ;/ Anything else: When you right click on the ground with a blaze rod it will spawn a piggy!! (pig) Thankkkkks<3
Well if it isn't too much troubles, can you make the pig spawning every 5 minutes :/ If so <333333333333333333333333333333333333
OtherDrops PHP: ANY: - action: rightclick drop: PIG~Piggy!! tool: blazerod~&rPigSummoner cooldown: piggy%p@300 # player specific cooldown for 300 seconds
lol I thought otherdrops was some kind of anti-dropping system I'll check it out if xxmatthd doesn't wanna make it :/
It was originally (and still is primarily) a custom block/mob drops replacement plugin but once all the conditions/drops/etc have been added it was very little code to extra triggers (left/right click, mob hits, fishing, etc). Obviously I'm biased but I'd recommend checking it out even if xXMaTTHDXx makes this particular request
I'll download it I'm getting a error :/ this is what I put in the otherdrops-config.yml PHP: verbosity: normalpriority: highusepermissions: true ANY: - action: rightclick drop: PIG~Piggy!! tool: blazerod~&rPigSummoner cooldown: piggy%p@300 # player specific cooldown for 300 seconds EDIT by Moderator: merged posts, please use the edit button instead of double posting.
It goes in otherdrops-drops.yml The otherdrops-config.yml file is just general config settings. I'm thinking of renaming the files to settings.yml & drops.yml - hopefully this will be clearer.
ah thanks I'll try now EDIT: Zarius Still not working :/ configversion: 3 ANY: - action: rightclick drop: PIG~Piggy!! tool: blazerod~&rPigSummoner cooldown: piggy%p@300 # player specific cooldown for 300 seconds
! Sorry to disturb you but do you know how to do the spawn pig thing or do you want me to try to use something else l;
I know how to make it, I will make it easily but give me till tonight because I'm driving to my cabin so I will be done soon
And in came a stealthy ninja! InspectorFacepalm Here you go: https://dl.dropboxusercontent.com/u/32797693/PigEvent.jar Enjoy!
Comes up as a error D: Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler [SEVERE] Could not load 'plugins/PigEvent.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: us/compressions/pigevent/Main : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.reload(CraftServer.java:603) at org.bukkit.Bukkit.reload(Bukkit.java:185) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(CraftServer.java:512) at net.minecraft.server.v1_5_R3.DedicatedServer.an(DedicatedServer.java:262) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.UnsupportedClassVersionError: us/compressions/pigevent/Main : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 14 more
Bbahahahjaftksja I will now eat your soul, "eats soul" and it was delicious! EDIT: InspectorFacepalm that error is from Compressions compiling it with a different java than you run your server on.
InspectorFacepalm - still not quite right Not sure if your spacing is correct there as you didn't paste it into a (code)(/code) block. Also, was trying to work out where the "configversion: 3" come from - you didn't extract the whole zip file I'm guessing Not a problem for the latest beta but in version 2.7.1 the instructions are to extract the zip file then place the config you want at the end of the file. Or just use the latest beta version which makes it all a little easier