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>
Just quoting what I've been told
The users who are experiencing the error are using special characters in the config values, triggering this error. Just tell them to only use alphanumeric characters and punctuation, excluding "?".
@Azekial07
I think i found the problem.... try this: http://dev.bukkit.org/server-mods/factionchat/files/51-faction-chat-v1-524/
Let me know if it works :D (or not)
@wehehehek
Yes I think I could do that. I'll put it on my todo list now which you can expect it to be implemented in 1.525
edit: you would have to add the negate permission like -FactionChat.AllyChat
Hi! Are you planning on putting permissions for players to see and use faction-chat-only and ally-chat-only? I have multiple worlds with one world using factions. I don't want them to see the faction chat and use it when they're on a different world.
If this is not possible, it's all good. Thanks for this great plugin!
@james137137
I tried the config you sent, and like the rest I get the same message. So whats the next step?
I just wanna say thank you for your help so far.
@Azekial07
well on the last line there is "[WARNING] [FactionChat] Something is wrong with FactionChat Plugin, I can fix your null in your config file". I added this for a reason (I will later try and add more to it) but it means that something is wrong with your config.yml
Download this: https://www.dropbox.com/s/b9db94fd1xggrgt/config.yml
And replace it with the config.yml in ...\plugins\FactionChat
if it doesn't work let me know and I'll work something out.
First of all, I would like to thank you for this plugin, however; I have run into difficulty with it.
When I try to use the commands to toggle between chats, I get this message, if I do /fc f for example.
"Sorry this chat mode is disabled"
In the config.yml file it says it is enabled.
So I was messing around with it a bit and every time I did a /fchat reload I got this from the console.
2013-05-16 15:39:27 [SEVERE] Cannot load configuration from stream org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 1654 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:202) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:121) at com.james137137.FactionChat.FactionChat.reload(FactionChat.java:99) at com.james137137.FactionChat.FactionChat.CommandFC(FactionChat.java:353) at com.james137137.FactionChat.FactionChat.onCommand(FactionChat.java:177) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523) at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerConnection.java:965) at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.java:883) at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:840) at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109) at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 1654 at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70) at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 22 more 2013-05-16 15:39:27 [WARNING] [FactionChat] Something is wrong with FactionChat Plugin, I can fix your null in your config file
I was wondering if you could help me out.
@FireBreath15
You are very welcome. let me know if you find any bugs. I normally fix them within 24 hours
Thank you Thank you THANK YOUUUUUU
Yea i noticed they removed that :/ it really is a nice feature. Nice work :)
@LHammonds
1.522 I got rid of the s in "admin" (FactionChat.admin.info)
The title thing isn't quite finished yet. At the moment (1.522) its just plain white.
The title is just the players Faction tag (/f tag playername tagname) (or to be more code-y return ((FPlayer) FPlayers.i.get(player)).getFaction().getTag(); )
I tried out FactionChat 1.521 on CraftBukkit 1.5.2-R0.1 and also experienced the permission configuration error on the console as noted by user rtcabooservb. I tried editing the plugin.yml to match the permission file by adding the "s" at the end of "admin" but that didn't work. The 1.522 update worked and I no longer get the console error message. Thanks.
I'm new to this so please forgive me if this sounds ignorant. How do I insert color-coded rank titles? For example, I use group prefixes in bPermissions.
How are all the various prefixes referenced? E.g. Worldname, Group, Displayname, FactionTag, FactionRolePrefix, FactionTitle
Thanks, LHammonds
@Zeroi9
http://dev.bukkit.org/server-mods/factionchat/files/49-faction-chat-v1-522/
let me know if it works or not. Thanks
@james137137
I have the same issue, wwhere can I find 1.522?
@rtcabooservb
bummer.... re-fixing.... and heavy testing it... :D
ok if it outputs the same result then I'll have to do a bit more that a quick fix.
see 1.522 for the update
Thanks again rtcabooservb
@james137137
@james137137
done. see 1.521
@rtcabooservb
oh dear....yeah i'll get on to that
@xtheudis
yep I can fix that.
@james137137
Faction chat v1.52
Manually removing the children nodes from plugin.yml inside the .jar, no more errors.
@james137137
Very well! But I found a small bug! If I am wrong in mode /fcamin change <playername> <mode> the "IncorectChatModeSwitch" error appears on the screen of the player and not mine on which the confirmation message appears "changed chat mode for <playername >". Can you display anything on the screen of the player in this case and instead display an error message on the screen of the admin?
@xtheudis
I think that would be a good idea.
Done. and implemented in version: 1.52 (see command page for info)
Hello,
Thank you for this fantastic plugin!
Could you add a command to know in which chat is a player? As / fcadmin info <playername>.
Thank you so much!
(and please change the French translation on:
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 maintenant activé.' SpyModeOff: 'Mode espion maintenant désactivé.' NewChatMode: 'Votre mode de chat est maintenant : ' FchatoMissType: 'Erreur : s''il vous plaît utilisez /fco factionname message.' FchatoNoOneOnline: 'Erreur : soit aucun membre de la faction n''est en ligne soit la faction n''existe pas.')