Plugin's files
The plugin's configuration files

Config

config.yml
1
# DeluxeCommands v1.9.0 Main configuration
2
# Created by extended_clip
3
#
4
# Create commands below!
5
# Command format is as follows:
6
#
7
# commands:
8
# <command_with_no_slash>:
9
# permission: <permission to use the command>
10
# no_permission_message: <message to send when players do not have permission>
11
# message:
12
# - '[text]<regular text here if you start the line with the [text] identifier'
13
# - '[playercommand] spawn'
14
# - '[consolecommand] eco give %executor% 100'
15
# - '{"text": "JSON text here"}'
16
# - '{"text": "To have multiple JSON components in the same line"}&&{"text": "you must use the && operator between them!"}'
17
# target_permission: <permission to use the command with a player argument at the end: /<command> (player)>
18
# target_no_permission_message: <message to send when players do not have permission to specify a target to set placeholders for>
19
# target_message:
20
# - '[text]<You do not have to specify this option, only if you want separate messages when a target is defined>'
21
# - '{"text": "%player_name%'s stats:"}'
22
# - '{"text": "This message is only if you want a separate message defined when a"}&&{"text": " target player is specified in the command!"}'
23
# aliases:
24
# - 'somealiasforthiscommand'
25
#
26
# You can now add a new entry to define different aliases per command!
27
# simply add the "aliases" option to the commands you would like to define aliases for!
28
# DeluxeCommands will detect if you have DeluxeChat or PlaceholderAPI installed! You can use any placeholders you have enabled!
29
# Note: To use %player_name% you need the Player expansion. This can be download via PlaceholderAPI with /papi ecloud download Player
30
commands:
31
somecustomcommand:
32
permission: some.custom.permission
33
no_permission_message: '&cYou don''t have permission to use this command!'
34
target_permission: some.custom.target_permission
35
target_no_permission_message: '&cYou don''t have permission to view this command
36
with a target player argument!'
37
message:
38
- '{"text": "--------"}'
39
- '{"text": "This is your "}&&{"text": "custom JSON text command showing placeholders
40
specific to you!!"}'
41
- '{"text": "--------"}'
42
target_message:
43
- '{"text": "--------"}'
44
- '{"text": "This message is optional if you want to show a different message
45
when"}&&{"text": " %player_name% is specified at the end of the command"}'
46
- '{"text": "--------"}'
Copied!
Copy link