GithubHelp home page GithubHelp logo

zenisbestwolf / nicksnranks Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 36 KB

A simple Nickname and Rank plugin.

License: GNU General Public License v3.0

Java 100.00%
bukkit bukkit-plugin minecraft minecraft-plugin plugin spigot spigot-plugin

nicksnranks's People

Contributors

zenisbestwolf avatar

Stargazers

 avatar

Watchers

 avatar

nicksnranks's Issues

Adding a % sign into any message causes rank to not appear for that message, and causes errors in console

For some reason, when having a % character anywhere in a chat message, that chat message will not have a user's rank prepended to it, and an error will be logged into the console. That error is as follows.

24.12 22:00:57 [Server] INFO java.util.IllegalFormatConversionException: e != java.lang.String
24.12 22:00:57 [Server] INFO at org.bukkit.event.player.AsyncPlayerChatEvent.setFormat(AsyncPlayerChatEvent.java:105) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
24.12 22:00:57 [Server] INFO at me.zenisbestwolf.NicksnRanks.Listeners.ChatListener.onChat(ChatListener.java:23) ~[NicksnRanks-1.2.jar:?]
24.12 22:00:57 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor16.execute(Unknown Source) ~[?:?]
24.12 22:00:57 [Server] INFO at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
24.12 22:00:57 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:git-Paper-"464b171"]
24.12 22:00:57 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
24.12 22:00:57 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
24.12 22:00:57 [Server] INFO at io.papermc.paper.adventure.ChatProcessor.post(ChatProcessor.java:230) ~[paper-1.18.1.jar:git-Paper-"464b171"]
24.12 22:00:57 [Server] INFO at io.papermc.paper.adventure.ChatProcessor.processingLegacyFirst(ChatProcessor.java:115) ~[paper-1.18.1.jar:git-Paper-"464b171"]
24.12 22:00:57 [Server] INFO at io.papermc.paper.adventure.ChatProcessor.process(ChatProcessor.java:64) ~[paper-1.18.1.jar:git-Paper-"464b171"]
24.12 22:00:57 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.chat(ServerGamePacketListenerImpl.java:2185) ~[?:?]
24.12 22:00:57 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2096) ~[?:?]
24.12 22:00:57 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2062) ~[?:?]
24.12 22:00:57 [Server] INFO at net.minecraft.network.protocol.game.ServerboundChatPacket$1.run(ServerboundChatPacket.java:40) ~[?:?]
24.12 22:00:57 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
24.12 22:00:57 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
24.12 22:00:58 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) ~[?:?]
24.12 22:00:58 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
24.12 22:00:58 [Server] INFO at java.lang.Thread.run(Thread.java:831) ~[?:?]

Chat messages become insecure and show errors to clients on 1.19.1+

Due to the new chat verification in 1.19.2, Minecraft views chat messages that are processed by NicksnRanks (all messages due to ColorChat) as insecure and are unavailable for reporting, and show an annoying error when joining the game & after every single message.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.