Custom Conditions
With RocketPlaceholders you can create custom conditions to view the text.
You can view requirement types here.

Creating a condition

Here is an example to learn how to create a custom condition.
Let's add a custom permission condition on this placeholder:
1
1:
2
placeholder: "test"
3
text: "This is an example"
Copied!
Add the conditions section, add the type (PERMISSION) and a value:
1
conditions:
2
permissionExample:
3
type: PERMISSION
4
value: "rocketplaceholder.example"
5
text: "Example condition"
Copied!
The priority is based on the order. Here is an example:
1
conditions:
2
1:
3
type: PERMISSION
4
value: "rocketplaceholder.example"
5
text: "First condition"
6
2:
7
type: PERMISSION
8
value: "rocketplaceholder.example2"
9
text: "Second condition"
Copied!
If a player has the rocketplaceholder.example and the rocketplaceholder.example2 permissions the text will be First condition because it is on the top.
You can view more informations in the single conditions pages.
Last modified 3mo ago
Copy link