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

  1. Stop your server.
  2. Place the PwnChickenLay.jar in your /plugins directory.
  3. Start your server, note that the /plugins/PwnChickenLay/config.yml file has been created.
  4. Stop your server.
  5. Edit the /plugins/PwnChickenLay/config.yml to your liking. Most Recent Config.yml
  6. 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

Most Recent Config.yml

  • 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 settings
  • Allow 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.

 


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit