Skip to content

A Bukkit plugin that randomly puts wild animals in love mode, creating natural population increase.

License

Notifications You must be signed in to change notification settings

cgokmen/WildSex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Logo

WildSex 4 Build status

A Bukkit plugin that randomly puts wild animals in love mode, creating natural population increase.

Download Now

Configuration

The config.yml file supports the following settings:

  • mateMode (false by default) pairs animals with a close pair and then sets both on love mode, guaranteeing reproduction in the case where there is an eligible pair close by.
  • maxMateDistance (4 by default) the maximum distance two animals can be apart in order for the plugin to pair them
  • interval (10 by default) the number between two WildSex runs, in minutes.
  • chance (0.1 by default) the possibility of a random animal being set on love mode. 0 disables the plugin and 1 sets every animal on love mode on every run.
  • maxAnimalsPerBlock (2 by default) how many animals should there be per one block? this is the maximum value where the population will plateau, effectively stopping reproduction
  • maxAnimalsCheckRadius (3 by default) for how many blocks around the individual animal should the above limitation hold? For example, if you specify 2 animals and a check radius of 3, the plugin will check to see that there aren't more than 18 ( = 2 * 3 * 3 ) animals in the 3x3 area around the animal.
  • autoUpdate (true by default) updates the plugin automatically whenever a new version is released. All versions will maintain backwards compatibility, so keeping this on is a good idea.
  • removeXP (true by default) whether or not the XP produced by the breeding of the animals should be removed automatically.

Supported Versions

All CraftBukkit & Spigot releases for:

  • 1.10.2
  • 1.11

(Older versions have been dropped with WildSex 4. You can try earlier versions for support.)

Known Bugs

  • The XP removal successfully sets the XP drop to zero, but Minecraft still spawns XP orbs (which, when picked, give 0 XP)

To do

  • Improve density checking
  • Use a timer to remove Oxp orbs.
  • Add feature to block non-wildsex animal breeding.
  • Add a feature to allow animals to breed depending on their hunger status (eating grass).

Special thanks to

Source

Available for you to fork on Github!

License

Released under the MIT License.

Feel free to download, edit and redistribute, but do not forget to give proper credit.

About

A Bukkit plugin that randomly puts wild animals in love mode, creating natural population increase.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages