DCodes - adds the codes for your server!
Benefits:
- Each code can be configured differently.
- All messages are customizable.
- Saving code usage in a separate file!
Code (YAML):
codes:
TEST
:
# Only caps
commands
:
-
"give %player% bedrock 1"
-
"eco give %player% 100000"
HELLO
:
# Only caps
commands
:
-
"eco give %player% 1000000000"
SKIBIDI
:
# Only caps
commands
:
-
"kill %player%"
# <-- Add your codes here!
messages:
already_used_code
:
"§c[✘] §fYou already use this code!"
invalid_code
:
"§c[✘] §fInvalid code!"
rewards_claimed
:
"§a[✔] §fYou claimed rewards for code §6%code%!"
command_error
:
"§6§l[!] §fError while executing command %command%"
reload_success
:
"§a[✔] §fConfig reloaded!"
reload_no_permission
:
"§c[✘] §fYou don't have a permission!"