Reward Example
Configuration Guide for Time Reward type
General Settings
Note that each reward type has its own properties in addition to the shared properties. You can set these properties for each of the reward types.
Enable Reward Claiming
enabled: Set to
true
to allow rewards to be claimable.
Reward Type
type: Specifies the type of reward. Use
time_reward
for time-based rewards.
Reward Tag
tag: A label for the reward, used for identification.
(Optional) Reward Command
command: The command by which the reward can be claimed, /timereward in this case.
Cooldown Settings
Cooldown Duration
cooldown: Number of units before the reward can be claimed again.
Cooldown Unit
unit: Unit of time for the cooldown (e.g.,
hours
,minutes
).
General Cooldown Display Format
cooldown-general-format: Format for displaying the general cooldown time.
Specific Cooldown Display Format
cooldown-format: Format for displaying the cooldown in reward GUIs.
Availability Settings
Available After First Join
available-after-first-join: Set to
true
to make the reward available immediately after a player's first join.
Live Reminder
live-reminder-enabled: Notifies players when the reward is available.
(Optional) Required Inventory Slots
required-slots: Number of free inventory slots required to claim the reward.
(Optional) Permission Requirement
permission: Permission node required for the player to claim the reward.
Item and Display Settings
Available Item Display
available-item: Item displayed when the reward is claimable.
available-display-name: Display name for the available reward item.
available-lore: Lore description for the available reward item.
Unavailable Item Display
unavailable-item: Item displayed when the reward is under cooldown.
unavailable-display-name: Display name for the unavailable reward item.
unavailable-lore: Lore description for the unavailable reward item.
No Permission Item Display
no-permission-item: Item displayed when the player lacks permission.
no-permission-display-name: Display name for the no-permission reward item.
no-permission-lore: Lore description for the no-permission reward item.
Reward Actions
Commands Executed on Reward Claim
actions: List of actions and commands executed when a reward is claimed.
80: Set of actions with 100% execution chance.
20: Actions with a 20% execution chance.
Variants (Optional)
Reward Variants
variants: Optional reward variants based on player permissions.
premium: Example variant with specific permissions and actions.
This guide provides a clear breakdown of each configuration setting, ensuring that you can set up and customize the reward plugin to your needs.
Last updated