Config & Permissions

The configuration for SpaceChat is very easy to understand.

Location

The main configuration's location is in the plugins folder under the subdirectory named 'SpaceChat' (/plugins/SpaceChat/config.yml)

Storage

If you would like to explore how you can edit storage features, please visit the Storage Page.

Logging

There is currently one available type of logging that you can enable-disable.

log-to-storage

If enabled (set to true), the plugin will record every chat message sent to the specified storage medium (YAML or MySQL). If you wish to read about changing storage features, please visit the Storage Page.

Permissions

Configuration LocationDefault PermissionDescription
permissions.use-chat-colorsspace.chat.chatcolorAllow players to color their message in chat with &

Example

Here's the default configuration contents.

####################################
# SpaceChat Configuration #
# v2 #
# Written by yakovliam #
# Visit https://www.yakovliam.com #
####################################
#=#=#=#=#=#=#=#=#=#=#=#=#
# Storage Configuration #
# #
# Storage types: #
# -> yaml #
# -> mysql #
#=#=#=#=#=#=#=#=#=#=#=#=#
use: "yaml" # which storage type should we use?
mysql: # mysql configuration settings
address: ""
port: 3306
username: ""
password: ""
database: ""
use-ssl: false
verify-server-certificate: false
tables:
chat-logs: "spacechat_chatlogs"
#=#=#=#=#=#=#=#=#=#=#=#=#
# Misc Settings #
#=#=#=#=#=#=#=#=#=#=#=#=#
logging:
chat:
log-to-storage: true
#=#=#=#=#=#=#=#=#=#=#=#=#
# Permissions #
# #
# Use chat colors (&) #
# space.chat.chatcolor #
#=#=#=#=#=#=#=#=#=#=#=#=#
permissions:
use-chat-colors: "space.chat.chatcolor"