361 lines
12 KiB
Text
361 lines
12 KiB
Text
# |------------------------------------------------------------|
|
|
# | Advanced |
|
|
# |------------------------------------------------------------|
|
|
advanced {
|
|
server {
|
|
#
|
|
# This config option is for users that would like to have multiple servers,
|
|
# each with differing MOTD and/or Mods
|
|
# Note: To do this, the IP specified MUST correlate to the IP defined in the forced host section
|
|
# of the velocity config. Also, your players must use the IP defined in this config to connect
|
|
info=[
|
|
{
|
|
hostname="hub.flakame.se"
|
|
modded=false
|
|
motd="&cA Velocity Proxy"
|
|
port=30066
|
|
prefix=HUB
|
|
}
|
|
]
|
|
}
|
|
#
|
|
# If you are running servers with ViaVersion, this will disable the version checking done in the /server command.
|
|
# (true = enabled)
|
|
viaversion=true
|
|
}
|
|
# |------------------------------------------------------------|
|
|
# | Chat |
|
|
# |------------------------------------------------------------|
|
|
chat {
|
|
#
|
|
# Default chat channel
|
|
channelDefault=global
|
|
#
|
|
# Chat Channels
|
|
channels=[
|
|
{
|
|
aliases=[
|
|
globalchat,
|
|
globalchannel
|
|
]
|
|
# Whether members of this channel will always recieve messages from this channel even when they are not in it.
|
|
alwaysVisible=true
|
|
id=global
|
|
prefix="[G]"
|
|
servers=[
|
|
main,
|
|
wild
|
|
]
|
|
},
|
|
{
|
|
aliases=[
|
|
staffchannel,
|
|
staffchat
|
|
]
|
|
# Whether members of this channel will always recieve messages from this channel even when they are not in it.
|
|
alwaysVisible=true
|
|
id=staff
|
|
prefix="[S]"
|
|
servers=[
|
|
main,
|
|
wild
|
|
]
|
|
}
|
|
]
|
|
emoji {
|
|
#
|
|
# Toggle emojis in chat
|
|
# Enabling emojis means that you will have to have your players download a select texture pack, found on the github page.
|
|
# (true = enabled)
|
|
enabled=false
|
|
}
|
|
filter {
|
|
#
|
|
# Toggle the chat filter. (true = enabled)
|
|
enabled=false
|
|
#
|
|
# List of words that are caught by the swear detection, but shouldn't be. (ex. A player name that contains 'ass'
|
|
exceptions=[
|
|
assassin,
|
|
jkass
|
|
]
|
|
#
|
|
# List of words you would like filtered out of chat.
|
|
swears=[
|
|
fuck,
|
|
shit,
|
|
ass
|
|
]
|
|
}
|
|
format {
|
|
#
|
|
# Format for click event's
|
|
click="/msg %player%"
|
|
#
|
|
# Format for the hover message
|
|
hover="%player% %server%"
|
|
#
|
|
# Format for the proxy-wide chat
|
|
message="%prefix% %player% %suffix%: %message%"
|
|
#
|
|
# Prefix applied to nicknames
|
|
nicknamePrefix="~"
|
|
#
|
|
# Format for private messages
|
|
privateMessage="&8[&9%sender%&6 -> &9%recipient%&8] &7%message%"
|
|
}
|
|
}
|
|
# |------------------------------------------------------------|
|
|
# | Commands |
|
|
# |------------------------------------------------------------|
|
|
commands {
|
|
#
|
|
# Toggle ban command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission : catalyst.command.ban
|
|
ban=true
|
|
#
|
|
# Toggle broadcast command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission : catalyst.command.broadcast
|
|
broadcast=true
|
|
#
|
|
# Toggle find command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission : catalyst.command.find
|
|
find=true
|
|
#
|
|
# Toggle ignore command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission: catalyst.command.ignore
|
|
ignore=true
|
|
#
|
|
# Toggle info command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission : catalyst.command.info
|
|
info=true
|
|
#
|
|
# Toggle kick command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission : catalyst.command.kick
|
|
kick=true
|
|
#
|
|
# Toggle list command handling
|
|
# (true = enabled | false = disabled)
|
|
list=true
|
|
#
|
|
# Toggle message command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission : catalyst.command.message
|
|
message=true
|
|
#
|
|
# Toggle mute command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission : catalyst.command.mute
|
|
mute=true
|
|
#
|
|
# Toggle nickname command handling
|
|
# (true = enabled | false = disabled)
|
|
# Base Permission : catalyst.command.nickname
|
|
# Color Permission : catalyst.command.nickname.color
|
|
# Magic Permission : catalyst.command.nickname.magic
|
|
# Other permission : catalyst.command.nickname.other
|
|
nickname=true
|
|
#
|
|
# Toggle send command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission : catalyst.admin.command.send
|
|
send=true
|
|
server {
|
|
#
|
|
# Toggle server command handling
|
|
# (true = enabled | false = disabled)
|
|
enabled=true
|
|
# Enforces the following permission check
|
|
# catalyst.server.<name> when a player uses the /server command.
|
|
# For example, if the target server is called lobby, catalyst will test
|
|
# the permission catalyst.server.lobby
|
|
permissions=false
|
|
}
|
|
#
|
|
# Toggle SocialSpy command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission : catalyst.admin.command.socialspy
|
|
socialspy=true
|
|
#
|
|
# Toggle staffchat command handling
|
|
# (true = enabled | false = disabled)
|
|
# Permission : catalyst.admin.command.staffchat
|
|
staffchat=true
|
|
}
|
|
# |------------------------------------------------------------|
|
|
# | Discord |
|
|
# |------------------------------------------------------------|
|
|
discord {
|
|
bot {
|
|
#
|
|
# Token for the discord bot
|
|
token="bot token"
|
|
}
|
|
channel {
|
|
#
|
|
# Discord channel that in-game chat is sent to
|
|
main="123456789"
|
|
#
|
|
# Discord channel id that staff chat is sent to
|
|
staff="123456789"
|
|
}
|
|
format {
|
|
#
|
|
# Format of the message being sent from discord to in-game
|
|
discord="&6[Discord]&7 %name% : %message%"
|
|
#
|
|
# The message being shown when a player hovers over a message sent from discord
|
|
hover="Click here to join our discord!"
|
|
#
|
|
# Message to be sent to the discord each time a player joins.
|
|
join="%player% has joined the game."
|
|
#
|
|
# Message to be sent to the discord each time a player leaves.
|
|
leave="%player% has left the game."
|
|
#
|
|
# The message being shown as the "now playing" for the discord bot.
|
|
playing="A Minecraft Server!"
|
|
#
|
|
# Format of the message to be sent to discord from in-game
|
|
proxy="[%server%] %prefix% %player% %suffix%"
|
|
#
|
|
# Format of the message being sent from the staffchat channel to in-game
|
|
staff="&b[STAFF] &7Discord %name%:&b %message%"
|
|
}
|
|
topic {
|
|
enabled=false
|
|
#
|
|
# Format of the main channel topic
|
|
format="Player Count: %players%"
|
|
#
|
|
# Message to be shown when there are no players online
|
|
noPlayers="There are no players online!"
|
|
#
|
|
# How often you would like the topic to be updated in minutes. Setting this below the default will result in constant RateLimit issues. If you experience issues with 5 minutes, set this to 10 or higher.
|
|
updateInterval=5
|
|
}
|
|
url {
|
|
#
|
|
# Discord invite link
|
|
invite="https://discord.gg/hZpQ5Sg"
|
|
#
|
|
# URL that gets the player avatar when sending messages to discord
|
|
webhook="https://crafatar.com/avatars/%uuid%?default=MHF_Alex"
|
|
}
|
|
}
|
|
# |------------------------------------------------------------|
|
|
# | Join |
|
|
# |------------------------------------------------------------|
|
|
join {
|
|
#
|
|
# Format for the message that is displayed when a player joins the proxy for the first time
|
|
firstJoin=""
|
|
#
|
|
# Format for the message that is displayed when a player joins the proxy
|
|
message="%player% has joined the proxy"
|
|
}
|
|
# |------------------------------------------------------------|
|
|
# | Leave |
|
|
# |------------------------------------------------------------|
|
|
leave {
|
|
#
|
|
# Format for the message that is displayed when a player leaves the proxy
|
|
message="%player% has left the proxy"
|
|
}
|
|
# |------------------------------------------------------------|
|
|
# | Modules |
|
|
# |------------------------------------------------------------|
|
|
modules {
|
|
#
|
|
# Toggle the Advanced Server Information handling
|
|
advancedServerInfo=false
|
|
#
|
|
# Toggle proxy-wide chat handling. (true = enabled)
|
|
chat=false
|
|
#
|
|
# Toggle the discord bot (false = disabled).
|
|
discord=false
|
|
logging {
|
|
command {
|
|
# Toggle command logging
|
|
# (true = enabled | false = disabled)
|
|
enabled=true
|
|
# Filter commands that you want logged to the console.
|
|
# By default, catalyst will log all commands.
|
|
filter=[
|
|
"*"
|
|
]
|
|
}
|
|
}
|
|
# Toggle MOTD handling
|
|
# By default, Catalyst will not control the MOTD
|
|
motd=true
|
|
#
|
|
# Toggle the proxy-wide tab handling. (true = enabled)
|
|
tab=false
|
|
}
|
|
# |------------------------------------------------------------|
|
|
# | Motd |
|
|
# |------------------------------------------------------------|
|
|
motd {
|
|
#
|
|
# Default MOTD that catalyst uses if the advanced server information is disabled.
|
|
message="&6&lflakame.se &3&l| &2&lProkrastinuj s Minecraftem &a1.17 & 1.17.1"
|
|
}
|
|
# |------------------------------------------------------------|
|
|
# | Ping |
|
|
# |------------------------------------------------------------|
|
|
ping {
|
|
#
|
|
# This message is shown when players hover over the player count.
|
|
# This message will only appear when the mode is set to MESSAGE
|
|
message="flakame.se"
|
|
#
|
|
# Specify what you would like to be shown in the server list, either PLAYERS or MESSAGE
|
|
mode=PLAYERS
|
|
}
|
|
# |------------------------------------------------------------|
|
|
# | Tab |
|
|
# |------------------------------------------------------------|
|
|
tab {
|
|
format {
|
|
#
|
|
# Format for extra information that can be displayed in the tab.
|
|
custom=[
|
|
"&3Your Ping : &e%ping%",
|
|
"&3Current Server : &e%server%",
|
|
"&3Player Count : &e%playercount%"
|
|
]
|
|
#
|
|
# Format for the tab footer
|
|
footer="A Velocity Server"
|
|
#
|
|
# Format for the tab header
|
|
header="Welcome to"
|
|
#
|
|
# Format for how each player is displayed in the tab
|
|
player="%prefix% %player% %suffix%"
|
|
}
|
|
order {
|
|
#
|
|
# Order in which groups should be displayed in the tab.
|
|
groups=[
|
|
admin,
|
|
mod,
|
|
player
|
|
]
|
|
#
|
|
# Order in which players should be listed in the tab list.
|
|
# Options: group, a-z
|
|
order=a-z
|
|
}
|
|
#
|
|
# Time setting for how often the tab updates in seconds
|
|
updateDelay=1
|
|
}
|