Config.yml
Last updated
Last updated
Our config is very simple but it can customize a lot the chats. This section will not talk about the first and second section: licence and database.
This category will manage the DiscordSRV hook. If you don't use it you can skip.
write-discord-onlylink: If true only linked-account can write on Discord text channels plugged with ChatPlus.
use-custom-format-discord: If true when a player send a message to a chat from Discord it will use the below custom discord format. If false it will use normal format.
custom-format-discord: Here you can change the discord format.
This category is dedicated to in-game-chat formats.
default: Is the format that will uses every chat if not configured below.
Now you can, as staff string, add with the format:
<ChatId>: <format>
every chat you want. That chats will automatic take that format not the default one. Like:
Here you can find all placeholders that you can use in the format settings.
%chatprefix% - The prefix you set on chat creation.
%userprefix% - The prefix of the player that send the message.
%groupprefix% - The prefix of group of the player that send the message.
%name% - The name or the custom name of the player that send the message.
%chatcolor% - That color you set on chat creation.
%chatmessage% - The message sended by the player.