Files
TownyChat/resources/Channels.yml
T
FlagCourier d2a84c9a3c Maven Build System & Deprecated CraftIRC, HeroicDeath Deps (SQUASHED)
Initial Pom Skeleton - Move Resources


Remove IDE-semispecific files (Eclipse)


Add repositories for BukkitAPI, Dynmap-API, and EssentialsX


Bump EssentialsX to a 1.14.x compatible build


Remove Ant Build System


Decomission CraftIRC and HeroicDeath

Both plugins are extremely out of date. Please make a PR if you have a modern solution.

Add Towny Repo, plugin.yml project integration nodes


Update Changelog + Fix ArtifactID & Towny Repo

Fallback to ArticDive's repo. Not used if the matching Towny version is installed on the local Maven cache.
Needs to be updated to GH's Package Manager when approved.
2019-08-25 15:31:29 -05:00

88 lines
2.6 KiB
YAML

# This file contains all configuration data for channels
# The formating for them remains in the Towny Config and world files
# so they can still be used on a per world basis.
# Channels are toggleable using any of the commands listed
# eg. /tc (would put you in town chat)
# doing it again would take you out
# So long as you had the permission node for that channel.
# The channel type is either GLOBAL, TOWN, NATION or DEFAULT.
# These specify what chat formating section they will use
# and where the chat will go
# (town goes to all town residents, depending on the range setting)
# channeltag is applied if the chat format for that channel has the {channelTag}
# messagecolour sets the colour of the message when sent.
# range is a setting which allows greater control over each channel.
# this will set the maximum distance between players who can hear the message.
# range is in blocks (if set to a limit).
#
# -1 = no limits
# 0 = same world only
# any positive value = limited range in the same world.
# Text colouring
# --------------
# Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
# Purple = &5, Gold = &6, LightGray = &7, Gray = &8
# DarkPurple = &9, LightGreen = &a, LightBlue = &b
# Rose = &c, LightPurple = &d, Yellow = &e, White = &f
Channels:
general:
commands: [g]
type: GLOBAL
channeltag: '&f[g]'
messagecolour: '&f'
permission: 'towny.chat.general'
default: true
craftIRCTag: 'admin'
range: '-1'
town:
commands: [tc]
type: TOWN
channeltag: '&f[&3TC&f]'
messagecolour: '&b'
permission: 'towny.chat.town'
craftIRCTag: 'admin'
range: '-1'
nation:
commands: [nc]
type: NATION
channeltag: '&f[&6NC&f]'
messagecolour: '&e'
permission: 'towny.chat.nation'
craftIRCTag: 'admin'
range: '-1'
admin:
commands: [a,admin]
type: DEFAULT
channeltag: '&f[&4ADMIN&f]'
messagecolour: '&c'
permission: 'towny.chat.admin'
craftIRCTag: 'admin'
range: '-1'
mod:
commands: [m,mod]
type: DEFAULT
channeltag: '&f[&9MOD&f]'
messagecolour: '&5'
permission: 'towny.chat.mod'
craftIRCTag: 'admin'
range: '-1'
local:
commands: [l,lc]
type: GLOBAL
channeltag: '&f[local]'
messagecolour: '&f'
permission: 'towny.chat.local'
craftIRCTag: 'admin'
range: '100'