Chat Range
Chat Range
1.3.2
Description
This plugin allows the server operator to determine the various chat ranges the players are able to chat in. By default, there are 7 ranges in the configuration file, including the default 'global' chat. This can make role-playing servers more interactive, as you can decide how far you want your chat to reach. Currently, you are able to customise the following:
- Ranges
- Range name
- Name of the custom range.
- This can be anything you wish for it to be.
- Description
- Description for the command, shown when /help is issued.
- Command name
- Name of the command for players to use to change to this range.
- Please note that this should not overlap existing commands!
- Command aliases
- Different command names that can be used to trigger the command above.
- Optional, omit this entry if you do not wish to add aliases.
- Ability for chat to cross dimensions
- Allow the players in this range to chat across dimensions/worlds.
- Note that if this is true, distance will be ignored
- Range distance
- The distance that the chat in this range is able to reach.
- Decimals are allowed if you wish so.
- Chat colour
- Colour code to be used when chatting in this range.
- Chat prefix
- Text, more specifically tags, that is placed at the start of the chats in this range.
- Permission
- Permission required for players to use this command, or leave it blank for no permissions required
- Range name
- Emotes
- Emote name
- Name of custom emote
- Description
- Description for the command, shown when /help is issued.
- Command name
- Name of the command for players to use to send emotes in this range.
- Range name
- Name of range this emote belongs to, must be using range declared above.
- Command aliases
- Different command names that can be used to trigger the command above.
- Optional, omit this entry if you do not wish to add aliases.
- Prefix
- Text, more specifically tags, that is placed at the start of the emote.
- This can be used to easily identify the emote range.
- Optional, omit this entry if you do not wish to add a prefix.
- Permission
- Permission required for players to use this command, or leave it blank for no permissions required
- Emote name
TL;DR
- Allows a large amount of customisation with chat ranges.
- Emotes that works with the defined range.
- All customisation are defined in the config.yml.
Commands
Command | Description |
---|---|
/range | Shows all the ranges that are available |
defined in config.yml | Changes the chat range of the player to the specified range |
Permissions
Permission | Description |
---|---|
defined in config.yml | Permission required to run the specified command, or empty for no permissions required |
Configuration
Please visit here for the config.yml
Dependencies
Built on
- Java 1.7
- Bukkit-1.11.2-R0.1
Tested on
- Java 1.8 (1.8.0_91)
- CraftBukkit version git-Spigot-1e4dd71-4507d99 (MC: 1.10.2) (Implementing API version 1.10.2-R0.1-SNAPSHOT)
Change Log
Latest | Version | Changes |
---|---|---|
✓ | 1.3.2 |
Fixed issue relating to listing range in non-Spigot server Added command name while listing range in non-Spigot server Should fix issue where range revert unexpectedly |
1.3.1 | Fixed issue relating to aliases not reverting range | |
1.3.0 |
Added configurable emote format Added emote colour Added option to disable 'no-recipient' message Added single message mode Added /range command for showing all ranges |
|
1.2.3 | Fixed a bug when using emotes with no defined prefix | |
1.2.2 | Fixed NPE when starting with invalid range | |
1.2.1 | Added permissions for ranges and emotes | |
Added chat format customisation | ||
1.1.0 | Added emote support | |
Cleaned up config file | ||
Added notification when area chat did not reach anyone | ||
Lowered listener priority | ||
1.0.3 | Published to BukkitDev |
Notes
- Commands added in the config.yml will override existing commands! Please make sure that the commands do not overlap.
Is there a way ops could see all the chat across all the ranges?
In reply to Assassinthe1:
In reply to ChloeChan:
possible update to 1.11?
@ChloeChan
Oh, also permission for get every message send by player plz ;)
@pIaybabe
Sure! I'll add it in during the next update! Thanks for the suggestion!
can you add option to disable some message like "no-recipient" It make player know that no one nearby. I don't want they know
@zainmz
Yes, simply use the %old tag. The older format used was "%prefix %old".
Could you possibly add an option just to disable the chat formatting completely? Because its causing a lot of issues with other chat managers.
@ChloeChan
thank you!
@zainmz
Thanks! I am able to point out the bug and has fixed it in the next update, which is still awaiting approval. In the meantime, you can delete the save file to fix the issue.
@ChloeChan
I found the issue, it seems if i removed a configured chat range and some players are still in that chat range in the data folder it throws out that error. and stops working completely
@zainmz
Hi there, I'm unable to recreate the issue, nor find the root cause of it. Are you still experiencing it?
@ChloeChan
nope nothing i just get this and it stops working.
@zainmz
Hi there! May I ask if there are any errors before this? Thanks!
http://pastebin.com/g5JGvZvb may want to check that
@Kepuli123
That sounds like a pretty nice idea! I'm currently bogged down with lots of my school assignments, thus being unable to update this frequently. However, worry not! I'll be including a customisable format option in the next release. Thanks for the suggestion!
Hi, I'm testing out this plugin to replace LocalChat, which has a lot of same functionalities, but is not updated to support Bukkit/Spigot 1.9. I see that this plugin has a lot of promise to be a replacement for me when finally updating to Spigot 1.9 and eventually Spigot 1.10.
I have a small feature request though: could it be possible to have the order of chat prefix and player name switched around, so that formatting visible in chat would be something like <player name> <chat prefix> <message>.
I'm planning to use language localised prefixes, and it would fit much nicer into natural language to have, eg. "<Kepuli123> shouts [message]" instead of "Shouts <Kepuli123> [message].
Preferaby there could be an option in the config with a simple true/false setting, or even a custom ordering option, to truly customise the order of things, maybe with keyworded tags, such as <%player_name> %prefix %message.
Thanks for your great work!
@Coolechriz
I'll look into adding it the next version. Thanks for the suggestion!
I love this plugin!
I have only one question, is it possible to add a worldguard region flag,
which allowing players who are in a region with this flag can only talk to each other in this region (as this is just easier than a wisper option)
I've already looked to plugins that do this, but I have not found working versions for Spigot 1.9
Also is it possible to make a API so other plugins can get the prefix of the plugin. That will realy nice!No longer needed