Skip to content
Jeremiah Lowe edited this page Dec 4, 2022 · 10 revisions

Welcome to the BetterForgeChat wiki!

Configuration

BetterForgeChat uses standard Forge configuration files found in your config/ directory as config/bfcmod-common.toml, these files can be edited by VIM or whatever Windows plebs use (I use Arch btw). The default configuration file (with comments stripped) is shown below:

[BetterForgeChatModConfig]
	playerNameFormat = "$prefix$name$suffix"
	chatMessageFormat = "$time | $name: $msg"
	timestampFormat = "HH:mm"
	enableTimestamp = true
	useFtbEssentials = true
	useLuckPerms = true
	coloredChatPermission = "chat.colors"
	styledChatPermission = "chat.styles"
	tabList = true
	tabListMetadata = true
	tabListNicknames = false

Permissions

How they work?

BetterForgeChat uses the Forge PermissionAPI to register and handle permissions with any off-the-shelf permission manager. We recommend the use of LuckPerms since it was used during the development of BetterForgeChat however FTBRanks and other similar permissions managers should work just fine as long as they use the Forge PermissionAPI

Permissions can be given or removed from a player to enable and disable features of BetterForgeChat, for instance if colors and styled chat should only be reserved for server administrators you can use your permission manager to disable colors and styles for regular players:

/lp group default permission set bfcmod.chat.colors false
/lp group default permission set bfcmod.chat.styles false
/lp group admin permission set bfcmod.chat.colors true
/lp group admin permission set bfcmod.chat.styles true

Available permissions

BetterForgeChat has the following available permissions:

- bfcmod.chat.colors (Defaults to true, when false the player cannot use colors in chat)
- bfcmod.chat.styles (Defaults to true, when false the player cannot use styles in chat)
Clone this wiki locally