Skip to main content

Commands and permissions

Commands​

CommandAliasesRuns onPermissionDetails
/gcadmin modules [enable|disable <id>], /gcadmin reload/graycoreadminGame servergraycore.commands.gcadminAdministration
/grayperms .../gpermsGame servergraycore.grayperms.adminPermissions
/stop [seconds]/shutdown, /restartGame servergraycore.commands.stopAdministration
/debug [on|off|status]Game servergraycore.commands.debugAdministration
/itemedit .../ie, /itemeditorGame servercommands.itemeditAdministration
/spawnGame servernoneAdministration
/hub [type]/lobbyGame servernone; another server type needs graycore.grayservers.adminServers and routing
/message <player> <message>/msg, /m, /whisper, /wGame servernoneChat
/grayserver list, /grayserver connect id|type <value>/server, /switchProxygraycore.grayservers.adminServers and routing
/kit [name], /kit create <id> <name>/kitsGame server, kits modulethe kit's own; graycore.commands.kits.admin to createKits
/warp [name]/warpsGame server, warps modulethe warp's ownWarps
/setwarp <name>, /delwarp <name>Game server, warps modulegraycore.commands.warps.adminWarps
/rpgsample ...Game server, RPG samplegraycore.commands.rpgsample.adminRPG sample

Permissions​

The admin group gets all of them when it is created on the first start (the modules' ones included).

PermissionGives
graycore.commands.gcadmin/gcadmin
graycore.grayperms.admin/grayperms
graycore.commands.stop/stop
graycore.grayservers.admin/grayserver, and /hub to any type of server
graycore.commands.debug/debug
commands.itemedit/itemedit
graycore.chat.formatFormatting in chat messages
graycore.commands.kits.admin/kit create
graycore.commands.warps.admin/setwarp, /delwarp
graycore.commands.rpgsample.admin/rpgsample

In the code, the core's nodes are the constants of GrayCorePermissions; a module lists its own in adminPermissions().