EggsManager
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
-
View User Profile
-
Send Message
Posted Jan 28, 2012It would be a BIG + if you could have a config file for each world.
-
View User Profile
-
Send Message
Posted Jan 26, 2012This permission does not affect if you're an admin or not! (<
What does this mean?)FUTURE FEATURES:
^This means the plugin effects everyone weather you have * or not because the plugin does not support permissions, is what your saying right now?
Just put this plugin doesn't support any type of permissions and effects everyone... That makes more sense lol.. But yah would be a totally awesome plugin with permissions
-
View User Profile
-
Send Message
Posted Jan 20, 2012PLEASE make permissions, and also maybe an option to disable normal chicken eggs!
-
View User Profile
-
Send Message
Posted Jan 18, 2012Instead of having a config file to control mob spawn types you should have it all permissions based so that you can have it so that you have to specifically allow permission to spawn eggs. That way different groups can be allowed to spawn different egg types. Or maybe restrict the types of mobs by world by using a permission system. Example:
eggsmanager.spawn.ghast would allow the user to spawn a ghast.
eggsmanager.spawn.* would allow the user to spawn any mob.
EDIT: I sent a pull request with the changes needed to make this a reality.
-
View User Profile
-
Send Message
Posted Jan 16, 2012thnx :)
-
View User Profile
-
Send Message
Posted Jan 16, 2012-
View User Profile
-
Send Message
Posted Jan 16, 2012Ivanpro: There is already another plugin for that, so i don't think i will. If the other plugin still doesn't support permissions after i add permissions for this plugin, i will maybe add it as an option, if more people request it.
Grovert11: What is the "most wanted" permission setting? Cause then i will hurry up and make a version with that specifik! I can properbly very quickly do so that only OP's is allowed to use commands?
-
View User Profile
-
Send Message
Posted Jan 16, 2012Will use this in the beginning, but hope you add permissions very soon! Otherwise I will search another plugin ;)
-
View User Profile
-
Send Message
Posted Jan 16, 2012Can you add a egg drop from mob?
-
View User Profile
-
Send Message
Posted Jan 14, 2012Tauryuu: I have just uploaded the source to a .zip file here: https://github.com/Madsens/EggsManager/downloads
I didn't really know how to upload my project files any other way, so i hope this i fine. :)
-
View User Profile
-
Send Message
Posted Jan 14, 2012xXReVurbXx: Thx! I made it for a friend, but why not share it with you guys. :)
Technius & Tauryuu: I've started to set up my GitHub account. This is my first plugin, so i don't really know how it works. When i get it to work, i will paste the link in the end of the descript + make another comment with it here! :)
-
View User Profile
-
Send Message
Posted Jan 13, 2012Nice, this could come in handy very soon. :O
-
View User Profile
-
Send Message
Posted Jan 13, 2012@Tauryuu
Just decompile it...
-
View User Profile
-
Send Message
Posted Jan 13, 2012Upload source to GitHub? :D