FactionsChat
Basic information
Current version is v1.4.
This plugin works like ChatManager, with Factions and PEX.
Supported plugins
- Factions (Required!)
- PermissionsEx
- Multiverse-Core
- Jobs
- TagAPI
- GeoIPTools
Configuration
Configuration file config.yml
Plugin will create config.yml file on first server launch.
Then you can set:
enable: false time-format: 'yyyy/MM/dd HH:mm:ss' format: '{W} {F} {T} <{P}{N}{S}> {M}' allow-colorcodes: false range-mode: false range: 100 blocked-words: 'fuck,shit,...' prevent-dots: 0 change-tablist: false tablist-format: '{N}' use-tagapi: false tagapi-format: '{N}'
Explanation
- enable - Enables the plugin, can be true or false
- time-format - Sets the time format used by this plugin
- format - Sets the chat format
- allow-colorcodes - Enables using color codes in chat, can be true or false
- range-mode - Enables/disables message range mode
- range - Sets the length in blocks from message sender, so if you are farther than is this range, you won't see message in chat
- blocked-words - Words in chat which will be hidden by stars
- prevent-dots - Maximum number of dots in one word (set to 0 to disable)
- change-tablist - Enable/disable changing TAB player list with tablist-format
- tablist-format - Tablist format using formatting codes (without {M}) and color codes (Beware of maximum length of format - 16 chars)
- use-tagapi - Enables/disables using of TagAPI plugin - changing name bubble above head
- tagapi-format - Format of name in bubble, max. 16 chars
Configuration file advanced.yml
You should use this, when you don't use PEX and you use other permission plugin.
groups: group1: prefix: '&6[Group 1]&e' suffix: '&2[end]&f'
You can add new groups and set them prefixes and suffixes.
Then you have to add new permission to you permissions plugin, pattern is "factionschat.group.<group name>". E.g. factionschat.group.group1 and every player who has this permission will use prefix and suffix from group "group1".
Important: If you are admin, and you have enabled all server permissions ('*'), you have to disable permission factionschat.group.* and then you have to enable only one specified group, e.g. factionschat.group.admin
Formats, colors
Formatting codes
{W} - World name (if available, it is world alias from MultiVerse plugin)
{T} - Current time using formating time-format
{F} - Faction tag, you don't have to use chatTagReplaceString from Factions conf.json
{+F} - Faction tag with space before
{F+} - Faction tag with space behind
{+F+} - Faction tag with space before and behind
{P} - Prefix from PermissionsEx
{N} - Player's name
{S} - Suffix from PEX
{M} - Message text
{I} - Shows players IP
{:P} - Shows players port of his ip with : before
{C} - Shows ISO2 code of players country (by his IP), e.g. US, UK, CZ, PL,...
{C+} - Shows full name of players country, e.g. Czech Republic, Poland, Slovakia, Australia,...
{J:args} - Shows jobs prefix - args can be full, title, job, shortfull, shottitle and shortjob
Color codes "&"
Time formating
You can find the tutorial here
Commands & Permissions
- factionschat.reload - Allows you to use command /factionschat, which reloads the plugin's config
- factionschat.colorcodes - Allows you to use color codes like &1, &a, &f,... in chat
- factionschat.see - Allows you to see every message posted in chat including out of range messages
- factionschat.bypass - With this permission you will bypass range mode and everyone on the server will see your message in chat
- factionschat.group.<group name> - Use this when you don't use PEX and you use advanced.yml config.
Changelog
Quote from v1.4:
- Updated for newest CB
- Added support for Jobs and for TagAPI
- Fixed issue with geolocation - now you have to have enabled GeoIPTools plugin for this
Quote from v1.3.1:
- Fixed error IllegalArgumentException - Notice that player list names can only be a maximum of 16 characters long, or it will be automatically truncated
Quote from v1.3:
- Fixed bug ClassNotFoundException when player used /factionchat command after /reload command
- Fixed bug NullPointerException when player messaged after /reload command
- Fixed bug of {F} formatting codes, when {F} wasn't used -> Now, you can teoretically use this plugin without Factions!
- Added MultiVerse world aliases support - when is MV enabled, {W} will be world alias
- Added advanced.yml config, you should use this, when you use other permissions plugin -> Added new group permissions.
- Cleaned code
Quote from v1.2:
- Added configurale maximum of dots in one word (prevents advertisements - URLs and IPs)
- Added new color codes for bold, italic, underline, line-through, magic and reset
- Added new formatting codes - {F+}, {+F}, {+F+}, {I}, {:P}, {C} and {C+}
- Added permissions for bypassing range mode (see and write)
- Configurable TAB player list with formatting codes and color codes
- Fixed some bugs
Quote from v1.1:
- Added message range mode.
- Added configurable list of blocked words in chat.
Quote from v1.0:
- First version of FactionsChat plugin.
To do
Add Jobs supportAdd TagAPI support (to change nick bubbles above players head)Add MultiVerse supportAdd PermissionsBukkit support(added advanced.yml config file)Add {C} for showing players country (like CZ, UK, US, FR,...)Add {I} for showing players IPConfigurable (TAB) list of players on serverAdd permission to see every message posted in chat (default for every OP)Add permission for bypassing range mode (you can send message visible for everyone)Add {F+} format code (same as {F} but with space behind)Add new color codes (&w - bold (as wide), &u - underline,...)Hiding IP adresses and URLs in chat (maximum number of dots in one word)Ranged mode for messagesBlocked words in chat

