PwnChickenLay
Control what your chickens lay and how often! Want to block egg laying entirely? Want chickens to lay eggs and every so often, lay bricks instead? Want chickens to lay gunpowder instead of eggs? It's all up to you.
This plugin was originally designed to slow down or disable the rate at which Chickens lay their eggs, so your server's economy and food supply aren't overwhelmed by players exploiting that chicken farm. Pumpkin Pie and Cake will be worth something again, and chickens won't be running around rampantly taking over your server!
But now as of Version 0.6 - we've added some fun to PwnChickenLay! Instead of just controlling egg laying rates, you can replace eggs with other item drops! Replace eggs with AIR to make chickens lay nothing at all, or, maybe those chickens will lay golden eggs.. or diamonds? Imagine the possibilities.
Background
Per - http://www.minecraftwiki.net/wiki/Chicken_egg - "An Egg is a food item laid by Chickens every 5–10 minutes (it takes 40 minutes for 9 chickens to lay 50 eggs, so 7.2 minutes/egg)."
Now for simple math. Double chickens to 18, 50 eggs in 20 minutes. Double chickens to 36, 50 eggs in 10 minutes. 72 chickens, 50 eggs in 5 minutes. That's 10 eggs per minute or 1 egg every 6 seconds.
This is very much an exploitable problem and PwnChickenLay aims to fix that for server owners.
Installation
- Stop your server.
- Place the PwnChickenLay.jar in your /plugins directory.
- Start your server, note that the /plugins/PwnChickenLay/config.yml file has been created.
- Stop your server.
- Edit the /plugins/PwnChickenLay/config.yml to your liking. Most Recent Config.yml
- Start your server.
Note: It is important to always test ANY plugin you install prior to deploying it for production, you as a server admin, should always consider this to be Rule #1 of running a server.
Configuration
- Always check your configuration file against the most recent version when installing or updating ANY plugin. Changes in configurations can alter the way in which your server and plugins function.
- In PwnChickenLay the primary configuration value is layChance. A layChance of 100 will ALWAYS lay chicken eggs. A layChance of 0 will always lay something from your replacement list.
Commands
- /pwnlay reload - Reload the config.yml so that new changes update without a server restart.
- /pwnlay save - Save the current config.yml (for future enhancement of in-game config edits).
Permissions
- pwnlay.pwnlay - Permission to use the /pwnlay command.
To-do / Bugs
- Stop the sound of eggs being laid even when none drop due to this plugin. (May not be possible without packet modification)
Command to reload config- Edit config from in-game?
Per world custom settingsAllow chickens to drop items with enchantments and lore
Video
Links & Info
- PwnFilter - Absolutely the best and most powerful chat and command filtering plugin available. Also does aliases, scripting, sign and anvil text filtering and so much more.
- PwnPlantGrowth - Take control over plant growth, per biome configuration on all growables.
- ResPwn - Configure useful and fun player respawn options like temporary forcefields, armor and weapons.
- PwnPvpBalance - Balance the tide of uneven game mechanics with options to help players with poor PvP skills be more competitive, and give good players a better challenge.
- Pwn9.com - Visit the Pwn9 Gaming Community, the place we call home. Check out our Minecraft servers, other game servers and fun gaming community.
- Discord Channel: Join #pwn9 on http://discord.pwn9.com - feel free to ask plugins questions on the channel or just come hang out with us.
Plugin Metrics
This plugin utilizes bStats plugin metrics system, which means that some information is collected and sent to bstats.org.
If you don't want that your server sends data to bStats you can disable it by setting enabled to false in the bStats config file. The config can be found in the /plugins/bStats/config.yml file. bStats has nearly no effect on your server's performance and the sent data is completely anonymous so please consider twice if you really want to disable it.
It might be a smart idea NOT to make chickens lay diamonds in the default config, especially since the plugin uses the default config for values not in the "filled out" config on the server, and doesn't add the new per world config section automatically.
Overnight my server had a right fun time collecting free diamonds from chickens. We have a tight economy with limited diamonds so.. yeah my morning has been rather interesting cleaning up that mess.
Should have an update for 1.7.2 approved soon, only new feature added this update is the addition of a debug_log: true/false setting in the config.. which will log all the plugin's activity in its own log file (development purposes - I wouldn't use in production, the log could get very big).
@tremor77
thank you for updating! i love this plugin very much! saves me a lot of time and space and creativity.
@cg49me An update v0.9 has been uploaded pending bukkit approval that will enable perWorld settings.
@jonidippThanks!
best plugin ever.
@cg49me Brilliant! Thanks, I've been wondering what else I could do to improve.
Suggested feature: different behavior values (laychance, replacewith) for different worlds.
@CR30 It probably will, I haven't tested. I can't think of any reason it would not work as far back at CB 1.4 ish.
works well with earlier versions?
@tycraft333 No commands, just install plugin, edit the config, restart. Maybe I'll add some commands in the future to reload the config, or edit settings.
is there any commands? im a bit confused!?!
@tremor77
Thanks tremor! Awesome :)
Updated PwnChickenLay with some fun new features! Try it out!
@Tritek This should continue to work for all later versions, 1.5, 1.6, but I'll make a note to make sure it's up to date.
Works fine with 1.5.2?
PwnChickenLay v0.3 is out and approved and this project is officially off the ground. There really isn't more to do outside of the chick pop sound. Enjoy!
@tremor77
Could you provide a link to the download? Once you upload it to BukkitDev, it's still available, but only by a direct link.
Edit: ah found it! http://dev.bukkit.org/server-mods/pwnchickenlay/files/2-pwn-chicken-lay-v0-2/
Just wanted to note for anyone who finds this, to wait til at least v0.2 is uploaded before using, v0.1 is a bit buggy.