Configuration

hChat

Main Configuration

This is the config.yml file.

KeyDescriptionValue type
enableEnable pluginBoolean
check_for_updatesCheck for plugin updates and download if availableBoolean
update_if_availableDownload update. If disabled, it only checks.Boolean
format.nameFormat display nameBoolean
format.chatFormat chat messagesBoolean
format.deathFormat death messagesBoolean
format.listFormat list nameBoolean
format.joinFormat join messagesBoolean
format.quitFormat quit messagesBoolean
format.channel_joinFormat channel join messagesBoolean
format.channel_quitFormat channel quit messagesBoolean
format.away_startFormat away start messagesBoolean
format.away_stopFormat away stop messagesBoolean
format.away_kickFormat away kick messagesBoolean
format.motdFormat motd messagesBoolean
format.meFormat me messagesBoolean
format.tellFormat tell messagesBoolean

Group Configuration

The groups.yml file keeps the groups. These groups can be linked to groups in your permission plugin by setting the string/text ID of a group section to the same as in your permission group layout. If a matching group for a player is not found, the default group will be used. The default group need to contain all values, but other groups don't and will inherit missing values from the default group. If you want an example of fancy colors and stuff, check out this example: config.yml. The group settings are described below:

KeyDescriptionValue type
nameName of group (does not have to be the same as the ID)String
prefixPrefixString
suffixSuffixString
format.nameDisplay name formatString
format.listList formatString
format.chatChat formatString
format.deathDeath formatString
format.joinJoin formatString
format.quitQuit formatString
format.channel_joinChannel join formatString
format.channel_quitChannel quit formatString
format.away_startAway start formatString
format.away_stopAway stop messageString
format.away_kickAway kick formatString
format.meMe formatString
format.tell_senderTell format for senderString
format.tell_receiverTell format for receiverString
format.tell_spyTell format for spy/mod/adminString
format.motdMotd formatString
censorIf chat from group should be censoredBoolean
color_codesIf group can use color codes in chat messagesBoolean
can_chatIf group can chatBoolean
show_personal_messagesIf personal messages should be written to console.Boolean
away_long_tagAway long tag. Normally "[AFK]".String
away_short_tagAway short tag. Normally just a color code.String
away_threshold_secondsSeconds from a player moves, or similar, before being flagged as awayInteger
kick_on_awayIf players should get kicked when going awayBoolean
channel_defaultDefault channel for all worldsString
channel_world_default.<world>Default channels for specific worlds. Overrides channel_default.String

Channel Configuration

The channels.yml file keeps the channels. Channels can be joined wither by commands or automatically. The default channel will always be present, but the other channels will not copy any of its values. You can have multiple default channels by defining different default channels for each group or world. If you set a channel as private and as default in some group or world, players will automaticallt join it and be able to leave to it, but not intentionally join it by using commands from for example another world or group. The channel settings are described below:

KeyDescriptionValue type
nameName of channel (does not have to be the same as the ID)String
ownerUUID of the channel owner. Only the owner can edit a channel.UUID string
passwordPassword to join the channelString
chat_formatA specific chat format for the channel. Leave blank to use chat format from group.String
privatePrivacy of group. If private, only the owner, member groups, members and admins may join.Boolean
hiddenIf it should be visible in the channel list and channel who list.Boolean
censorIf it should be censoredBoolean
color_codesAllow color codes in chat. It has to be disabled in both the group and channel to disallow.Boolean
universalIf the chat messages should be broadcasted across all worldBoolean
auto_join_if_defaultIf this is the default channel for a group, force players to join it when changing worldsBoolean
rangeRange of chat in blocksDecimal or integer
monitor_channelsChannels players in this channel will receive chat messages from, if the individual player has access to that group. Passworded groups can not be monitored.String list
member_groupsMember groupsString list
membersPlayer membersUUID string list
banned_membersBanned members. These may only join if this is their default channel.UUID string list

Censor Configuration

The censor.yml file is a dictionary for words that should be replaced. The file consists of pairs of words or sentences (string keys and string values). The words to the left will be replaced by words to the right. After the file is created, two examples will be inserted.