banmanagement / banmanager-webenhancer Goto Github PK
View Code? Open in Web Editor NEWAdds functionality to Minecraft server to use the WebUI
License: MIT License
Adds functionality to Minecraft server to use the WebUI
License: MIT License
After reloading BanManager (on the Bungee) I get this error message when running /bmpin
:
[21:28:26 WARN] [BanManager]: Missing pin.notify message
[21:28:26 WARN] [BanManager]: Missing pin.pin message
Works again after a restart.
Currently the plugin looks for deny events and then replaces any messages it finds with the [pin]
token. This is unreliable in BungeeCord due to async event handling, which means it only works some of the time.
Additionally, there have been feature requests to add the pin in kick messages.
To handle this reliably and in a robust way, BanManager should trigger a custom event which allows this addon to modify the message to include the pin
Add a contains
option to the configuration supporting template variables, e.g. [player]
[actor]
etc
Use case: Associate logs only containing the name of the reported player
[22:36:02 WARN]: Legacy plugin BanManager-WebEnhancer v1.0.0 does not specify an api-version.
[22:36:02 ERROR]: Could not load 'plugins/BanManager-WebEnhancer.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: me/confuser/banmanager/bukkitutil/BukkitPlugin
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:141) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:397) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:305) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.craftbukkit.v1_16_R2.CraftServer.loadPlugins(CraftServer.java:387) ~[patched_1.16.2.jar:git-Paper-160]
at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:208) ~[patched_1.16.2.jar:git-Paper-160]
at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.2.jar:git-Paper-160]
at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.2.jar:git-Paper-160]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
Caused by: java.lang.NoClassDefFoundError: me/confuser/banmanager/bukkitutil/BukkitPlugin
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_265]
at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_265]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_265]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:167) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:216) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:111) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[patched_1.16.2.jar:git-Paper-160]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_265]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_265]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_265]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_265]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:68) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[patched_1.16.2.jar:git-Paper-160]
... 7 more
Caused by: java.lang.ClassNotFoundException: me.confuser.banmanager.bukkitutil.BukkitPlugin
at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_265]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:171) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[patched_1.16.2.jar:git-Paper-160]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_265]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_265]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_265]
at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_265]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_265]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:167) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:216) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:111) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[patched_1.16.2.jar:git-Paper-160]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_265]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_265]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_265]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_265]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:68) ~[patched_1.16.2.jar:git-Paper-160]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[patched_1.16.2.jar:git-Paper-160]
... 7 more
1.16.2 PaperMC server, BanManager 7.2.2
Currently pins are cached for 5 minutes regardless of whether they have been used.
Scenario: login via a pin and logout within 5 minutes. Attempting to use /bmpin
will display the same pin which has already been used and no longer valid
Hi Confuser,
I'm trying to use your new WebUI (merged with AP), following your setup guide.
Is it compatible with BanManager v7?
Steps
/plugins
folderDetails
Could not load 'plugins/BanManager-WebEnhancer.jar' in folder 'plugins'
paperMC | org.bukkit.plugin.UnknownDependencyException: BanManager
paperMC | at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:272) ~[paperspigot.jar:git-Paper-161]
paperMC | at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:358) ~[paperspigot.jar:git-Paper-161]
paperMC | at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:234) ~[paperspigot.jar:git-Paper-161]
paperMC | at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:885) ~[paperspigot.jar:git-Paper-161]
paperMC | at java.lang.Thread.run(Thread.java:834) [?:?]
Thanks !
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.