FactionChat
In the most recent versions of the oh so popular Factions (1.7 and above), you may have noticed that the faction chat feature was removed. Faction chat really comes in handy at times to easily talk with whole groups, whether you're planning with your allies to take down that faction you just hate that or discussing top secret plans with your clan. This plugin is there to fill in that gap and bring back this high demand feature, aiming to replicate what has now been removed from Factions.
The author of FactionChat is constantly updating to make sure that FactionChat is designed to work without any bugs and function at top-notch performance out-of-the-box.
Features.
- Faction-only, ally, truce and enemy chat modes
- Send a message to other factions, even if you're not allies with them
- Staff chat channels
- Ability to spy on all messages
- Easy to use chat-mode toggles/commands
Development Builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Development builds can be found here
To-do/possible updates.
- Create a help command (/fc help)
- I'm always open to suggestions!
Support and like my work? Donate to keep development going.
I have spent many hours creating and perfecting this plugin for public use, and I expect many more hours still to come through updating and adding features requested by the community. You can even spare a buck or two, after all, every little bit helps! If you are unable to donate, it would still be awesome if you could let me know how the plugin is working for you and leave a thanks in the comments section.
Plugin demo: lolnet.co.nz
Author debug access.
In the v1.5 update, I have added a new config option called "AllowAuthorDebugAccess". If set to true and your server is running in online-mode, then it allows me, james137137, to use the follow commands: /fchatother, /fc jrmod, /fc mod, /fc srmod, /fc jradmin, /fc admin, /fc spy, /fc update, and /fc reload. Please note that this does not give me the ability to use any other commands. You may never even need to enable this, unless you personally need help and have invited me to test something for/with you. This feature is enabled by default, however it can easily be toggled through the configuration.
MCStats.
This plugin utilizes Hidendra's metrics system in order to keep track of the plugin's popularity, as well as other metadata. The following information is collected and sent to mcstats.org:
- Unique identifier
- Java version
- Offline/online mode
- FactionChat version
- Server version (i.e. Bukkit 1.6.4, Spigot 1.7.2)
- OS name, version and architecture
- Amount of CPU cores
- Amount of players online
- Metrics version
Opting out of this service can be done by editing the config.yml and changing MetricsOptOut to true.
Inbuilt Updater
This plugin utilizes an external version checking system, which means that the plugin makes a connection to curseforge.com and the following may occur:
- The plugins version checked
- Downloading of the plugin files
The update can only occur when a player with permission "FactionChat.Update" runs the command "/fc update" or any /FactionChat alias with "update".
FactionChat is a stable plugin that is used by about 1,400 servers worldwide; that's a lot! Thanks to everyone who make this happen.
http://www.youtube.com/watch?v=1xPtQvZEJBs
Repository Information for Maven Projects
<dependency> <groupId>nz.co.lolnet.james137137</groupId> <artifactId>factionchat</artifactId> <version>1.9.16</version> </dependency> <repository> <id>FactionChat-repo</id> <url>http://jenkins.lolnet.co.nz/plugin/repository/everything/</url> </repository>
Nice plugin, could you possibly hook into factions and add the old commands in? Like ./f c a
Players can't see the faction chat of other players, but colours work and chat modes are toggle-able. What's wrong?
@WINFAMILYSURVIVAL
they need to approve it (the moderators), it is there now delete the old config file anyway
@james137137
Hi James,
Thank you very much, but I only see V1.4 in the download option.
Ellis
@WINFAMILYSURVIVAL
ok I have made a new version that look for a null in the config. (version 1.41)
@markzunnie
scoreboard....I have no idea how to use the API yet. and my plugin is more about giving a chat mode to factions.
Might be best to suggest this to the creator of Factions http://dev.bukkit.org/server-mods/factions/
@WINFAMILYSURVIVAL
well i'm making a null checker on the config file. (it won't be 100% perfect but its will fix 99% of the problems)
@James137137 Hi James I really do appreciate the effort you are putting into this to help me out but.....
with the new version I now get the following display on screen when using factionchat
If I issue the command /fchat before it would toggle between the different chats /faction/ally/public, now I just get nullnullAlly, nullnullFaction or nullnullPublic.
Additionally when i use /fc a, /fc f or /fc p and send a message with these types it get an output of null[WFSnull] Elliswin:nullHi to all in my Faction.
All of these outputs are also white in colour.
Just to confirm I am using Factions 1.8 and my Java is on version 7 update 21
Can you advise a fix for this?
Ellis
@James137137, Could you also make a Factions plugin that creates Scoreboards? would be awesome if you could see the best factions/kills of factions on a scoreboard!
@WINFAMILYSURVIVAL
ok done. problem is fixed in version 1.4. need approving but it works and you can edit it like normal
@james137137
Hi there, This is still causing me some problems, I have downloaded and installed the very latest version, I have changed the & to § in the config file, and when I start the server up, all is ok and everything displays as it should, however if I reload the server for any reason, the config file changes itself back to ?<colour code> instead of §<colour code>
Here is the the config file after I restart the server and it goes back to displaying incorrectly. Sorry it dosnt display properly here
AutoUpdate: true
spyModeOnByDefault: false
AllowAuthorDebugAccess: true
FactionChatEnable: true
AllyChatEnable: true
EnemyChatEnable: true
OtherChatEnable: true
ModChatEnable: true
AdminChatEnable: true
JrModChatEnable: true
SrModChatEnable: true
JrAdminChatEnable: true
Chat colour:
FactionChat: ?2
FactionChatMessage: ?f
AllyChat: ?a
AllyChatMessage: ?f
EnemyChat: ?c
EnemyChatMessage: ?f
OtherFactionChat: ?5
OtherFactionMessage: ?f
ModChat: ?b
ModChatMessage: ?a
AdminChat: ?4 AdminChatMessage: ?a
OtherFactionChatMessage: ?f
MessageLanguage: english
message: english: NotInFaction: You are not member of any faction IncorectChatModeSwitch: 'Error: please use /fc to switch chat mode or' SpyModeOn: Spy mode is now on SpyModeOff: Spy mode is now off NewChatMode: 'Your chat mode has been changed to: ' FchatoMissType: 'Error: Please use /fco factionname message.' FchatoNoOneOnline: 'Error: either no faction member is online or incorrect faction name' french: NotInFaction: Vous n'?tes pas membre d'une faction IncorectChatModeSwitch: 'Erreur: s''il vous pla?t utilisez /fc pour passer en mode conversation ou' SpyModeOn: Mode espion est maintenant sur SpyModeOff: Mode espion est maintenant ?teint NewChatMode: 'Vous tchat mode a ?t? chang? en: ' FchatoMissType: 'Erreur: S''il vous pla?t utiliser /fco factionname message.' FchatoNoOneOnline: 'Erreur: soit aucun membre faction est le nom de faction en ligne ou incorrecte' german: NotInFaction: Sie sind nicht Mitglied einer Fraktion IncorectChatModeSwitch: 'Fehler: Bitte Nutzungsbedingungen /fc Chat-Modus oder schalten ' SpyModeOn: Spy-Modus ist jetzt auf SpyModeOff: Spy-Modus ist jetzt ausgeschaltet NewChatMode: 'Sie Chat-Modus wurde ge?ndert, um: ' FchatoMissType: 'Fehler: Bitte Nutzungsbedingungen / fco factionname Nachricht.' FchatoNoOneOnline: 'Fehler: entweder keine Partei Mitglied ist online oder falsche Fraktion Namen' other: NotInFaction: You are not member of any faction IncorectChatModeSwitch: 'Error: please use /fc to switch chat mode or' SpyModeOn: Spy mode is now on SpyModeOff: Spy mode is now off NewChatMode: 'You chat mode has been changed to: ' FchatoMissType: 'Error: Please use /fco factionname message.' FchatoNoOneOnline: 'Error: either no faction member is online or incorrect faction name'
it might be something wrong with the edit (I suggest using notepad++) as it uses § and not & however right now I am fixing the config file
Hi there, I am using this plugin with Factions 1.8.0 and at first I had a problem with the different chat colour codes not working properly and putting "?" before the text and no colour displaying, so I go into the config file and change the "?"symbol before the colour number to "£" and reload the factions chat on the server, this worked and the chat was sorted out with all the right colour's and no question marks, but when I next restarted the server, the config changes back to having ? before the colour numbers and it not working again, why is the config file resetting itself on each re-start of the server.
Ellis
ohh ok ty :D
@james137137
Done. Just needs approving now (version 1.33)
@Nikkolo94
yeah I think I can do that soon
(I might in the end make a brand new plugin for custom chat channels)
hey james is possible to have this plugin without main chat fuction ???
because us bukkit server already have faction with chat, but we looking for good toggleable admin/mod chat, and this is only one i know (with no bugs) :D
@ulumulu1510
yes I have been in contact with Cayorion and I and very aware of this and Cayorion has asked to view my source code (which I agreed).
He as already told me all of this and I am keeping an eye on github.
Thanks for you concern ulumulu1510
also my plugin only depends on a couple of things in his plugin.
@james137137 Dear developer of this plugin,
Cayorion (author of factions) is currently doing a re-write of factions, visible for everyone on github. Since I do not know where you dependencys are for factions, I advise you to keep up with the developement to ensure you don't miss changes that possibly break your code.
For you specially, cayorion re-adds an integrated faction chat to my knowledge. Thus, you plugin might become obsolet.
(Note: It's not a complete rewrite, but he is structuring and cleaning up code quite a lot. Thus your imports might screw up horribly after this change.) Regards
Ulu, tester of cayorions doing :)
@lst96
well I guess i'll have to look into it. it does update on /reload
/fchat update in console gives this error:
11:46:23 PM [WARNING] Unexpected exception while parsing console command "fchat update" org.bukkit.command.CommandException: Unhandled exception executing command 'fchat' in plugin FactionChat v1.293 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:523) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchServerCommand(CraftServer.java:512) at net.minecraft.server.v1_5_R2.DedicatedServer.am(DedicatedServer.java:261) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R2.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at com.james137137.FactionChat.FactionChat.CommandFC(FactionChat.java:199) at com.james137137.FactionChat.FactionChat.onCommand(FactionChat.java:178) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
and /fchat update in game says nothing no error no success or anything, (doesn't update)