- Fixed bug when in shuffle reward type when no items were configured (only ghost items with money or pure command) exception was thrown now player will move to next day
- Fixed a bug when shuffle reward type did not open end GUI correctly instead just dropped item on a ground
Item name in item config is much more user friendly to write for example in previous system only first one
would be accepted now all are valid.
IRON_INGOT
IRON INGOT
iron_ingot
Iron Ingot
Iron_Ingot
- Base negative sound changed from ENTITY_HORSE_HURT to BLOCK_NOTE_BLOCK_BASS
Main Configuration file has been simplified all sections are directly in the file not under unnecessary main section
Positive and negative sounds are switchable in main config
- No longer stores dates and data in different folder
- UUID is storred only in file name
Thanks to this change startup is much faster (Unless it is a day when purge is set)
Ram usage is much much lower.
Restart command renamed: restart -> reload
Restart Items command renamed: restartItems -> reloadItems
Permissions also changed accordingly
Plugin uses much less RAM and a bit less disk space.
May be also potentially a bit faster
Random Reward types (Shuffle and Slide) are now giving exactly the same reward when player closes GUI before complete animation
Mix and shuffle reward type are now giving money for correct items
Item Config now supports custom commands you can provide any string in 'Command' section fro player name support insert
%player% instead of real player name
A lot of minor bug and lang fixes
Mix Reward Type
- New and final reward type
- Can give only one item and money
- Items in the mix will be chosen by join ID
- Items will go every 0.5 sec from right to left
Shuffle Reward Type
- New Reward Type that opens GUI and shuffles all items joined by the same id from current day for the player
- You can change if you want to purge data from players that has been offline for X days (Turned off on default)
Dates String like
- Year
- Month
- Day
- Hour
- Minute
Can be modified in lang config
- All items can now have custom lore (Can be modified in items config like everything else)
- When Reloading main config and item config time will be displayed how much this took in ms
- Better text information after typing /reward command
You can now modify how many hours player need to wait before getting next reward
- Min 0 (Please don't)
- Max 1'000'000
New Admin Command moveReward
- It can add or subtract exact amount of hours from the date when player can get next reward
- Usage moveReward <playerName> <value>
- Reward Info date is now nicely formatted
- Reward info message can be configured in lang.yml
New config options
- After how much time reward will time out
- If reward time out should it be hard reset to first day or should it just remove some days
- If reset is soft how many days it should remove
All plugin sounds are now adjustable in config
- Positive sound when player gets reward
- Negative sound when player cannot yet get reward or some plugin error will occur
- Rewards in GUI are now centered
- If multiple same joinID reward have money they will now join it into one reward and so longer spam messages
Removed all tribe aliases
- Commands permissions are shorter tribeDailyReward -> tDailyReward
- Plugin main folder name chnaged to TDailyRewards
- Config now has auto generated comments that clarify what which option does.
- Comments in item config now clarify what joinID does
- If player has not claimed reward for over a day he will go back to the first day
- Time out message is now customizable in lang
- Default item config improvements
- Plugin now supports joining multiple items from one day into one item by new Item Config parameter JoinID
- To do this add "JoinID" = 4 (or any number other than 0) into two or more items from the same day.
- Safe dropping multiple items on the player when he has no inventory space
- When player has no inventory space in reward type one items will no longer be lost they will be dropped below him
- In type two when GUI is not empty when closing items will also be dropped
You can now choose in main config if reward will be shown instantly or with GUI
- Auto generated items config provides commented item with all possible customizable attributes ready for copy-paste
Dynamic reset of main configuration file (also used language) with /reset
Dynamic reset of item config with /resetItems