Plugin request :/

Discussion in 'Archived: Plugin Requests' started by InspectorFacepalm, May 30, 2013.

  1. 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
     
  2. Offline

    xXMaTTHDXx

    Easy haha, do you want a cool down or a only can use it every x amount of seconds
     
    Zarius and InspectorFacepalm like this.
  3. Well if it isn't too much troubles, can you make the pig spawning every 5 minutes :/
    If so <333333333333333333333333333333333333
     
  4. Offline

    Zarius

    OtherDrops :)

    PHP:
      ANY:
      - 
    actionrightclick
        drop
    PIG~Piggy!!
        
    toolblazerod~&rPigSummoner
        cooldown
    piggy%p@300   # player specific cooldown for 300 seconds
     
    InspectorFacepalm likes this.
  5. lol I thought otherdrops was some kind of anti-dropping system ;)
    I'll check it out if xxmatthd doesn't wanna make it :/
     
  6. Offline

    Zarius

    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 :)
     
    InspectorFacepalm likes this.
  7. I'll download it ;)

    I'm getting a error :/ this is what I put in the otherdrops-config.yml
    PHP:
    verbositynormal
    priority
    high
    usepermissions
    true
      ANY
    :
      - 
    actionrightclick
        drop
    PIG~Piggy!!
        
    toolblazerod~&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.
     
    Last edited by a moderator: Jun 1, 2016
  8. Offline

    Zarius

    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.
     
    timtower likes this.
  9. 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
     
  10. Offline

    xXMaTTHDXx

    The all mighty Zarius like my post ! Lol
     
  11. :D!
    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;
     
  12. Offline

    xXMaTTHDXx

    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
     
    InspectorFacepalm likes this.
  13. Offline

    Compressions

  14. Comes up as a error D:
    Show 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
     
  15. Offline

    xXMaTTHDXx

  16. ahhh, sorry, what version is he using ;P
     
  17. Offline

    Compressions

  18. Offline

    Zarius

    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 :)
     
    InspectorFacepalm likes this.
  19. Offline

    Compressions

  20. Offline

    xXMaTTHDXx

    Ill make it right now
     
    InspectorFacepalm likes this.
  21. If you can, that would be awesome <3
     
  22. Offline

    xXMaTTHDXx

    Almost done!
     
    InspectorFacepalm likes this.

Share This Page