Features
Rewards based permission and cooldown time
The plugin allows you to create an unlimited amount of rewards based permission, cooldown and type.
Reward Storage data example:
rewards:
daily: # reward id - section
enabled: true
name: '&7&lDaily' // display name
permission: daily // %ultimaterewards_reward_daily%
cooldown: 1440 // X minutes
type: SINGLE // reward type
commands:
- eco give %player% 200Cooldown Storage data example:
cooldowns:
daily:
LvEUyJPqgYuSbAIa:
uuid: 69d883bf-5a0d-4609-9b4f-13afaef4456b
rewardID: daily
time: 1618166707796Reward Types
type: SINGLE : execute the first command on the list.
type: SINGLE : execute the first command on the list.type: MULTIPLE : execute all commands on the list.
type: MULTIPLE : execute all commands on the list.type: RANDOM : execute by random one command from the list.
type: RANDOM : execute by random one command from the list.Purge System
To save memory and disk space, the purge system will purge every ended cooldown or unexists rewards in cooldown data file or ingame, you can customize the system as you want from config.yml:
Last updated
Was this helpful?