[FUN] EggPlugin v1.5 - Egg-related functions! [798]

Discussion in 'Inactive/Unsupported Plugins' started by robin0van0der0v, Mar 6, 2011.

  1. Offline

    robin0van0der0v

    EggPlugin - Egg-related functions!
    Version: v1.5

    (Request from ChrisX930, Woutske and NickBrahz.)

    Features:
    • Change mob to hatch from egg.
    • Fire eggs.
    • Freeze eggs.
    Download EggPlugin!
    Source is inside the jar file.

    Permissions:
    Give the player you want this permissions for eggs:
    Code:
    eggplugin
    Known bugs:
    None. :D

    Properties:
    This plugin creates a properties file on Plugins/EggPlugin/config.yml. ;)
    Egg-type can be: mob, fire, freeze or explode
    What mob-type can be is in the mob list.

    Standard properties:
    Code:
    egg:
        mob: chicken,null,null,null,null,null,null,null
        type: mob
    Mob list:
    [​IMG] Chicken
    [​IMG] Cow
    [​IMG] Creeper
    [​IMG] Ghast
    [​IMG] Giant
    [​IMG] Monster
    [​IMG] Pig
    [​IMG] Pigzombie
    [​IMG] Sheep
    [​IMG] Skeleton
    [​IMG] Slime
    [​IMG] Spider
    [​IMG] Squid
    [​IMG] Wolf
    [​IMG] Zombie

    Changelog:
    Version 1.0
    • Release.
    Version 1.1
    • Fixed properties in Linux.
    • No Permissions? Then everyone can hatch eggs.
    Version 1.2
    • Changed namespace.
    Version 1.3
    • Merged FireEggs and FreezeEggs to this plugin.
    Version 1.4
    • Works in Beta 1.4.
    • Added new mobs.
    Version 1.5
    • Properties file is now saved in YAML format.
    • You can setup now multiple types and mobs separated by a comma.
     
    Mitsugaru likes this.
  2. Offline

    Kegan187

    Time to hatch creepers in my friends house, xD
     
    itssuperninja likes this.
  3. Offline

    robin0van0der0v

    Or Ghasts. :$
     
  4. Offline

    ChrisX930

    I't don't create the file/folder with the properties >_>
     
  5. Offline

    robin0van0der0v

    Strange. :s
    Then make the folder and file by yourself. ;)
     
  6. Offline

    ChrisX930

  7. Offline

    luke7900

    i know its probably difficult and already been asked in various places but could you make a /spawn command? preferably /cspawn
     
  8. Offline

    aaron8o8

    i wrote
    egg-mob=slime
    and it still spawns chickens
     
  9. Offline

    Dutchy

    Does this have a random mode? Would be cool if it had (folks on my server requested that).
     
  10. Offline

    EvilSeph

    Please test your plugin with the latest Recommended Build (493) and update your release post accordingly as it is now a requirement of the submissions process, since the newest RB contains breakages.
     
  11. Offline

    ceulemans

    Weird to ask something here, but look at plugin releases for a "basic/general" plugin.
    They mostly have a /spawn and /setspawn
     
  12. Offline

    Hawkheart

    Pretty sure he meant to spawn monsters. ;)
     
  13. Offline

    Plasma

    Yeah i had the same problem, no matter what you config it, it always does chickens.
     
  14. Offline

    ChickenFighter

    Well and i cant spawn anything with the eggs.... I droped it and nothing happens :confused:
     
  15. Offline

    robin0van0der0v

    I think you forget to give yourself the permissions:
    Code:
    eggplugin
     
  16. Offline

    ChickenFighter

    Nope i didnt ;P Im Admin ^^ Everywhere
    Here is the Error code [​IMG]
    the egg is on the ground... but nothing happen

    PS: sry for my english im from germany ;D
     
  17. Offline

    robin0van0der0v

    Do you have permissions installed?
    Do you get the message "EggPlugin version 1.0 is enabled with permissions!"?
     
  18. Offline

    ChickenFighter

    Och, now it works for me :) Thank you, love this plugin! Good job
     
  19. Offline

    xGhOsTkiLLeRx

    Great idea, but not working with craftbukkit #531...

    Here is my log:

    Code:
    2011-03-12 14:27:39 [INFO] Starting minecraft server version Beta 1.3
    2011-03-12 14:27:39 [INFO] Loading properties
    2011-03-12 14:27:39 [INFO] Starting Minecraft server on 5.71.58.190:25565
    2011-03-12 14:27:39 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-516-gdf87bb3-b531jnks (MC: 1.3)
    2011-03-12 14:27:39 [INFO] Preparing level "BUKKITTEST"
    2011-03-12 14:27:39 [INFO] Preparing start region
    2011-03-12 14:27:40 [INFO] EggPlugin version 1.0 is enabled without permissions!
    2011-03-12 14:27:40 [INFO] Done (0,092s)! For help, type "help" or "?"
    2011-03-12 14:27:44 [INFO] 143 recipes
    2011-03-12 14:27:44 [INFO] xGhOsTkiLLeRx [/5.71.58.190:49910] logged in with entity id 201
    2011-03-12 14:27:56 [SEVERE] Could not pass event PLAYER_EGG_THROW to EggPlugin
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
        at com.bukkit.robin0van0der0v.EggPlugin.EggPluginPlayerListener.onPlayerEggThrow(EggPluginPlayerListener.java:17)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:212)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.EntityEgg.f_(EntityEgg.java:200)
        at net.minecraft.server.World.a(World.java:1011)
        at net.minecraft.server.WorldServer.a(WorldServer.java:53)
        at net.minecraft.server.World.f(World.java:993)
        at net.minecraft.server.World.d(World.java:970)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:354)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
        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:30)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    2011-03-12 14:27:58 [INFO] xGhOsTkiLLeRx lost connection: disconnect.quitting
    2011-03-12 14:28:02 [INFO] CONSOLE: Stopping the server..
    2011-03-12 14:28:02 [INFO] Stopping server
    2011-03-12 14:28:02 [INFO] EggPlugin version 1.0 is disabled!
    2011-03-12 14:28:02 [INFO] Saving chunks
    
     
  20. Offline

    robin0van0der0v

    Do you have the Permissions plugin installed?
     
  21. Offline

    xGhOsTkiLLeRx

    No, only EggPlugin!

    But I'm going to try it with permissons.
     
  22. Offline

    robin0van0der0v

    Fixed, not it works without permissions. ;)
    And it works in Linux! :D
     
  23. Offline

    xGhOsTkiLLeRx

    Great, thank you.

    With permissions it was working, but without it's great, too!

    (Because I'm running a server only with some friends, I don't need the permissions plugin really :p)

    Greets
     
  24. Offline

    Rilly

    Does monster spawning need to be enabled for this to work? We have our server set to peaceful mode, but it would be cool if we could still use this plugin for the occasional monster here and there
     
  25. Offline

    robin0van0der0v

    Fixed by the way. :)


    I dont know. I never tested that. :p
    Test it. ;)
     
  26. Offline

    xGhOsTkiLLeRx

    Last question, what's about

    ZombiePigman
    Giant
    Pigman
    SpiderJockey

    ?

    I tried to spawn them via an egg, but it still spawns chickens...
    Maybe a little suggestion for the future ;)
     
  27. Offline

    robin0van0der0v

    ZombiePigman: egg-mob=pigzombie
    Giant = Not included, isn't supported by Bukkit.
    Pigman = Doesn't exist yet.
    SpiderJockey = Not included, isn't supported by Bukkit.
     
  28. Offline

    xGhOsTkiLLeRx

    Okay, thanks sir :D
     
  29. Offline

    TerraPlay

    What about a list of possible mobs?
     
  30. Offline

    robin0van0der0v

    Here a list:

    [​IMG] Chicken
    [​IMG] Cow
    [​IMG] Creeper
    [​IMG] Ghast
    [​IMG] Giant
    [​IMG] Monster
    [​IMG] Pig
    [​IMG] Pigzombie
    [​IMG] Sheep
    [​IMG] Skeleton
    [​IMG] Slime
    [​IMG] Spider
    [​IMG] Squid
    [​IMG] Wolf
    [​IMG] Zombie
     

Share This Page