q0rdev / mchat Goto Github PK
View Code? Open in Web Editor NEWChat Formatting for Bukkit
Chat Formatting for Bukkit
I've looked at the code for both shortify and mchat, and it would seem that mchat gets the chat event first at priority lowest, then shortify doesn't even get to see the event as its listening on low.
once mchat uses the event, is the event available to higher priority plugins to format as well, or is the event consumed.
You already added the chat radius, but I need a way players can override that radius with /shout. Also there massages need to have a tag appended to them so they know its global, like [Shout] or something, likewise local (normal) messages should have a [L]. It should be fast top implement considering you already have half of it done.
due to the variable replacement happening in a random order, smaller variables can replace parts of larger variables.
e.g. +g for group and +georegion
can end up with membereoregion if the group variable was member.
The latest build with the spy functionality makes the local chat no longer work at all. Join mc.obsidiancraft.com to see.
Shout and [L] are not displayed at all.
heyho,
I know that mChatSuite isnt updated for MC1.0.0, but I think It although should work well.
In 1.8.1 with Build #1337 all works perfekt with bpermissions. (For Example: mchat.prefix.member)
Info:
mchat:
prefix:
member: '&8[Member]'
admin: '&c[Admin]'
In 1.0.0 with exactly the same configuration. I always get the first listet prefix.
So with:
mchat:
prefix:
member: '&8[Member]'
admin: '&c[Admin]'
I have the prefix "Member"
And with:
mchat:
prefix:
admin: '&c[Admin]'
member: '&8[Member]'
I have the prefix "Admin"
I've redone the entire ticket here:
http://dev.bukkit.org/server-mods/mchat/tickets/177-spout-visuals/
I just hope posting here will speed up the solution process :)
Information:
I can't seem to get the spout things working. I'm not going to list everything, because that is under the link above, but I do want to say that I am using no other chat plugins at all, accept maybe Essentials. I have tried to make this work on a clean and empty server, no luck. It was only craftbukkit R4, SpoutPlugin, and mChatSuite and I had no results. Chat worked fine, just no spout results. I was using the spout client, and so was my friend. I'm not really sure where else to go anymore...
mchat.bypass.*
also it doesnt match your current scheme of leaving the .* off grouped nodes.
actually, a page on your bukkit dev listing all commands would go a long long way.
Please can you edit the plugin's .yml file to mirror the name change on bukkit dev, this name difference causes a problem with the API - plugin matching systems on my server, and should be fixed anyways!
I'm not sure if this is fixed already but vanished people (using vanish no packet) are still displayed.
Sometimes bugging really hard staying in the tab list, after disconnecting.
mChatSuite b63
I love the progress I see on mchat, it is defiantly going to be the choice of server admins for some time. Wit that said I have some other features that are simple, yet essential.
In full servers death messages get very spammy. A simple frue/false toggle to block them in config would be nice.
Just as with death messages, join/login messages can get spammy. However, with that said, some admins may want these messages to only display for their member ranks players or perhaps their donator players. Now, after much though, I believe the easiest and best way to offer a solution to this system is the following:
After much investigation I have successfully traced BUKKIT-53, a critical NPE causing a complete server crash, to mchatsuite. It appears to cause a NPE in bukkit mob spawning after it kicks a player. Is mchat kicking players safely?
BUKKIT-53: https://bukkit.atlassian.net/browse/BUKKIT-53
Stacktrace: http://pastie.org/2957721
Everytime a player joins on my server I get the following exception:
[16:47:35 WARN]: [MChat] Task #42 for MChat v1.7.9-R0.1.1-BETA-e10c0ef generated an exception
java.lang.NullPointerException
at ca.q0r.mchat.api.Reader.getVaultUserInfo(Reader.java:260) ~[?:?]
at ca.q0r.mchat.api.Reader.getVaultInfo(Reader.java:246) ~[?:?]
at ca.q0r.mchat.api.Reader.getRawInfo(Reader.java:48) ~[?:?]
at ca.q0r.mchat.api.Reader.getRawSuffix(Reader.java:81) ~[?:?]
at ca.q0r.mchat.variables.vars.PlayerVars$SuffixVar.getValue(PlayerVars.java:56) ~[?:?]
at ca.q0r.mchat.variables.VariableManager.replaceVars(VariableManager.java:133) ~[?:?]
at ca.q0r.mchat.events.custom.ParseEvent.parse(ParseEvent.java:146) ~[?:?]
at ca.q0r.mchat.events.custom.ParseEvent.getParsed(ParseEvent.java:113) ~[?:?]
at ca.q0r.mchat.api.Parser.parseMessage(Parser.java:29) ~[?:?]
at ca.q0r.mchat.api.Parser.parseTabbedList(Parser.java:75) ~[?:?]
at ca.q0r.mchat.events.bukkit.PlayerListener.setListName(PlayerListener.java:147) ~[?:?]
at ca.q0r.mchat.events.bukkit.PlayerListener.access$000(PlayerListener.java:25) ~[?:?]
at ca.q0r.mchat.events.bukkit.PlayerListener$2.run(PlayerListener.java:63) ~[?:?]
at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukk
it-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftSche
duler.java:345) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:600) [craftbukkit
-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit
-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit
-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukk
it-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit
-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
/version gives the following output:
[16:51:53 INFO]: This server is running CraftBukkit version git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3
092jnks (MC: 1.7.9) (Implementing API version 1.7.9-R0.2)
and /vault-info gives the following:
[16:52:40 INFO]: [Vault] Vault v1.4.1-b436 Information
[16:52:40 INFO]: [Vault] Economy: Essentials Economy [Essentials Economy]
[16:52:40 INFO]: [Vault] Permission: PermissionsBukkit [PermissionsBukkit, SuperPerms]
[16:52:40 INFO]: [Vault] Chat: None [null]
Here is a screenshot: http://dl.dropbox.com/u/43023963/Minecraft/2012-01-30_19.45.56.png
Suffix's do not seem to use the same characters as the prefix including the '&' character as well as '['
Info.yml file contents:
http://pastebin.com/raw.php?i=bSyUwXxw
Server start-up error:
http://pastebin.com/raw.php?i=8xv2SYSp
CraftBukkit: Bukkit-1.0.1-R1
mChatSuit: v1.0.1-R2
Hi again! No noticeable in-game problems, but the console spat a NPE.
It didn't for me using the exact same spoutcraft version and same rank as MsI.
PEx 1.17, SpoutPlugin 663, Bukkit 1645, mChatSuite build 70 i think [mChatSuite v1.0.1-R2 is enabled!]
.
10:10 PM [INFO] MsInscrutable [/192.168.1.2:50487] logged in with entity id 21651 at ([Fragilus] -56.5625, 82.0, -142.9375)
10:10 PM [SEVERE] java.lang.NullPointerException
10:10 PM [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:124)
10:10 PM [SEVERE] at org.getspout.spout.player.SpoutCraftPlayer.hasPermission(SpoutCraftPlayer.java:200)
10:10 PM [SEVERE] at in.mDev.MiracleM4n.mChatSuite.mChatAPI.checkPermissions(mChatAPI.java:418)
10:10 PM [SEVERE] at in.mDev.MiracleM4n.mChatSuite.mChatSuite$1.run(mChatSuite.java:475)
10:10 PM [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
10:10 PM [SEVERE] at java.lang.Thread.run(Unknown Source)
10:10 PM [INFO] Reading data
10:10 PM [INFO] [Spout] Successfully authenticated MsInscrutable's Spoutcraft client. Running client version: 1008
More exceptions.
This one spams a lot:
2011-12-18 09:10:57 [SEVERE] java.lang.NullPointerException
2011-12-18 09:10:57 [SEVERE] at in.mDev.MiracleM4n.mChatSuite.mChatSuite$1.run(mChatSuite.java:495)
2011-12-18 09:10:57 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
2011-12-18 09:10:57 [SEVERE] at java.lang.Thread.run(Unknown Source)
2011-12-18 09:10:57 [SEVERE] java.lang.NullPointerException
2011-12-18 09:10:57 [SEVERE] at in.mDev.MiracleM4n.mChatSuite.mChatSuite$2.run(mChatSuite.java:520)
2011-12-18 09:10:57 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
2011-12-18 09:10:57 [SEVERE] at java.lang.Thread.run(Unknown Source)
And then when I /list:
2011-12-18 09:10:34 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'list' in plugin mChatSuite v1.0.1-R1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180)
at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Caused by: java.lang.NullPointerException
at in.mDev.MiracleM4n.mChatSuite.commands.MECommandSender.formatList(MECommandSender.java:214)
at in.mDev.MiracleM4n.mChatSuite.commands.MECommandSender.onCommand(MECommandSender.java:196)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 14 more
I'm seeming to get this odd little thing go about. Whenever I hit [TAB] and I've hit /afk into the chat, My name losses color.I've set the /afk for mChat off, so that it can be handled by Essentials indtead.. I don't know if that is the source of the problem, but here is a link to the rest of the info, and probably a better description:
http://dev.bukkit.org/server-mods/mchat/tickets/185-tab-not-showing-prefix-or-color/
in particular, pm's and convo's
2012-01-27 21:59:22 [SEVERE] Could not pass event org.bukkit.event.player.PlayerJoinEvent to mChatSuite
java.util.ConcurrentModificationException
at java.util.TreeMap$AbstractMapIterator.makeNext(TreeMap.java:200)
at java.util.TreeMap$UnboundedEntryIterator.next(TreeMap.java:247)
at java.util.TreeMap$UnboundedEntryIterator.next(TreeMap.java:232)
at in.mDev.MiracleM4n.mChatSuite.mChatAPI.replaceCustVars(mChatAPI.java:527)
at in.mDev.MiracleM4n.mChatSuite.mChatAPI.ParseMessage(mChatAPI.java:284)
at in.mDev.MiracleM4n.mChatSuite.mChatAPI.ParseEventName(mChatAPI.java:322)
at in.mDev.MiracleM4n.mChatSuite.bukkit.events.MBPlayerListener.onPlayerJoin(MBPlayerListener.java:222)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:272)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:327)
at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
I don't think I could find anything wrong with your plugin if you would add the ability to specify nodes required for access to specific chat channels, as well as the ability to specify default channels.
It would also be nice to be able to register commands to be able to chat into a specific channel without leaving another (for those using mchat.spy).
It appears that mchat is actually slowing down event processing a bit more than I think it should...
mChatSuite v1.2.2-b165jnks-R0
PlayerJoinEvent Time: 32260815808 Count: 2962 Avg: 10891565
PlayerInteractEvent Time: 705083232 Count: 902870 Avg: 780
PlayerQuitEvent Time: 35039081038 Count: 2779 Avg: 12608521
PlayerChatEvent Time: 282185932993 Count: 20565 Avg: 13721659
PlayerCommandPreprocessEvent Time: 292168488 Count: 23207 Avg: 12589
PlayerKickEvent Time: 1217916669 Count: 88 Avg: 13839962
SignChangeEvent Time: 1258923 Count: 596 Avg: 2112
PlayerMoveEvent Time: 20436530498 Count: 21071380 Avg: 969
EntityDamageEvent (and others) Time: 513472776 Count: 296809 Avg: 1729
EntityDeathEvent (and others) Time: 24487099554 Count: 8436 Avg: 2902690
Total time 397139359979 (397s)
2012-02-02 04:32:41 [SEVERE] java.util.ConcurrentModificationException
2012-02-02 04:32:41 [INFO] [ObsidianVote] ServerNagTimer Lag: 0.003s.
2012-02-02 04:32:41 [SEVERE] at java.util.TreeMap$AbstractMapIterator.makeNext(TreeMap.java:200)
2012-02-02 04:32:41 [SEVERE] at java.util.TreeMap$UnboundedEntryIterator.next(TreeMap.java:247)
2012-02-02 04:32:41 [SEVERE] at java.util.TreeMap$UnboundedEntryIterator.next(TreeMap.java:232)
2012-02-02 04:32:41 [SEVERE] at in.mDev.MiracleM4n.mChatSuite.mChatAPI.replaceCustVars(mChatAPI.java:516)
2012-02-02 04:32:41 [SEVERE] at in.mDev.MiracleM4n.mChatSuite.mChatAPI.ParseMessage(mChatAPI.java:260)
2012-02-02 04:32:41 [SEVERE] at in.mDev.MiracleM4n.mChatSuite.mChatAPI.ParseTabbedList(mChatAPI.java:308)
2012-02-02 04:32:41 [SEVERE] at in.mDev.MiracleM4n.mChatSuite.bukkit.events.BMPlayerListener$2.run(BMPlayerListener.java:173)
2012-02-02 04:32:41 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
2012-02-02 04:32:41 [SEVERE] at java.lang.Thread.run(Thread.java:722)
2012-02-02 04:32:42 [INFO] Connection reset
2012-01-29 02:30:18 [INFO] false
2012-01-29 02:30:18 [INFO] true
2012-01-29 02:30:18 [SEVERE] Could not pass event org.bukkit.event.player.PlayerJoinEvent to mChatSuite
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1028)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:327)
at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
... 9 more
Caused by: java.util.ConcurrentModificationException
at java.util.TreeMap$AbstractMapIterator.makeNext(TreeMap.java:200)
at java.util.TreeMap$UnboundedEntryIterator.next(TreeMap.java:247)
at java.util.TreeMap$UnboundedEntryIterator.next(TreeMap.java:232)
at in.mDev.MiracleM4n.mChatSuite.mChatAPI.replaceCustVars(mChatAPI.java:521)
at in.mDev.MiracleM4n.mChatSuite.mChatAPI.ParseMessage(mChatAPI.java:258)
at in.mDev.MiracleM4n.mChatSuite.mChatAPI.ParseEventName(mChatAPI.java:302)
at in.mDev.MiracleM4n.mChatSuite.bukkit.events.BMPlayerListener.onPlayerJoin(BMPlayerListener.java:184)
... 13 more
https://hasteb.in/xulidaqe.bash
I'm using last paper build.
Maybe if someone has time could compile it against lastest spigot? I don't have any knowledge to do it, unfortunately.
Thanks!!!!
This is an example of what the list command outputs on my server:
default: Nyancat247, cornchip64, Lharoi, michael0z, nozz123, Jamer91, CesaraLynn, phelixxminhkhoa, ondinren, AimlessComa, wanker123456789, Rytech2, ledogen, princeofdaylight, EagleFox, ub3rs4m, thetevinantor, Lsloke, amazingdizzo, I3lincIecI, Droid2o0, exlasis, YellowSnow16, SuperCyp, kkaw,
CONSOLE: Executive: [Executive] C0MMAND0, [Executive] HowieDoIt, [Executive] Ryaneezy, [Executive] KoolJohn, [Executive] CrimsonMagi,
King: [King] WogWorld, [King] HANSofWAR92,
Supporter: [Supporter] Chuunks,
VIP: [VIP] Nahte27,
EliteMod: [EliteMod] TheSexyAlbatross (Staff),
Moderator: [Mod] ulvak (Staff), AFK][Mod] Nach0z (Staff),
It's a great start, but it has three issues. First, the groups are not in the order I wish. Second, the linebreaks waste too much space and third the default group gets excessively long blocking the "X players are online" message. So, here's the solution...
When you hit tab, you may or may not see your name written in the prefix or color defined. I'm not sure why this is, but I think it has to do with /afk with essentials + mChat.
http://dev.bukkit.org/server-mods/mchat/tickets/185-tab-not-showing-prefix-or-color/
Look here for the full ticket --^
I keep getting this error:
java.lang.IllegalArgumentException: §4[SemiAdmin]§3 is already assigned as a player list name for someone
at org.bukkit.craftbukkit.entity.CraftPlayer.setPlayerListName(CraftPlayer.java:157)
at in.mDev.MiracleM4n.mChatSuite.events.MPlayerListener.onPlayerChat(MPlayerListener.java:79)
at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:308)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at im.creep.bukkitinsider.smartassery.SmartassPluginManager.callEvent(SmartassPluginManager.java:97)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:742)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:178)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:587)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
2012-02-14 20:04:43 [SEVERE] Could not pass event org.bukkit.event.player.PlayerChatEvent to mChatSuite
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:749)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:732)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:176)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
... 13 more
Caused by: java.lang.IllegalArgumentException: §4[SemiAdmin]§3 is already assigned as a player list name for someone
at org.bukkit.craftbukkit.entity.CraftPlayer.setPlayerListName(CraftPlayer.java:150)
at in.mDev.MiracleM4n.mChatSuite.bukkit.events.BMPlayerListener.onPlayerChat(BMPlayerListener.java:88)
... 17 more
When I enable mchat essentials I am getting a stream of NPE's regarding player movement. You probably know, but I though I would report it.
java.lang.NullPointerException
2011-12-12 23:11:55 [SEVERE] Could not pass event PLAYER_MOVE to mChatSuite
java.lang.NullPointerException
2011-12-12 23:11:55 [SEVERE] Could not pass event PLAYER_MOVE to mChatSuite
java.lang.NullPointerException
2011-12-12 23:11:55 [SEVERE] Could not pass event PLAYER_MOVE to mChatSuite
java.lang.NullPointerException
2011-12-12 23:11:55 [SEVERE] Could not pass event PLAYER_MOVE to mChatSuite
java.lang.NullPointerException
2011-12-12 23:11:55 [SEVERE] Could not pass event PLAYER_MOVE to mChatSuite
java.lang.NullPointerException
2011-12-12 23:11:55 [SEVERE] Could not pass event PLAYER_MOVE to mChatSuite
-snipped-
Ok, so I've been messing with it in MCMYADMIN and done many fresh installs of mChatSuite b63 for CB 1.0.1-R1 and this happens:
Upon chat: < prefix dname suffix
MMA's chat format is set to: <+p+dn+s> +m
and my config files are below
Whenever I do have it working, if I demote someone it either keeps their rank or puts back the < prefix dname suffix issue for everyone.
info.yml
mchat:
prefix:
Default: '&f[User]'
Regulars: '&a'
Moderators: '&1'
Administrators: '&4[Admin]'
group:
Default: Everyone
Regulars: Regulars
Moderators: Moderators
Administrators: Administrators
suffix:
Default: ''
Regulars: ''
Moderators: ''
Administrators: ''
users: {}
groups: {}
groupnames: {}
worldnames: {}
mname:
MiracleM4n: M1r4c13M4n
Jessica_RS: M1r4c13M4n's Woman
config.yml
format:
date: 'HH:mm:ss'
name: '+prefix+dname+suffix&e'
chat: '+prefix+dname+suffix +message'
info:
useNewInfo: false
useOldNodes: true
addNewPlayers: false
defaultGroup: 'default'
This is really bothering me D;
If you do /deny and somebody has actually sent you a invitation, nothing happens.
You can still accept the convo invitation and if somebody sends you another invitation it tells him that there's still a request pending.
I'll add a pull request to fix this issue, I think it's just a wrong boolean condition.
Please add a config option to disable the Tab list formatting.
Changing the locale works, but I want to change it in my own plugin and your one overrides it.
v1.2.5-b247jnks-R3_28
I join a channel once and get the chat tag, but then I can't leave it. It says I'm not in it. Then I can do the join command again, and it allows me to have joined twice, and posts my messages twice. I can use the leave command then and it works just fine, but once I'm only in it one time again, once more it says I'm not in it, even though I have the tag.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.