Staff++
Search…
Commands
All commands can be custom configured inside the configuration/commands.yml file
To disable a command completely edit the commands.yml and provide an empty '' value for that command.

Overview

1
############################################################
2
# +------------------------------------------------------+ #
3
# | Commands | #
4
# +------------------------------------------------------+ #
5
############################################################
6
7
# All commands and their according names.
8
# Leave a command blank to disable it.
9
10
staffplus: ["staffplus"]
11
# The command for toggling staff mode.
12
staff-mode: ["staff"]
13
# The command for toggling fly while in staff mode.
14
staff-mode-fly: ["sfly"]
15
# The command opening the StaffHub GUI
16
staff-hub: ["staffhub"]
17
18
# The command for toggling freeze on players.
19
freeze: ["freeze"]
20
# The command sending messages on a freeze channel.
21
freezechannel.chat: ["fc"]
22
23
# The command for teleporting a player to predefined locations
24
teleport-to-location: ["teleportToLocation"]
25
26
# The command for teleporting a player back to a previous location
27
teleport-back: ["teleportBack"]
28
29
# The command for teleporting yourself to another player
30
teleport-to-player: ["teleportToPlayer"]
31
32
# The command for teleporting a player to your location
33
teleport-here: ["teleportHere"]
34
35
# The command for examining players' inventory
36
examine: ["examine"]
37
38
# The command for reading notes.
39
notes: ["notes"]
40
# The command for creating player notes
41
note: ["note"]
42
private-note: ["pnote"]
43
44
# The command for running a clicks per second test on a player
45
cps: ["cps"]
46
47
# The command for opening the my reports gui
48
my-reports: ["my-reports"]
49
50
# The command for reporting and managing reports.
51
report: ["report"]
52
53
players: ["players"]
54
55
# The command for reporting and managing reports specifically targeting a player.
56
reportPlayer: ["reportPlayer"]
57
58
reports:
59
chat: ["rc"]
60
manage:
61
#Command to open the manage reports gui
62
gui: ["manage-reports"]
63
gui-find-reports: ["find-reports"]
64
# The command for managing reports specifically targeting a player.
65
cli: ["reports"]
66
teleport-to-report: ["teleport-to-report"]
67
68
investigations.manage:
69
start: ["investigate"]
70
pause: ["pause-investigation"]
71
conclude: ["conclude-investigation"]
72
gui: ["manage-investigations"]
73
add-note: ["inote"]
74
# The command for warning players
75
warn: ["warn"]
76
77
# The command for warning and managing warnings.
78
warns: ["warns"]
79
80
warnings.manage:
81
#Command to open the manage warnings gui
82
gui: ["manage-warnings"]
83
#Command to open the manage warnings gui
84
appealed-gui: ["manage-appealed-warnings"]
85
86
# The command for opening the my warnings gui
87
my-warnings: ["my-warnings"]
88
89
# The command for toggling vanish modes.
90
vanish: ["vanish"]
91
92
# The command for chat management.
93
chat: ["chat"]
94
95
# The command for creating and managing tickets.
96
ticket: ["ticket"]
97
98
# The command for alerts management.
99
alerts: ["alerts"]
100
101
# The command for toggling player following.
102
follow: ["follow"]
103
104
# The command for reviving players.
105
revive: ["revive"]
106
107
# The command for listing staff members.
108
staff-list: ["personnel"]
109
110
# The command for logging in.
111
login: ["login"]
112
113
# The command for registering a password.
114
register: ["register"]
115
116
# The command for stripping a player's armor.
117
strip: ["strip"]
118
119
# The command for clearing a players inventory
120
clearInv: ["clear"]
121
122
# The command to start/stop tracing a player
123
trace: ["trace"]
124
125
# The command to view a players ender chest
126
echest_view: ["eview"]
127
128
# The command to broadcast a message over all servers
129
broadcast: ["broadcast"]
130
131
# The command to toggle protection of a player
132
protect-player: ["protectPlayer"]
133
134
# The command to create/delete a protected area
135
protect-area: ["protectArea"]
136
137
bans.manage:
138
gui: ["manage-bans"]
139
appealed-gui: ["manage-appealed-bans"]
140
141
# The command to permanently ban a player
142
ban: ["ban"]
143
bans-migrate: ["bans-migrate"]
144
145
# The command to temporarily ban a player
146
tempban: ["tempban"]
147
148
extendban: ["ban-extend"]
149
reduceban: ["ban-reduce"]
150
151
# The command to unban a player
152
unban: ["unban"]
153
154
# The command to kick a player
155
kick: ["kick"]
156
157
# The command to permanently mute a player
158
mute: ["mute"]
159
mutes.manage:
160
gui: ["manage-mutes"]
161
appealed-gui: ["manage-appealed-mutes"]
162
# The command for opening the my mutes gui
163
my-mutes: ["my-mutes"]
164
165
# The command to temporarily mute a player
166
tempmute: ["tempmute"]
167
extendmute: ["mute-extend"]
168
reducemute: ["mute-reduce"]
169
170
# The command to unmute a player
171
unmute: ["unmute"]
172
173
# The command to unban a player
174
alt-detect-whitelist: ["altWhitelist"]
175
# The command to unban a player
176
alt-detect-check: ["altCheck"]
177
178
# The command to view the infractions of a player
179
infractions-view: ["infractions"]
180
181
# The command to view the players with the most infractions
182
infractions-top-view: ["infractions-top"]
183
184
webui:
185
register: ["register"]
186
187
ipban:
188
ban: ["ipban"]
189
tempban: ["iptempban"]
190
unban: ["ipunban"]
191
bancheck: ["ipban-check"]
192
ipbans: ["ipbans"]
193
migrate: ["ipbans-migrate"]
194
195
ips:
196
clear-ips: ["clear-ips"]
197
choice-action: ["choice-action"]
198
199
show-style-info: ["show-style-info"]
200
201
chatchannels:
202
join: ["join-channel"]
203
leave: ["leave-channel"]
204
close: ["close-channel"]
205
206
staff-locations:
207
create: ["create-stafflocation"]
208
view: ["stafflocations"]
209
teleport-to-stafflocation: [ "teleport-to-stafflocation" ]
Copied!

