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>
@pablolop002
Could you test out for me a fix I just did and let me know if that worked.
http://anderson.lolnet.co.nz:8081/job/FactionChat/33/artifact/target/FactionChat.jar
Config file gets restored when I change the MessageLanguage option from english to other.
@Ogiliss
no problem
@james137137
config was blank, went into the jar and pulled out the one there and hey presto, it worked, apologies, the older ones where generating configs as i checked it a couple of times, when i updated im pretty sure i deleted them. not sure why cnfigs keep doing that for me, its most perculier.
thanks for the help, much appreicated!
@Ogiliss
I'll have a look later. but at a first glance it looks like something is wrong with the config.yml
Could you paste that too?
@OfficialKyuzon
Please see http://dev.bukkit.org/bukkit-plugins/factionchat/pages/configuration/. The comments tend to get deleted by bukkit normally
@james137137
Hey James, sorry, got massively distracted last night, i actually installed 1.9.9 and tried it just after posting here, this is from startup
[13:06:01] [Server thread/INFO]: [FactionChat] Enabling FactionChat v1.9.9 [13:06:01] [Server thread/INFO]: [FactionChat] using Factions API of: nz.co.lolnet.james137137.FactionChat.FactionsAPI.FactionsAPI_2_6_0 [13:06:01] [Server thread/ERROR]: Error occurred while enabling FactionChat v1.9.9 (Is it up to date?) java.lang.NullPointerException at nz.co.lolnet.james137137.FactionChat.ChatMode.FormatString(ChatMode.java:483) [?:?] at nz.co.lolnet.james137137.FactionChat.ChatMode.initialize(ChatMode.java:31) [?:?] at nz.co.lolnet.james137137.FactionChat.FactionChat.reload(FactionChat.java:182) [?:?] at nz.co.lolnet.james137137.FactionChat.FactionChat.onEnable(FactionChat.java:150) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [JavaPlugin.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:368) [JavaPluginLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:410) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:415) [CraftServer.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:349) [CraftServer.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at net.minecraft.server.MinecraftServer.func_71243_i(MinecraftServer.java:500) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:474) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:434) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:329) [lt.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_25] [13:06:01] [Server thread/INFO]: [ScoreboardStats] Enabling ScoreboardStats v0.8.5 [13:06:01] [Server thread/ERROR]: ebean.properties not found
the commands show up ingame when i do /help chat, but when i try to use them this appears in the log
[13:08:48] [Server thread/INFO]: <Pirates [Fa] Ogliss> bboo [13:08:52] [Server thread/INFO]: Ogliss issued server command: /fchat boo [13:08:52] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'fchat' in plugin FactionChat v1.9.9 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [PluginCommand.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) [SimpleCommandMap.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:717) [CraftServer.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1350) [nh.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1132) [nh.class:?] at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:38) [ir.class:?] at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:53) [ir.class:?] at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) [ej.class:?] at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423) [lt.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_25] Caused by: java.lang.NullPointerException at nz.co.lolnet.james137137.FactionChat.FactionChat.onCommand(FactionChat.java:297) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [PluginCommand.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] ... 13 more [13:08:56] [Server thread/INFO]: Ogliss issued server command: /fchat [13:08:56] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'fchat' in plugin FactionChat v1.9.9 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [PluginCommand.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) [SimpleCommandMap.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:717) [CraftServer.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1350) [nh.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1132) [nh.class:?] at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:38) [ir.class:?] at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:53) [ir.class:?] at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) [ej.class:?] at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423) [lt.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_25] Caused by: java.lang.NullPointerException at nz.co.lolnet.james137137.FactionChat.FactionChat.onCommand(FactionChat.java:297) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [PluginCommand.class:git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218] ... 13 more
thanks for the swift reply! its much appreciated
I'm sorry.. but I have questions for your plugin config What do these placeholders mean? {0}: {1}: {2}: {3}: {T}: {M}:
Please answer
@Ogiliss
can you try the latest please. 1.9.9 (not 1.8.4)
http://dev.bukkit.org/bukkit-plugins/factionchat/files/111-faction-chat-1-9-9/
and send me the errors. Thanks
Hi, im trying to get your plugin to work on a 1.7.10 Cauldron server however im not having much luck, th ecommands show up ingame, but they return an interal server error when i try to use any of them, i havent touched the config for it yet
ive tried several different versions
but the errors im getting are
[19:34:32] [Server thread/INFO]: [FactionChat] Enabling FactionChat v1.8.4 [19:34:32] [Server thread/ERROR]: null java.lang.ClassNotFoundException: nz/co/lolnet/james137137/FactionChat/FactionsAPI/FactionsAPI2 at java.lang.Class.forName0(Native Method) [?:1.8.0_25]
[19:28:59] [Server thread/INFO] [nz.co.lolnet.james137137.FactionChat.FactionChat/]: [FactionChat] Enabling FactionChat v1.9.8 [19:28:59] [Server thread/INFO] [Minecraft/]: [FactionChat] using Factions API of: nz.co.lolnet.james137137.FactionChat.FactionsAPI.FactionsAPI_2_6_0 [19:28:59] [Server thread/ERROR] [Minecraft/]: Error occurred while enabling FactionChat v1.9.8 (Is it up to date?)
any help would be very much appreciated, if you need more info please lemme know what
Added FactionChat 1.9.9
@yoroyarell
is this with essentials?
I've always considered using nicks but it would be a permission based thing due to people could abuse and change their nick to "cheat" their way in a factions trust.
Let me know what you think and what plugin you are using.
Thanks
Hi, My server is a nick based one and all users basically using nick command to change there names, however in FacntionChat I can not set this. Do you plan to add this feature in the near future? thx
@ceruleanReverie
glad to hear. yeah /fc reload wont reload the Listeners, I'll look into it but I expect it won't work
NVM, it actually worked... thanks, :P
I was just using /fc reload to reload the config before, but I guess that doesn't work... I set the chat priority to 4 and it is working now.
Also for whatever reason it seems the problem where people who had done /fc mute could still see OPs talking was fixed too O_o
@james137137
I have done that, and it didn't do anything, unless I changed the wrong priority setting... I'm pretty sure I tried every single setting, though
Also, I found a bug; people can see OP players chatting even after doing /fc mute, even if the permission group they are in has the permission node negated... edit: i am using groupmanager for permissions
@ceruleanReverie
This has been discussed and all you have to do is change the priority via the FactionChat config
Please make it so that sending a chat message while in any chat mode besides public chat still sends a chat event, I think that the reason other chat plugins can't detect stuff from factionchat is because it cancels the chat event and sends the message as a broadcast to the right players.
This interferes with things like ChatControl, which means players can bypass any word filters admins set up if they are in faction chat!!! please fix this if you can D:
@agligorijevic1998
hmmmmm thats not good... Thanks agligorijevic1998 I'll ticket that now...
@james137137
These are the only things I have in config.yml... http://pastebin.com/3ZRxLqjp Before update it was the whole list of features, I believe this is bugged
My spigot version: http://i.imgur.com/SIBl0MT.png
@james137137
Would we nice if you added title prefix and suffix. Anyway the - after the title doesn't seem to be working on dev build 30