Skip to content

Commands

Abstract

The command plugin was created to provide basic commands for development, administration, and general utilities. Most commands are set to PERMISSIONS.ADMIN which is the highest admin level.

📁 src/core/plugins/core-commands/

Commands are prefixed with / after press t to open the Chat Box.

There are also additional commands available through the console which can be accessed with F8 in-game.

Configuration

📁 src/core/plugins/core-commands/config/commandsConfig.ts

  • COMMAND_OOC_DISTANCE
    • This is the distance of the /ooc command output.
  • COMMAND_ME_DISTANCE
    • This is the distance of the /me command output.
  • COMMAND_DO_DISTANCE
    • This is the distance of the /do command output.
  • COMMAND_LOW_DISTANCE
    • This is the distance of the /low command output.
  • COMMAND_WHISPER_DISTANCE
    • This is the distance of the /w command output.
  • CHAT_ROLEPLAY_OOC_COLOR
    • HEX color representation for out-of-character chat.
  • CHAT_ROLEPLAY_COLOR
    • HEX color representation of /me & /do chat.
  • CHAT_ROLEPLAY_LOW_COLOR
    • HEX color representation of /low chat.
  • CHAT_ROLEPLAY_WHISPER_COLOR
    • HEX color representation of /whisper chat.

Usage

The links below are for a page that contains all of the commands that are currently available in the entire plugin. Sometimes it will become out-of-date. You can always view the source code to get the most up-to-date information about available commands.

Created by Stuyk | Est. 2020