Update that carry on tests and other cool enhancements
SOOOO...
Finally, i decided to update my plugin on spigot. So let's see what i've done to this update.
NEW:
- Plugin now grab some statistics about grabing chests by players. To see top-10 player's sorted by total amount of grabbed chests type
/hunttop. To see top-10 players sorted by total value type
/hunttop value. To see your own statistics type /huntstat. - Now strings YouAreClosest and PlayerCloseToChest in localization.yml works! Players can see if someone else will be very close to chest! - To define distance after wich player will be very close to some chest and after wich other players can see that some other player is very close i've added parameter ClosestAfter in config.yml. It measured in blocks. By default it will be 200 blocks. - Parameter CheckDelay in config.yml migrate to Search section. - I've improove /huntlist. Now you can see permission for each chest! - Command
/huntreload now works correctly. It reloads all configuration files.
- Some changes in configs of treasure's. Now every treasure must have
Name and
DisplayName parameters.
DisplayName - name that will be displayed to players in game.
Name - plug-in name that can be used in tests and command to spawn certain treasure.
- I added new possible parameter in treasures configs.
AppearMessage can override default message about spawning of treasure. If it described in config, that message will be used for broadcast to players about it's spawining.
- Now you can spawn certain treasure using
/huntstart. Example:
/huntstart noob_epic - will spawn treasure with Name: noob_epic. Example:
/huntstart here noob_epic - will spawn treasure with Name: noob_epic and with location where you are.
Tests
I added some cool features to calibrate spawn chances of different treasures and some other options.
Command
/hunttest [amount] - is a simple test that can be used to see the sample of [amount] treasures. For example -
/hunttest 100 - will choose 100 chests to fake spawn and you can see an amount of each treasure in this sample of 100 treasures.
Permission - th.test Command
/hunttestloc [name] [amount] - is advanced test that checks not only chances, but location too. Thus that test is harder for the machine and i
recommend to set amount no more than 15. Example -
/hunttestloc noob_epic 10 - try to fake spawn 10 times treasure with Name: noob_epic. Example -
/hunttestloc 10 - try to fake spawn random treasures due to its chances.
Permission - th.testloc Each test stored in folder Tests. And name of each - date of the test.