About Eggs
Injects a chicken with a random egg (Harvested from their corpses) you can upgrade using 10 of them in to bronze eggs then into silver and gold eggs.
This is the start of a series of animal( roleplay ) Plugins.
Features :
- Having a set chance to get a chicken corpse giving a egg.
- Eggs can be upgraded from regular to golden (easter egg system) using 10 eggs per grade.
- The eggs are limited to 1 egg per corpse ignoring the gathering multipliers from GatherManager and Zlevels.
- Option to disable chat messages when finding a egg through config.
Eggs that can be found :
- Egg (Regular Egg)
- Bronze Egg
- Silver Egg
- Gold Egg
Permissions :
- eggs.chat : Permission to use the /egg commands
Commands :
- /egg info : Shows plugin info/version/author (Or any info edited in the language file about the event)
Configuration :
- Debug is set to true by default (set to false if you dont want every action loggd to console)
- Chance on Egg Injection : The chance a chicken corpse is injected with a egg in %
- Chance on X Egg : Is the chance it will be this grade (if golden is not triggered it checks silver then bronze then regular)
Default Egg : if none of the Egg grades where triggered it will use this egg.shortname.
- The following egg.shortnames can be used :
- easter.paintedeggs (This is used as a Regular Egg)
- easter.bronzeegg
- easter.silveregg
- easter.goldegg
The custom names in CFG are shown on the item !
{ "Main config": { "Debug": true, "Show Chat messages": true }, "Egg injection Settings": { "Chance on Egg Injection (0-100)": 100.0, "Chance on Regular Egg (0-100)": 50.0, "Chance on Bronze Egg (0-100)": 25.0, "Chance on Silver Egg (0-100)": 20.0, "Chance on Golden Egg (0-100)": 10.0, "Default Egg": "easter.paintedeggs" }, "Max eggs when using multiplier plugins": { "Max Regular Eggs": 4, "Max Bronze Eggs": 3, "Max Silver Eggs": 2, "Max Golden Eggs": 1 }, "Custom egg names (suggest to keep default)": { "Regular egg": "EGG", "Bronze egg": "BRONZE EGG", "Silver egg": "SILVER EGG", "Gold egg": "GOLD EGG" } }
Localisation :
English language file included to use a different language just make a new file in the language folder.
The Egg name sin language file are used for the messages!
{ "EggRegular": "Egg", "EggBronze": "Bronze EGG", "EggSilver": "Silver EGG", "EggGold": "Gold EGG", "Info": "\n<color=green>Available Commands</color>\n<color=green>/egg info</color> : Shows info on version/author and commands", "InvalidInput": "<color=red>Please enter a valid command!</color>", "FoundEgg": "You found a <color=#4A95CC>{0}</color>", "Version": "Version : V", "NoPermission": "<color=green>You do not have permission to use that command!</color>" }