Configuration

Configuration

There are two parts to SteveChat's config - general plugin-wide settings and channel-specific settings. For those of you coming from other chat plugins, this should seem fairly familiar, as it was deliberately designed to be so.

General Settings

NameDescriptionDefault Value
default-channelThe default channel which new players join if they have permissionGlobal
default-format.chatThe default format (see below) for chat messages{color}{nick}&f: <{prefix}{sender}{suffix}&f> {msg}
default-format.announceThe default format (see below) for announcements{color}{nick}&f: {msg}
default-format.emoteThe default format (see below) for emotes{color}{nick}&f: * {prefix}{sender}{suffix} &f{msg}
default-format.private-messageThe default format (see below) for private messages&d{tofrom} {partner}&d: {msg}
twitter-style-private-messagesWhether players can private message each other using @player messagetrue
check-updatesWhether SteveChat should periodically check for updatestrue

Channels

When SteveChat is first run, it should create a channels folder inside its plugin folder, containing example channels. To add a new channel, all you need to do is create a file called Channel.yml (the file name doesn't matter so long as it ends in .yml, but choose something sensible!) with the same structure as one of the example channels. Below is a list of the different settings for a channel.

NameDescriptionExample
nameThe full name of the channelGlobal
nickThe nickname for the channelG
formatThe format (see below) for chat messages{default}
passwordThe password required to join the channel (can be left blank for no password)Password123
colorThe color to use for the channelDARK_GREEN
radiusThe radius (in blocks) for players to hear other players' messages (0 or below disables this)50
qm-shortcutWhether players can use /<channel> as a shortcut for /ch qm <channel>true
announce-activityWhether players joining/leaving/being kicked/banned should be announced to members of the channeltrue
server-wideWhether the channel is available across the whole server or specific to certain worldstrue
worldsIf server-wide is set to true, this sets which worlds the channel can be used from[ "world", "world_nether", "world_the_end", "pvp", "creative" ]
bannedControls which players are banned from this channel[ "Mr_CurseAlot", "SomePlayer" ]
mutedControls which players are muted in this channel[ "Sir_SpamsAlot", "WhinyKid" ]

Format Codes

CodeReplaced WithExample Output
& + valid color codeThe actual color code sequence, allowing you to color sections of a chat message(Red text follows)
{default}The contents of default-format.chat specified in config.yml{color}{nick}&f: <{prefix}{sender}{suffix}&f> {msg}
{name}The channel's nameGlobal
{nick}The channel's nicknameG
{color}The color code for the channel(Dark green text follows)
{msg} or {message}The chat messageHi there!
{sender}The sender's display nameMrChat
{plainsender} or {fullsender}The sender's full nameMrChatterbox
{world}The sender's worldworld_nether
{prefix}The player's prefix (requires Vault and a supported plugin)[Cool guy]
{suffix}The player's suffix (requires Vault and a supported plugin)[Awesome]
{group}The player's group (requires Vault and a supported plugin)Moderator
{groupprefix}The player's group's prefix (requires Vault and a supported plugin)[Slightly cool]
{groupsuffix}The player's group's suffix (requires Vault and a supported plugin)[Chilled]
{convoaddress} or {tofrom}Either "To" or "From" in private messagesTo
{partner}The partner's display name (private messages only)MrQuiet
{plainpartner} or {fullpartner}The partner's full name (private messages only)MrQuietPerson
{partnerworld}The partner's world (private messages only)world_nether
{partnerprefix}The partner's prefix (requires Vault and a supported plugin) (private messages only)[Noob]
{partnersuffix}The partner's suffix (requires Vault and a supported plugin) (private messages only)[Up-and-coming]
{partnergroup}The partner's group (requires Vault and a supported plugin) (private messages only)Player
{partnergroupprefix}The partner's group's prefix (requires Vault and a supported plugin) (private messages only)[Nooby]
{partnergroupsuffix}The partner's group's suffix (requires Vault and a supported plugin) (private messages only)[New]

Comments

Posts Quoted:
Reply
Clear All Quotes