[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

    TerraPlay

    Thanks for this list! Amazing plugin, using it right now, keep it up!
     
  3. Offline

    monkeymii

    nvm got it working + i think theres a problem with spawning slimes
    havnt tested others apart from zombies which work fine
     
  4. Offline

    Ziddia

    can you make it so it spawns randomly (eg can spawn anything?)

    Would be greatly appreciated :p
     
    vincemonkey likes this.
  5. Offline

    Kartus

    Yes, but also configurable to select which mobs could be selected for randomspawn in config:
    Code:
    egg-mob=chicken,cow,zombie
    Only these 3 mobs will spawn, randomly.

    can you add a config setting spawnchance at every eggdraw? like "spawnrate=0,1" so in average every 10th eggdraw will spawn a mob. "spawnrate=1" would spawn a mob at every eggdraw.
     
  6. Offline

    TheDarkness73

    it doesnt allow me to use the permissions - 'eggplugin'
     
  7. Offline

    bubbagump

    sorry, this sounds like such a noob question., and im new to minecraft :p but how do you right the code? because ive tried it like *t* /egg-mob=chicken and *t* egg-mob=chicken

    but nothings happening! help pleasee!
     
  8. Offline

    Crowbars82

    Very amusing mod. Especially for when the other players don't know that you've installed it yet, so you can go running into their houses and spawn chickens in their kitchens. I've only set it to chicken so far, but seems to work well for a hearty laff.
     
  9. Offline

    robin0van0der0v

    Do you have the permissions plugin installed?
    If yes, do you have the permissions: 'eggplugin'?

    I'm by the way adding random mobs. :)
     
  10. Offline

    xGhOsTkiLLeRx

    Great :D
    All the eggplugins in one :D
    Thank you!!


    Ok, I updated my suggestions:

    Maybe a command for ingame?
    I mark optional things with []!

    /eggplugin mob [specific] or [random]
    /eggplugin fire
    /eggplugin freeze
    /eggplugin exlpode
    /eggplugin random

    Greets
     
  11. Offline

    Jelle

    Maybe add ingame commands?
    Like xGhOsTkiLLeRx says.

    And:
    /eggplugin reload
    to reload the config file
     
  12. Offline

    Nytewarrior

    19:00:49 [SEVERE] Could not load plugins/EggPlugin.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException

    WHY does this always happen to me? :(
     
  13. Offline

    clearwolves

    LOL I almost thought it was'nt working ,but in fact it was. EggPlugin was enabled with permissions, so I threw 10 to the ground & waited.. ..no chickens hatched. (they disapeared) ..I started throwing eggs all over and what do ya know *Chickens* ..Its more like a force hatch mod and not an actually hatching. Although it does work I'd like to have the egg hatch in (drop) form as well after some set time frame; just a thought. Great mod & good Fun !!
     
  14. Offline

    Nate Wiebe

    Is this working with CB602?
     
  15. Offline

    ZachBora

    You're probably using an incorrect CraftBukkit version (either too old or too recent).
     
  16. Offline

    robin0van0der0v

  17. Offline

    Everene

    it doesn't work with 1.4 update :(
     
  18. Offline

    Pangamma

    Is it possible to set the radius somehow? I want to be able to use fire eggs for pvp but having a 3x3 radius is a bit too much. Especially when it covers like 25 times each hit.
     
  19. Offline

    pre-pentium

    This was working previously... and it was totally wicked! :)
    Not sure if anyone needs the details, but with the following setup:

    Craftbukkit: 617
    Eggplugin: 1.4

    I get the following error:

    Code:
    12:31:48 [INFO] EggPlugin version 1.4 is enabled with permissions!
    12:31:48 [SEVERE] null loading EggPlugin v1.4 (Is it up to date?)
    java.lang.NullPointerException
            at nl.robinvandervliet.EggPlugin.EggPlugin.getMobIdbyName(EggPlugin.java:86)
            at nl.robinvandervliet.EggPlugin.EggPlugin.reload(EggPlugin.java:168)
            at nl.robinvandervliet.EggPlugin.EggPlugin.onEnable(EggPlugin.java:62)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    I'm not sure if more info is needed, if so, please let me know! :D
    Awesome plugin btw!
     
  20. Offline

    jswill

    also agree with the earlier suggestions for an in-game command,
    maybe just:
    /egg mob [mobname]
    /egg fire, etc.

    the [mobname] could be optional, and omitted for random mobs
    eg: /egg mob

    or /eggplugin, but an in-game command is definitely necessary, and 100x more convenient
     
  21. Offline

    Anthony Walker

    Is it possible so instead of having one mob come out you can make it so it is randomly generated? Like if I throw an egg it will choose one of the mods at complete random?
     
  22. Offline

    pre-pentium

    Could you link directly to the jar file?
    It'd make update scripts simpler...

    Just a thought
     
  23. Offline

    robin0van0der0v

    I link directly to the .jar-file. ;)
     
  24. Offline

    pre-pentium

  25. Offline

    Mitsugaru

    I cannot seem to get the plugin to work for some reason, and there are no errors in the server log.
    When I start the server, it logs that EggPlugin 1.4 is enabled with permissions. The config file and folder were created properly, and I didn't bother to modify them since the default is what I wanted.

    I have tried it in my test bed server, where the only plugins are: Permissions, Essentials, EssentialsSpawn, IonCannon, MultiVerse, EggPlugin

    I've been walking around a wide, flat area throwing a stack of eggs yet nothing seems to spawn.
    I'm admin, with all command permissions, - '*'
    I'm running the latest, CB 677.
    Any help is appreciated.
     
  26. Offline

    robin0van0der0v

    Does there spawn chickens or nothing? :p
     
  27. Offline

    Mitsugaru

    Nope, nothing. The eggs are still there, and I'm guessing they're supposed to disappear?
    I can use the command /spawnmob chicken, and that works, but not the same and probably irrelevant.
     
  28. Offline

    pre-pentium

    When you say that you are throwing them, are you using right click to throw?
    They should break if you throw them and don't have the plugin enabled...

    The only time that they should stay there is when you are pressing the drop key.
     
    Mitsugaru likes this.
  29. Offline

    Raptor2213

    Code:
    egg-type=mob
    egg-mob=Wolf
    Seems to only spawn angry wolves bent on murdering everyone, rather than the standard neutral wolves.
     
  30. Offline

    Mitsugaru

    Yeah, my fault. I had thought throw/drop were the same thing since an item dropped is sorta thrown a ways so its not picked up immediately...

    Sorry for the mistake. And thanks for an awesome plugin.
     
  31. Offline

    Kainzo

    can you give a little more permission node configurations? Some people may want just fire eggs and not ice.
     

Share This Page