Description
name: EXAMPLE
This is the name of the reward, in this case, it is called "EXAMPLE".
countdown: 300
This is the time in seconds before you can claim the reward again. In this case, the countdown is set to 300 seconds (5 minutes).
oneTime: false
This indicates whether the reward can be claimed only once or several times. In this case, it is set to "false", which means that the reward can be claimed more than once.
update: false
This setting refers to whether the reward will be updated automatically. In this case, it is set to "false", which means that the reward will not be updated automatically.
requiredSlots: -1
Here you can add a minimum slot requirement that the player must have free. use -1 not to use it.
require_permission:
Here you specify whether a specific permission is required to claim the reward. In this case, it is enabled and requires the "rewards.example" permission.
slot: 11
This is the slot number in which the reward will be displayed in the rewards menu.
page: 1
This is the reward menu page where the reward will be displayed.
requirements:
This section lists the requirements that must be met to claim the reward.
actionsOnClaim:
Here are listed the actions that will be performed when the reward is claimed. For example, give coins to the player, display a message, play a sound, etc.
Important (Slots)
If you want to put multiple rewards in different slots... (if you use a texture) you can use the following slot format.
-slot: 1,2,3,4
Using this format the compensation will be added in slots 1, 2, 3 and 4.
Requirements
You will be able to set requirements before claiming a reward. If you do not wish to use requirements you can use:
Number
">="
(Greater than or equal to): Checks if the value of the variable is greater than or equal to the value specified in the condition.">="
(Greater than or equal to): Checks if the value of the variable is greater than or equal to the value specified in the condition."<="
(Less than or equal to): Checks if the value of the variable is less than or equal to the value specified in the condition."=="
(Equal to): Checks if the value of the variable is equal to the value specified in the condition."!="
(Different from): Checks if the value of the variable is different from the value specified in the condition.">"
(Greater than): Checks whether the value of the variable is greater than the value specified in the condition."<"
(Less than): Checks if the value of the variable is less than the value specified in the condition."<-"
(Contains): Checks if the variable contains the substring specified in the condition.
Text
"<-"
(Contains): Checks if the variable contains the substring specified in the condition."!="
(Different from): Checks if the value of the variable is different from the value specified in the condition."="
(equal to): Checks if the value of the variable is equal to the value specified in condition"|-"
(Starts with): Checks if the variable starts with the substring specified in the condition."-|"
(Ends with): Checks if the variable ends with the substring specified in the condition.
Examples
items | Material
Actions On Claim
Template
Last updated