-
View User Profile
-
Send Message
Posted Apr 4, 2013It would indeed be awesome to see this updated.
-
View User Profile
-
Send Message
Posted Apr 2, 2013Every update to minecraft breaks this plugin, can you please get this working for 1.5.1?
Every update has broken this plugin, then our server lags so bad that it constantly crashes, chat lag spikes of 2 minutes at times. Then finally we update this one and it stops, please, for the love of god give us a update.
Or tell me another plugin that can work for us? We only use this to stop the weird stuff in faction's prefix.
-
View User Profile
-
Send Message
Posted Mar 27, 2013@AlphaFarer
Yep.
-
View User Profile
-
Send Message
Posted Mar 22, 2013Are you going to fix your plugin :/?
-
View User Profile
-
Send Message
Posted Mar 15, 2013chat range doesn't work, could you fix this issue? Config:
-
View User Profile
-
Send Message
Posted Mar 11, 2013PerwinCZ would you be willing to develop a custom version for me that uses the REGex engine of Pwnfilter? Pwnfilter is open source and another developer was able to easily do that with a bungee global chat plugin he created. I want to be able to use my REGex script and filter swear words from Factions chat which goes a bit deeper than a simple list of swear words.
Here's the REGex script I use: http://www.minecraftforum.net/topic/1715002-epics-minecraft-language-filter-filters-bad-language/
Please email me at myncraft1@gmail.com if you're interested.
Best, JAG100
-
View User Profile
-
Send Message
Posted Mar 10, 2013Please add custom channel support (Ex:Global Channel and Local Channel it would really help for small servers like mine
-
View User Profile
-
Send Message
Posted Mar 7, 2013@autvenom
There's only one command, /factionschat
-
View User Profile
-
Send Message
Posted Mar 7, 2013What are the commands lol?
-
View User Profile
-
Send Message
Posted Mar 3, 2013How do I make this work with Factions 1.8?
-
View User Profile
-
Send Message
Posted Feb 16, 2013Could you please explain to me how this links into TagAPI? Thanks, love the plugin :)
-
View User Profile
-
Send Message
Posted Feb 8, 2013Can u help me? Everytime when i write something it come only my name in red.
My Chat format: '{F}{P}{N}: {M}'
I use PEX but i think i must edit the factions config but what? Do u know it?
-
View User Profile
-
Send Message
Posted Feb 8, 2013Any chance of multiple channel support?
Like local chat, general chat.
-
View User Profile
-
Send Message
Posted Feb 7, 2013If you could add a way to get the faction alliance status color, that would be fantastic. For example: If colorAlly in the Factions config is set to GREEN, and the player is an Ally, then you can set the name over their head to GREEN using the Tag API. There is a plugin that does this already, found here, but it would great to have native support via your plugin!
-
View User Profile
-
Send Message
Posted Feb 2, 2013@TehDeathRider
It works for me fine without any problem. Are you sure you have set prefix and suffix in file "permissions.yml" and you are in correct group?
-
View User Profile
-
Send Message
Posted Feb 1, 2013Hey, if I put {P} in the format in the config it doesn't put anything through, I have PEX and everything, is it just a bug?._.
My format: format: '{F} {S}{N}: {M}'
-
View User Profile
-
Send Message
Posted Jan 23, 2013anybody going to continue? my server got version 1.8.0 factions and would really like to get faction chat back.
-
View User Profile
-
Send Message
Posted Jan 2, 2013This sucks that this went inactive -_- anyone able to recommend a replacement?
This plugin crashed my server today so bad it took two+ hours to get working again...
-
View User Profile
-
Send Message
Posted Dec 27, 2012@Mangerman
Don't worry, I will continue in this project. But now I don't have enough time to solve so many errors caused by new CB versions.
-
View User Profile
-
Send Message
Posted Dec 24, 2012That would be really helpful. This plugin was great and it would be sad to see it discontinued.