Cooldowns

Every command in staff++ can have a cooldown. This is purely permission based. If you want to enforce a cooldown, the player needs the cooldown permission. The permissions is the following: staff.<command>.cooldown.<time> So for example if I want to enforce a cooldown on the report command I assign the following permission to the players: staff.report.cooldown.30s This enforces a 30 second cooldown.
Cooldowns are not enforced across servers in a multi server setup. Restarting the server resets all cooldowns.

Arguments

Staff++ supports an argument system which can be used to enhance the default commands. We list below the arguments we currently support. In the commands table you can see which commands can use which arguments

-T Teleport

Teleport let's us enhance a command by teleporting the target to a predefined location. You can setup locations in the configuration file. See Locations
Example: /freeze player1 -Tspawn
Description: Teleports player1 to the predefined location "spawn" and immediately freezes him.

-S Strip

-S does the same as the strip command: Takes off the player's armor and places it in his inventory. If there are no free spaces left in the player's inventory the armor is not taken off.
Example: /freeze player1 -S
Description: Freezes the player and strips his armor.

-H Health

Sets the player's health to the given percentage.
Example: /freeze player1 -H100
Description: Freezes the player and gives the player full health.

-D Delay a command

When provided with a base command. The command will be delayed until the player joins the server. This is useful when we want to for example clear the inventory of a player, but he's offline. With the -D argument we can still run the 'clear' command. It will not be executed immediately, but it will be executed the next time the player joins the server.
Example: /clear player1 -D
Description: Clear the players inventory the next time he joins the server