Code Monkey home page Code Monkey logo

banmanager-webenhancer's People

Contributors

confuser avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

banmanager-webenhancer's Issues

Missing messages after reload of BanManager

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.

Rewrite pin parsing

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

Could not load 'plugins/BanManager-WebEnhancer.jar'

[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

Generate new pin if old deleted

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

Could not load BanManager-WebEnhancer

Hi Confuser,

I'm trying to use your new WebUI (merged with AP), following your setup guide.
Is it compatible with BanManager v7?
Steps

Details

  • Server Software4: PaperMC 1.15.2 R0.1 #146
  • BanManager Version4: BanManager v7.0
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 !

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.