Plugin to manage streaks and daily rewards.
Added a new path: hide_tooltip: true in any item section.
Some other functions I don't see necessary to add, but if you think I should add them you can let me know by a ticket.
1. Function use_exact_delay - Default setting: false
This option controls how the waiting time between daily claims is handled.
If set to true, players must wait exactly 24 hours after their last claim before they can claim again, regardless of whether the calendar day has changed.
Example: If a player claims at 3:00 PM, they will be able to claim again at 3:00 PM the next day.
If set to false, the system will use the traditional method based on the day change according to the server's timezone.
Example: If a player claims at 3:00 PM, they will be able to claim again after midnight (00:00) of the same server or timezone, even if 24 full hours have not passed.
2. You can now use requiredSlots in the streak and playtime system.
3. A major change was made in the stock system (No new changes, only internal systems) (Any problem report it).
4. Update - Addon | TheRewards Voucher Reward
1. Fixed issue (join message) when checking requirements.
2. Fixed issue with placeholder %therewards_player_available_reward_{Reward}%.
3. Fixed problem with not allowing to use colors in titles if <delay> was used.
1. Fixed problem with != condition now accepts numbers and text.
2. Removed debugging
1. Improvements in the requirements system.
2. You can now add text on the same line as {requirements} as only {requirements} will be replaced.
3. A dependency unloading system was implemented. This change allows to reduce the size of the final plugin by unloading dependencies at runtime.
4. You can now allow or disallow the display of empty requirement lines.
5. You can now use placeholders in the success and fail section of each requirement.
6. You can now set subsequent requirements to be hidden until the first one is completed.
1. Fixed problem with default configuration
2. Fixed problem not allowing to load requirements
3. Now you can use {requirements} in streak and playtime lore
1 First version of addons
2 Added the commands import export, data export to migrate from sqlite to mysql or vice versa.
3 added a debug
4 New fixed back and close buttons
5 you can now disable back, close, next, previous buttons
1. Async changes when saving or editing data in storage
1. Implemented system of requirements in game time and streak.
2. Implemented a system to disable per world.
3. Now you can activate or deactivate the glow in reward items.
4. Now you can set item flags on reward items.
5. Changed hide_attributes to item_flags.
6. Now shows how many rewards, playtimes and streaks exist and if any of them have an error when using /therewards reload.
1. Improvements in the info command
2. You can now use {failed-streak} in JOIN_RESET to see the streak the player lost.
3. You can now receive a message if you have a streak available (must be enabled in the configuration).
4. If an invalid file is found in the bounty folder it will now be skipped avoiding an error.
5. Improvements in getting the streak status in the placeholder.
6. Fixes to the reset command (It will no longer reset all stats, only the ones you want to reset).
7. Now checks if the reward meets the requirements and tries to load it as a valid reward.
1. new Transfer command
2. Changes in UpdateChecker (Important to update)
3. Small changes in info command
4. Added requiredSlots
5. Changes in placeholders + 4 new ones
6. Updated Wiki
1. Removed Prompt when removing all player data
2. You can now prevent the streak from restarting when failing a day.
3. Can now use {player} and {available-rewards} in actions
4. Folia support
1. Removed println
2. You can now set playtime to offline players
3. Now you can only delete playtime with the “delete” command.
4. Fixed bug when deleting all data of a player and trying to recover a playtime.
5. MiniMessage now works for 1.21+
6. Error when opening the menu