SurpriseEggs

SurpriseEggs v2.0 has been released! Currently looking for documenters!
Hold a dragon egg and then right click......Whooo! You opened a dragon egg!
Features
With this plugin, players that have permissions can open dragon eggs and get random rewards by type in a command or right click on a placed egg. Sure, everything is configurable!
Commands
- /se open - open eggs on your hand
- /se reload - reload configs
Permissions
- SurpriseEggs.use - right click to open an egg
- SurpriseEggs.open - use /se open
- SurpriseEggs.reload - use /se reload
(OPs have all permissions above by default)
Auto-Updater
This plugin contains an auto-updater to check updates and notify you in order to make sure you are using the newest, not buggy version.
However if you want to disable this feature for some reasons, you can set checkUpdate to false in plugins/SurpriseEggs/config.yml.
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service for this plugin can be done by editing plugins/SurpriseEggs/config.yml and changing useMetrics to false.
TODO List
(Done),(Cancelled), (Planning)- Add percentage support. (Done in v1.1.3)
- Add economy support. (Done in v1.1.3)
- Add Multi-Type Eggs. (Done in v2.0.0)
- A complete recode. (Done in v2.0.0)
- Add random durability and amount support. (Done in v2.0.0)
Donate
I am just a student who put a lot of time into this project and do my best on it.
If you love it, feel free to donate a little to my PayPal account: 
Thank you, it is the best way to support the development and encourage me.
Known Problems
- None so far.
My Other Plugins
- LootCrates - Another awesome crate plugin, but only gives out one item per crate.
- BetterPositionTP - A better way to travel around the world(jk, but it is simple and useful).

Sorry for my bad English. If you find any grammer or speech mistake, please PM me. <3
-
View User Profile
-
Send Message
Posted Apr 16, 2014@asddsa11
Will add it in v1.1.3
-
View User Profile
-
Send Message
Posted Apr 16, 2014@RiJaCo
This will need a recode for my config loading system. It may get out in version
1.2.EDIT: Not 1.2. It will be in v1.13 I guess.
You can only multiply the chance by int so far.
EDIT: It can be done in another way that I can do that in 1.1.3. (Not really ——>)
However it could impact the performance.-
View User Profile
-
Send Message
Posted Apr 16, 2014@ChengZi368
I just downloaded it in hope that I could adjust the percentages. Sadly not. Will re-download if this can be implemented! - Ricky.
-
View User Profile
-
Send Message
Posted Apr 16, 2014can you add == /se add == command to add item you are holdeing in game
-
View User Profile
-
Send Message
Posted Apr 16, 2014@gabrielmaennl555
Also, chance only accept int higher than 1 now. 0 means 1 for now.
-
View User Profile
-
Send Message
Posted Apr 16, 2014@gabrielmaennl555
That config is unformatted. Please change it :)
-
View User Profile
-
Send Message
Posted Apr 15, 2014i think its a bug where evry item past an amount dosnt work
-
View User Profile
-
Send Message
Posted Apr 15, 2014theres an error :( the 64 wood won't show up here is my config:
<<code >>-
View User Profile
-
Send Message
Posted Apr 15, 2014@Koolzskillz
That can be possible. I will take a look of it later.
-
View User Profile
-
Send Message
Posted Apr 15, 2014@imaboy321
I had fixed that. But Bukkit is so annoying on uploading files. So I didnt upload it.
-
View User Profile
-
Send Message
Posted Apr 15, 2014I have an idea make to so you can edit the % of every item like
Bread 50% change Diamond-Sword sharpness 5. 5% chance And so on
-
View User Profile
-
Send Message
Posted Apr 15, 2014Hey cheng, I can help fix the options that are not working.
-
View User Profile
-
Send Message
Posted Apr 15, 2014i sent a PM :D
-
View User Profile
-
Send Message
Posted Apr 15, 2014@gabrielmaennl555
Yes. It needs to be approved by an admin.
-
View User Profile
-
Send Message
Posted Apr 15, 2014Yay! ;D ill test it! ;D
EDIT: have you uploaded the new version yet? ;D
-
View User Profile
-
Send Message
Posted Apr 15, 2014Version 1.1.1 is out!
-
View User Profile
-
Send Message
Posted Apr 15, 2014ok chance:1 does seem to work tho but the thing is none of the items after a specific number of items like on mine it dosnt work at "gold record" and after
EDIT: i can't have over 10 items or it dosnt work ill try reinstalling the plugin
-
View User Profile
-
Send Message
Posted Apr 15, 2014@gabrielmaennl555
Colored armor will be added in 1.1.1....
EDITED: I tested with lastest version. all fine. Check if your formats are right.
EDITED2: Also, you should never use chance:1. It is same as nothing.
-
View User Profile
-
Send Message
Posted Apr 15, 2014also i found another error Items like at the end of the item list don't work - RECORD_12 1 chance:10 - DIAMOND 1 chance:4 - BREAD 5 chance:30 - BREAD 64 chance:5 - COBBLESTONE 64 chance:5 - COBBLESTONE 5 chance:5 - REDSTONE 32 chance:7 - WEB 1 chance:15 - STICK 1 chance:18 - DIAMOND_SWORD 1 lore:&2<est1 lore:&ctest2 enchant:DAMAGE_ALL 1 chance:1 - DRAGON_EGG 1 name:&aB&dO&eN&bU&fS_&6EGG! lore:&aSUPER_LUCKY! chance:1 - GOLD_RECORD 1 chance:10 <
-the items past this one don't work they don't ever show up in the surprise eggs even if their chance is 1000 - NAME_TAG 1 chance:7 - GREEN_RECORD 1 chance:10 - RECORD_3 1 chance:10 - RECORD_4 1 chance:10 - RECORD_5 1 chance:10 - RECORD_6 1 chance:10 - RECORD_7 1 chance:10 - RECORD_8 1 chance:10 - RECORD_9 1 chance:10 - RECORD_10 1 chance:10 - RECORD_11 1 chance:10-
View User Profile
-
Send Message
Posted Apr 14, 2014also is their a way to put colored armour in the eggs? ;D