Channels
Format
channels:
<channel-name>:
enabled: true
require-permissions:
# if enabled, users are required to have "astrachat.channels.global.read" to read messages
read: true/false
# if enabled, users are required to have "astrachat.channels.global.write" to send messages
write: true/false
# by default this format uses minimessage
# to enable legacy support, set text.legacy-support to true
format: "%prefix%%player%%suffix%<white>: %message%"
# duration between each message in ticks
# players with the "astrachat.channels.global.manage" permission can change this with /slowmode <channel> <time>
# slowmode can be bypassed with the "astrachat.channels.global.manage" or "astrachat.admin" permissions
default-slowmode: 20
# use this in front of a message to type in this chat without switching channels.
# leave blank to disable.
shortcut-prefix: ""
# if this chat should be sent to other servers.
# must have redis enabled and setup
cross-server: true
# you can use these commands to talk in this chat
# using /global <message> would send a message in global chat
commands:
- global
# allow sending messages to and from discord
# must have discord setup and enabled
discord:
enabled: false
# the format of discord messages that are displayed in game
# available placeholders:
# - %nickname% their name as shown in the guild
# - %display-name% their discord display name
# - %username% their discord username
# - %member-id% their discord id
# - %guild-name% the guild/server name
# - %channel-name% the channel name
format: "<light_purple>[DISCORD]</light_purple> <white>%nickname%: %message%"
# to find, enable developer mode in User Settings > Advanced > Developer Mode
# then right click the channel and select Copy Channel ID
channel: "channelId"
# Supports embeds. See documentation for detailed usage.
# See: https://astradev.gitbook.io/astrachat/configuration/discord#discord-message-format
discord-format:
# whether to enable/disable mentions
# setting this to false prevents people from using @everyone in-game
allow-mentions: false
content: "**%player%**: %message%"
Shortcut Prefix

Cross Server
Redis Setup
Custom Rules
Helpop

Advertising

Last updated