Quote icon

Quote -----

Quote allows players to "quote" others in chat by clicking on their message




Version: 1.2-SNAPSHOT
i fonud a BUG
this plugin doesn't Incompatible with ChinesizeAsYouCan

this is ChinesizeAsYouCan url
https://www.mcbbs.net/thread-723004-1-1.html

this is Error information

[21:27:09] [Async Chat Thread - #0/ERROR]: [ChinesizeAsYouCan] Unhandled exception occured in onPacketSending(PacketEvent) for ChinesizeAsYouCan
java.lang.NullPointerException: null
at chinesizeasyoucan.listener.a$1.onPacketSending(PacketListener_Message.java:30) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:588) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:564) ~[?:?]
at com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:338) ~[?:?]
at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:298) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:367) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.access$800(ChannelInjector.java:66) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.handleScheduled(ChannelInjector.java:332) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.onMessageScheduled(ChannelInjector.java:302) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:127) ~[?:?]
at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:95) ~[?:?]
at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:209) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.NetworkManager.sendPacket(NetworkManager.java:157) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.PlayerConnection.sendPacket(PlayerConnection.java:1203) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer$1.sendMessage(CraftPlayer.java:1930) ~[patched_1.12.2.jar:git-Paper-1618]
at net.serializator.quote.Quote.lambda$onAsyncPlayerChat$0(Quote.java:52) ~[?:?]
at java.lang.Iterable.forEach(Unknown Source) ~[?:1.8.0_221]
at net.serializator.quote.Quote.onAsyncPlayerChat(Quote.java:52) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor68.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1618]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.PlayerConnection.chat(PlayerConnection.java:1407) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1322) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:39) ~[patched_1.12.2.jar:git-Paper-1618]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_221]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_221]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_221]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_221]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
[21:27:09] [Async Chat Thread - #0/ERROR]: Parameters:
[email protected][
a=<null>
components={TextComponent{text=, BaseComponent(color=, bold=null, italic=null, underlined=null, strikethrough=null, obfuscated=null, insertion=null, extra=null, clickEvent=ClickEvent(action=SUGGEST_COMMAND, value="Ami在干嘛?"), hoverEvent=null)},TextComponent{text=[主城][无段位][公民]<Ami> Ami在干嘛?, BaseComponent(color=, bold=null, italic=null, underlined=null, strikethrough=null, obfuscated=null, insertion=null, extra=null, clickEvent=ClickEvent(action=SUGGEST_COMMAND, value="Ami在干嘛?"), hoverEvent=null)}}
b=CHAT
]
-
Author's response
I don't believe this to be a bug inside of the Quote plugin. It's more likely that another plugin in the middle which is intercepting packets is the cause.

If you still believe this to be a bug, please create an issue on GitHub with details about your environment and steps to reproduce.

https://github.com/Serializator/spigotmc-quote/issues

Version: 1.2-SNAPSHOT
Very good plugin, the plugin can even work at 1.13, and there are no errors, of course, he is also very lightweight

Version: 1.2-SNAPSHOT
I like it however there are some pretty vital coding errors (afaik). First you don't care if it's cancelled or not which breaks anti-advertisement plugins, and it also breaks anti-swear plugins (most of them). So that would be a great fix in my opinion, overall very clean and very nice. I like it, great work. Also, the method getQuote kind of seems useless since it's only used once and it's a one line method so that could be a nice thing to change/fix.

However this is overall a nice and useful plugin, a great contribution to the Spigot community.
-
Author's response
Thanks for the feedback!

I'll push an update to fix the cancellation problem later today. About the method that seems useless, it probably is but I didn't really think it looked nice without the method, so that's why I used a method for it (Personal preference I guess?).

Version: 1.0-SNAPSHOT
Works perfectly. Quoting allows everyone to directly address another player in chat, removing confusion over the intended recipient of a message, even in the case of a delayed response.

Resource Information
Author:
----------
Total Downloads: 638
First Release: Jan 30, 2016
Last Update: May 9, 2021
Category: ---------------
All-Time Rating:
4 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings