Administration
Modules and reload
/gcadmin (alias /graycoreadmin), permission graycore.commands.gcadmin.
| Command | What it does |
|---|---|
/gcadmin modules | Lists the modules and their state: enabled, disabled, failed, blocked by a failed dependency. |
/gcadmin modules enable <id> / disable <id> | Starts or stops a module until the next restart. The enabled switch in its config.yml is not changed. |
/gcadmin reload | Reads the configuration and the texts again, the modules' included. A module switched on or off in its file is started or stopped. |
See Modules.
Restarting a server
/stop [seconds] (aliases /shutdown, /restart), permission graycore.commands.stop. The server stops after the delay given
(5 to 3600 seconds, 30 if none), and players are warned at regular intervals until then. When it stops, players are sent to another server
of the network rather than disconnected (see Servers and routing), and every
profile is saved first.
Debug mode
/debug [on|off|status], permission graycore.commands.debug. A personal setting, stored in your profile, so it follows you
across servers and logins. While it is on you are shown:
- how your profile was loaded on each join and server switch: the time spent waiting for the previous server, the attempts, the loading time;
- how long each save took;
- which servers the proxy considered when it routed you, and why it picked one.
Editing an item
/itemedit (aliases /ie, /itemeditor), permission commands.itemedit. Acts on the item in your main hand; texts are in
MiniMessage.
| Command | What it does |
|---|---|
/itemedit rename <name> | Renames the item (aliases setname, name). |
/itemedit set-lore <line> <text> | Sets a line of the lore (0 to 9). |
/itemedit reset-lore | Removes the lore. |
/itemedit add-enchant <enchantment> <level> | Adds an enchantment, any level up to 100000. |
/itemedit remove-enchant <enchantment> | Removes it. |
/itemedit unbreakable <true|false> | Makes the item unbreakable or not. |
Spawn
/spawn teleports to the spawn of the server, set in config.yml (spawn:). With teleportOnJoin: true, players are sent
there when they join.