Configure

Config:

1
#
2
#
3
# _____ _ _ _ _
4
# | __ \| | | | | | | |
5
# | |__) | | __ _ ___ ___| |__ ___ | | __| | ___ _ __ ___
6
# | ___/| |/ _` |/ __/ _ \ '_ \ / _ \| |/ _` |/ _ \ '__/ __|
7
# | | | | (_| | (_| __/ | | | (_) | | (_| | __/ | \__ \
8
# |_| |_|\__,_|\___\___|_| |_|\___/|_|\__,_|\___|_| |___/
9
#
10
#
11
12
# RocketPlaceholders prefix
13
prefix: "&c&lRocket&e&lPlaceholders &f&l»&r"
14
15
# RocketPlaceholders custom placeholders
16
17
placeholders:
18
19
0: #DO NOT USE THE 0 NUMBER
20
placeholder: "test" #ex "test" = %rp_test%
21
text: "this is a test" #ex "this is a test" = out: "this is a test" (Players without permission)
22
permissions:
23
1:
24
permission: "example.1"
25
text: "this is a secret example"
Copied!

With this configuration you can create a public placeholder:

1
1:
2
placeholder: "test"
3
text: "This is a test"
Copied!

More informations:

Using a JavaScript expression for the placeholder text

1
0: #DO NOT USE THE 0 NUMBER
2
placeholder: "test" #ex "test" = %rp_test%
3
text: "'Hello World'"
4
parsejs: true
Copied!
The JavaScript feature can be used with RocketPlaceholders 1.9.1+
Last modified 5mo ago