EggsManager

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

With this plugin it's easy to manage what eggs is allowed to use place, or not.
It does support permissions! You can choose via the config file to use permissions or not!
Set the player permission for the specifik egg to true, to allow placing that egg!
See permissions further down!

As an ekstra feature, you can also disable the ability to hatch chickens by throwing eggs!

It got 2 commands.

1. /eggsmanager reset true This command will create a default config file or reset the existing one to default.

2. /eggsmanage reload true This command will reload the the config file.

If an egg is blocked in the config.yml file, it won't be able to be spawned from dispensers either! Use V 0.3 if you don't want that feature!

Here's an example of the config file:


eggsAllowed:
  skeleton: false
  creeper: false
  slime: false
  zombie: false
  spider: false
  chicken: false
  cavespider: false
  cow: false
  enderman: false
  wolf: false
  pigzombie: false
  squid: false
  magmacube: false
  sheep: false
  blaze: false
  villager: false
  silverfish: false
  pig: false
  ghast: false
  mooshroom: false
  ocelot: false
permissions:
  usePermissions: false
eggHatching:
  eggCanHatch: false
messages:
  touser: true
  usermessage: You cannot place this egg!

As you can see above in the default config file, all mobs is not allowed to be placed! This means that when a user places an egg that spawns those mobs, he will not be allowed, and will get a message!

To enable permissions, and disable the config file, set "usePermissions" to 'true'. To allow players to hatch chickens by throwing eggs, set "eggCanHatch" to 'true'. To turn of messages to player when doing something they are not allowed to, set "touser" to 'false'.

Heres an example of a permissions file for a specific user:

users:
    Madsens:
        permissions:
            eggsmanager.throwegg: true
            eggsmanager.skeleton: true
            eggsmanager.creeper: true
            eggsmanager.slime: true
            eggsmanager.zombie: true
            eggsmanager.spider: true
            eggsmanager.chicken: true
            eggsmanager.cavespider: true
            eggsmanager.cow: true
            eggsmanager.enderman: true
            eggsmanager.wolf: true
            eggsmanager.pigzombie: true
            eggsmanager.squid: true
            eggsmanager.magmacube: true
            eggsmanager.sheep: true
            eggsmanager.blaze: true
            eggsmanager.villager: true
            eggsmanager.silverfish: true
            eggsmanager.pig: true
            eggsmanager.ghast: true
            eggsmanager.mooshroom: true
            eggsmanager.ocelot: true
        groups:
        - admin

Please suggest new features by PM, or comment below!

By: Madsens


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    35636
  • Created
    Jan 13, 2012
  • Last Released File
    May 18, 2012
  • Total Downloads
    4,358
  • License

Categories

Members

Recent Files