- add a /ch list command to list what channels a player is currently
listening to. Courtesy of Yaiyan.
v0.45:
- Add chatconfig.yml option for modifying the 'no one can hear you'
message.
v0.42:
- Re-add message for when players chat but no one can hear them.
Affects mostly localchat but can also been seen when players are the
only one in a channel.
v0.43:
- add a new chatconfig.yml option:
- modify_chat.alone_message: (default: false) - If true any player who
speaks in a channel in which he cannot be heard, either by being along
in the channel or out-of-range of another player in his chat channel,
that player will see a message saying they cannot be heard.
- Added new channel handling support (thanks to mcunha/andrepl).
Adds new commands...
channel:
aliases: [ch]
description: Channel leaving and joining
usage: /channel leave|join channel
leave:
description: Leaves a channel
usage: /leave channel
permission: Requires a permissions per channel to use -
towny.chat.leave.{channelname}
join:
description: Joins a channel
usage: /join channel
permission: Requires a permissions per channel to use -
towny.chat.join.{channelname}
chmute:
aliases: [mute]
description: Mutes a player in a channel
usage: /chmute channel player
permission: townychat.mod.mute
mutelist:
description: Displays mute list for a channel
usage: /mutelist channel
chunmute:
aliases: [unmute]
description: Unmutes a player in a channel
usage: /chunmute channel player
permission: townychat.mod.unmute
- Major rewrite to move all channel handling into TownyChat.
- All chat channels are now defined in their own file 'Channels.yml' found in the Towny/Settings folder.
- Range limits can now be applied to town and nation chat.
- You can create two identical channels, one with a range limit and one without. The player will use whichever they have permission for.
- towny_default_modes now uses the full chat channel name. To allow use of the default channel it would be towny_default_modes: 'general'
This requires you have the permission node 'towny.chat.spy' and be using TownyChat.
If you toggle this mode on you will be able to see all town/nation/global, and all custom channel chat.
- If a player doesn't have the 'towny.chat.global' permission node, any open chat will pass through for any other plugins to handle.
- Code rewrite for new code locations in Towny.
- Added a spam filter so players can only send one message every two seconds.
- Added the ability to restrict channel ranges.
All custom channels (not town or nation) can now have an extra value
appended to signify a range limit on chat.
-1 = no limits
0 = same world only
any positive value = limited range (blocks) in the same world.
eg. - /g,,,towny.chat.global,-1
or a local channel that covers 100 blocks range
/l,&f[local],&f,towny.chat.local,100
- Added auto modes for chat.
Type '/tc' to set town chat mode. All text typed from then on will be sent to town chat.
While in a chat mode you can still talk in other channels by using the channel commands eg. '/nc hi'.
While in a chat mode you can talk in global chat with '/g text here'.
to clear all chat modes '/g'.
- Added a new permission node for global chat ('/g') of 'towny.chat.global'.