thejeterlp / chatex Goto Github PK
View Code? Open in Web Editor NEWChatManager for Bukkit/Spigot servers
Home Page: https://www.spigotmc.org/resources/chatex.71041/
License: GNU General Public License v2.0
ChatManager for Bukkit/Spigot servers
Home Page: https://www.spigotmc.org/resources/chatex.71041/
License: GNU General Public License v2.0
The idea would be to have a config for custom join and leave messages.
I currently have a version for my own server an I'd like to upstream it.
The plugin won't start deleting the folder with the configs doesn't help
add minimessage support
https://docs.advntr.dev/index.html
[12:17:53] [Async Chat Thread - #22/ERROR]: Could not pass event AsyncPlayerChatEvent to ChatEx v2.5.7
java.lang.IllegalArgumentException: Illegal group reference
at java.util.regex.Matcher.appendExpandedReplacement(Matcher.java:1068) ~[?:?]
at java.util.regex.Matcher.appendReplacement(Matcher.java:998) ~[?:?]
at java.util.regex.Matcher.replaceAll(Matcher.java:1182) ~[?:?]
at java.lang.String.replaceAll(String.java:2126) ~[?:?]
at de.jeter.chatex.utils.adManager.SimpleAdManager.checkForAds(SimpleAdManager.java:100) ~[?:?]
at de.jeter.chatex.ChatListener.onChat(ChatListener.java:72) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor428.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.1.jar:git-Paper-77]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.16.1.jar:git-Paper-77]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.1.jar:git-Paper-77]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.1.jar:git-Paper-77]
at net.minecraft.server.v1_16_R1.PlayerConnection.chat(PlayerConnection.java:1821) ~[patched_1.16.1.jar:git-Paper-77]
at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1736) ~[patched_1.16.1.jar:git-Paper-77]
at net.minecraft.server.v1_16_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:41) ~[patched_1.16.1.jar:git-Paper-77]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
Files (please complete the following information):
Additional context
Add any other context about the problem here.
когда нет рядом и ты пишешь в чат . то сообшений не высвечиваеться и пишит что игроков нет рядом как убрате это сообщений
пишит
""no players are near you to hear you talking use the ranged mode to chat""
so when I use chatex it doesn't show a players nickname if they have one but it does when I do tp commands just not in chat
Hi, i wanted to ask for DiscordSRV support, could you please add it?
It will allow choose which chat channel will be broadcasted in Discord channel, so local chat won't be seen
When connecting to a server. The player sees a tittle with a welcome message.
Manage this in config.yml
In utils replacePlayerPlaceholders
This happened when the server was unable to contact the Mojang authentication servers, leading Paper Devs to believe it might be related to the generic DDOS going on right now. They did say, however, the async is causing the mainthread to freeze when waiting on a response.
Linked below is the log:
Describe the bug
my ad blocker is not working, im trying to put ! https://hui.com/ in chat and it success paste in the chat
To Reproduce
Steps to reproduce the behavior: simple paste ! https://hui.com/ to chat
Expected behavior
this message is blocked
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
Files (please complete the following information):
Additional context
Add any other context about the problem here.
Since 1.19 chat messages are signed and people can report other Players to Microsoft ingame via GUI. ChatEx should have a feature that prevents such reporting. See https://www.youtube.com/watch?v=DobmW1ZUcbQ for explanation.
org.bukkit.command.CommandException: Unhandled exception executing command 'chatex' in plugin ChatEx v2.7.1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[PluginCommand.class:1.7.10-1614.58]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[SimpleCommandMap.class:1.7.10-1614.58]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:740) ~[CraftServer.class:1.7.10-1614.58]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1370) [nh.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1107) [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:245) [ej.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:181) [nc.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1023) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432) [lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
Caused by: java.lang.IllegalArgumentException: Player list names can only be a maximum of 16 characters long
at org.bukkit.craftbukkit.v1_7_R4.entity.CraftPlayer.setPlayerListName(CraftPlayer.java:203) ~[CraftPlayer.class:1.7.10-1614.58]
at de.jeter.chatex.CommandHandler.onCommand(CommandHandler.java:52) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:1.7.10-1614.58]
... 13 more
[21:52:20 INFO]: [G] UnknownZuVEnO [%battlelevels_level%]: 212
Hello, I am writing with a new request to add the ability to customize private messages. Vanilla Minecraft already has commands like /tell /msg /w. I suggest to make command like in other /m chat plugins and adapt vanilla commands for the same feature.
Sorry if this is not an issue with your plugin.
Today a player joined and sometimes when he send messages they where malformed. The current format is "[N] playername: message" without the <> from vanilla. For some reason some of his messages (2 to be exact both of them only saying ":p") appeared with the two brackets.
I'm running paperspigot build 332 with luckperms, vault, vault chat formatter.
[Tue, 2. Jun 2020 18:41:29 CEST INFO] [N] redacted3: bye cruel world
[Tue, 2. Jun 2020 18:41:23 CEST ERROR] Could not pass event AsyncPlayerChatEvent to ChatEx v2.5.2
[Tue, 2. Jun 2020 18:41:23 CEST INFO] <[N] redacted3> :p
I put my luckperms rank on i typed in chat and boom no rank
https://i.imgur.com/jZS79IU.png
I am testing the PermissionEX 2.0 Snapshot on my server and try to use it with ChatEx.
But it looks like it is not compatible with the build i am using.
Will it be compatible in the future?
The Snapshots can be found here:
https://jenkins.addstar.com.au/job/PermissionsEx/lastSuccessfulBuild/
Describe the bug
Error when launching the plugin
The plugin is not compatible with the Java version, it seems to me and therefore does not want to start
Error :
Could not load 'plugins/ChatEx-2.9.1.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: de/jeter/chatex/ChatEx has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[flamepaper.jar:git-PaperSpigot-"f6b10d47"]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:331) ~[flamepaper.jar:git-PaperSpigot-"f6b10d47"]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:254) ~[flamepaper.jar:git-PaperSpigot-"f6b10d47"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:293) ~[flamepaper.jar:git-PaperSpigot-"f6b10d47"]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:190) ~[flamepaper.jar:git-PaperSpigot-"f6b10d47"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:528) ~[flamepaper.jar:git-PaperSpigot-"f6b10d47"]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_292]
Caused by: java.lang.UnsupportedClassVersionError: de/jeter/chatex/ChatEx has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_292]
at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_292]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_292]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) ~[?:1.8.0_292]
at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_292]
at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_292]
at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_292]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_292]
at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_292]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[flamepaper.jar:git-PaperSpigot-"f6b10d47"]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[flamepaper.jar:git-PaperSpigot-"f6b10d47"]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_292]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_292]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_292]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:65) ~[flamepaper.jar:git-PaperSpigot-"f6b10d47"]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[flamepaper.jar:git-PaperSpigot-"f6b10d47"]
... 6 more
Hello.
Nice plugin, i also appreciate cross-server feature. But can you make ability to disable ranged mode, so players can write their cross-server messages without ranged prefix '!'?
At first, i thought, that cross-server feature is not working, and after all i tried ranged prefix and so messages started displaying on other servers in my network.
Make support for tootiple so that you can create tootiple prefixes and also let messages themselves when they were sent! Or players that when you click on the nickname, some kind of command or something else was displayed
Files
Additional context
Greetings. Faced with the problem of incorrect configuration of the plugin. When specifying parameters &#FFFF00&l[L] %prefix %displayname %uclans_tag_formated%%suffix: A space appears after %displayname.
Please add a blocked words check to essentials msgб blocking unicode characters and capslook check
It will be useful to have direct use HEX in messages to make gradient messages or prefixes for all messages.
Describe the bug
ChatEx can't set global message format and message format.
Expected behavior
ChatEx will set global message format and message format to what i wanted.
Please complete the following information:
Files (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
Files (please complete the following information):
Additional context
Add any other context about the problem here.
Compare if a domain is a valid top level domain. List which gets regulary updated and can be used is here: http://data.iana.org/TLD/tlds-alpha-by-domain.txt
(on server startup, fetch list online and put all domains in ArrayList.)
Describe the bug
The plugin constantly prints out debug messages of color codes of the players luckperms display name in console. This seems to happen both on join and when chatting. I couldn't find any traces of this here on github, so it might just be the spigot version being outdated.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The plugin shouldn't print out debug messages.
Please complete the following information:
Files (please complete the following information):
Additional context
Add any other context about the problem here.
Thank you for this plugin and open sourcing it.
Is there a built in way to left pad the month/hours/minute/seconds with 0
that I'm not finding in the code? I have a patch ready to add that if there isn't a way currently.
Hello,
I tried both downloading the jar from the Bukkit website, and cloning this repo / mvn clean install to generate a jar -- and in both cases, I got this message:
[12:03:52 INFO]: [ChatEx] Update found!
Just seems you need to update what's considered the latest version (or am I accidentally using an unstable build?).
Danke!
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
Files (please complete the following information):
Additional context
Add any other context about the problem here.
Please add a custom first join message to the plugin. Many already have this feature, and it is sorely lacking in ChatEx. I ran into this issue and had to download a separate plugin.
Describe the bug
PermissionEx and ChatEx and Vault using to get prefix in my tablist
with the newest Version of ChatEx the Prefix will be displayed but also only the first Letter of the Player.
To Reproduce
PermissionEx
ChatEx 2.7.0
Expected behavior
Should display Username
Please complete the following information:
Files (please complete the following information):
///////////////
Additional context
//////////////
FIXXED by installing lower Version
Please send creator of plugin / nick-discord / discord-server
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
Files (please complete the following information):
Additional context
Add any other context about the problem here.
These options would be activated or deactivated.
PerWorldChat: Players can only send and view messages in their world.
PerWorldPlayerList: As Chatex can modify prefixes and suffixes in the tablist, I wondered if it was possible to add this option.
The players only see the players from their world in the tablist.
master
branch failed. 🚨I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:
If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.
package.json
file.A package.json file at the root of your project is required to release on npm.
Please follow the npm guideline to create a valid package.json
file.
Good luck with your project ✨
Your semantic-release bot 📦🚀
/m /msg etc, with /ignore support
Describe the bug
Sometimes with some chance when you write to the chat it gives an error in the console and does not send a message to the chat
To Reproduce
Steps to reproduce the behavior:
Expected behavior
There should be no error in the console and the message should be sent to the chat
Please complete the following information:
Files (please complete the following information):
Additional context
Not required, see logs
Describe the bug
When writing to a local chat, messages are delivered to discordsrv, this is due to the %messange% placeholder, maybe you don’t have messages separated into global and local because when writing to a local chat, it is still sent to discordsrv with other plugins I didn’t observe this
Describe the bug
I have a large BlockedWord list, and it's hyper sensitive to partial words (which is OK I guess). Such as when someone types "lava" it was blocking them due to the word "va" being blocked. I had to remove "va" to allow "lava" to be typed.
Currently the word I can't seem to fix is "who". No one can type "who" some reason, even though it's even on the list as a partial (I removed "whore" and it's variations, and it's still blocking it).
Can we get some sort of verbose error-trapping in the console so I know what word it's being caught/matched on? I could then remove or adjust the offending word. I don't know what words to remove to make this work properly, as any word with "who" has been removed from the list.
Thank you.
Hi!
Manchmal kriege ich den Fehler bei mir wenn jemand was schreibt:
[12:24:27] [Async Chat Thread - #2/ERROR]: Could not pass event AsyncPlayerChatEvent to ChatEx v2.4.4
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnection.chat(PlayerConnection.java:1084) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1022) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInChat$1.run(PacketPlayInChat.java:39) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_242]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.NullPointerException
at de.jeter.chatex.utils.Locales.getString(Locales.java:54) ~[?:?]
at de.jeter.chatex.ChatListener.onChat(ChatListener.java:31) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_242]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_242]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
... 11 more
Allerdings bei Servern ohne PlaceholderAPI geht es.
Ist die neuste Version (2.4.4) auf der 1.8.8
I installed chatex on my 4 backend server by following the tasks in the wiki for bungeecord installation. I did set bungeecord: true in config.yml and did restart every server. I am not able to post a message cross-server-wide on any of those 4 servers. If I type p.e. !hello world, this message is showed on my logged server as "!hello world", just as I typed it. Same with region chat. If I type any message like .Hello, it is showed as ".Hello" and not as expected with [world][prefix][player][suffix][message].
The backend servers are running paper 1.19.4, the proxy is running waterfall 1.20. Using ChatEx 3.0.1 in combination with ChatColor2, HexNicks and TAB.
See log and config below... (.yml are not supported, so I changed config-file to .txt)
2023-06-29-2.log
config.txt
Global chat and sometimes local chat is not available after reloading the module (Plugin) via the /chatex reload command, but if you restart the machine via /restart and/or /reload, you can confirm the ability to write to the global chat remains.
UPD: If the user re-connects to the game, the error remains.
UPD: When trying to write something, an error is generated related to the Anti-spam module.
UPD: Plugin version: 2.9.0
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.