Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7205

Не работает Бот защита botfilter Velocity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • 1.16.5
    • limbofilter,limboapi
    • Yes

      Запускаю velocity и пишет такую ошибку что делать?

      [18:17:32 ERROR]: Can't create plugin limboapi
      com.google.inject.ProvisionException: Unable to provision, see the following errors:

      1) [Guice/ErrorInjectingConstructor]: NoClassDefFoundError: com/velocitypowered/proxy/protocol/packet/PlayerListItem
        at LimboAPI.<init>(LimboAPI.java:146)
        at VelocityPluginModule.configure(VelocityPluginModule.java:48)
        while locating LimboAPI

      Learn more:
        https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR

      1 error

      ======================
      Full classname legend:
      ======================
      LimboAPI:             "net.elytrium.limboapi.LimboAPI"
      VelocityPluginModule: "com.velocitypowered.proxy.plugin.loader.java.VelocityPluginModule"
      ========================
      End of classname legend:
      ========================

              at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.plugin.loader.java.JavaPluginLoader.createPlugin(JavaPluginLoader.java:121) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.plugin.VelocityPluginManager.loadPlugins(VelocityPluginManager.java:151) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.VelocityServer.loadPlugins(VelocityServer.java:343) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.VelocityServer.start(VelocityServer.java:224) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.Velocity.main(Velocity.java:64) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
      Caused by: java.lang.NoClassDefFoundError: com/velocitypowered/proxy/protocol/packet/PlayerListItem
              at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
              at java.lang.ClassLoader.defineClass(ClassLoader.java:1016) ~[?:?]
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:555) ~[?:?]
              at java.net.URLClassLoader$1.run(URLClassLoader.java:458) ~[?:?]
              at java.net.URLClassLoader$1.run(URLClassLoader.java:452) ~[?:?]
              at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
              at java.net.URLClassLoader.findClass(URLClassLoader.java:451) ~[?:?]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[?:?]
              at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:67) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:61) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
              at net.elytrium.limboapi.LimboAPI.<init>(LimboAPI.java:171) ~[?:?]
              at net.elytrium.limboapi.LimboAPI$$FastClassByGuice$$643411.GUICE$TRAMPOLINE(<generated>) ~[?:?]
              at net.elytrium.limboapi.LimboAPI$$FastClassByGuice$$643411.apply(<generated>) ~[?:?]
              at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              ... 6 more
      Caused by: java.lang.ClassNotFoundException: com.velocitypowered.proxy.protocol.packet.PlayerListItem
              at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:84) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:61) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
              at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
              at java.lang.ClassLoader.defineClass(ClassLoader.java:1016) ~[?:?]
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:555) ~[?:?]
              at java.net.URLClassLoader$1.run(URLClassLoader.java:458) ~[?:?]
              at java.net.URLClassLoader$1.run(URLClassLoader.java:452) ~[?:?]
              at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
              at java.net.URLClassLoader.findClass(URLClassLoader.java:451) ~[?:?]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[?:?]
              at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:67) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:61) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
              at net.elytrium.limboapi.LimboAPI.<init>(LimboAPI.java:171) ~[?:?]
              at net.elytrium.limboapi.LimboAPI$$FastClassByGuice$$643411.GUICE$TRAMPOLINE(<generated>) ~[?:?]
              at net.elytrium.limboapi.LimboAPI$$FastClassByGuice$$643411.apply(<generated>) ~[?:?]
              at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              ... 6 more
      [18:17:32 ERROR]: Can't create plugin limbofilter
      com.google.inject.ProvisionException: Unable to provision, see the following errors:

      1) [Guice/ErrorInjectingConstructor]: NoSuchElementException: No value present
        at LimboFilter.<init>(LimboFilter.java:117)
        at VelocityPluginModule.configure(VelocityPluginModule.java:48)
        while locating LimboFilter

      Learn more:
        https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR

      1 error

      ======================
      Full classname legend:
      ======================
      LimboFilter:            "net.elytrium.limbofilter.LimboFilter"
      VelocityPluginModule:   "com.velocitypowered.proxy.plugin.loader.java.VelocityPluginModule"
      ========================
      End of classname legend:
      ========================

              at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.plugin.loader.java.JavaPluginLoader.createPlugin(JavaPluginLoader.java:121) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.plugin.VelocityPluginManager.loadPlugins(VelocityPluginManager.java:151) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.VelocityServer.loadPlugins(VelocityServer.java:343) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.VelocityServer.start(VelocityServer.java:224) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.velocitypowered.proxy.Velocity.main(Velocity.java:64) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
      Caused by: java.util.NoSuchElementException: No value present
              at java.util.Optional.orElseThrow(Optional.java:382) ~[?:?]
              at net.elytrium.limbofilter.LimboFilter.<init>(LimboFilter.java:126) ~[?:?]
              at net.elytrium.limbofilter.LimboFilter$$FastClassByGuice$$1999177.GUICE$TRAMPOLINE(<generated>) ~[?:?]
              at net.elytrium.limbofilter.LimboFilter$$FastClassByGuice$$1999177.apply(<generated>) ~[?:?]
              at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[velocity-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT (git-1ec77eb1-b200)]
              ... 6 more

            Unassigned Unassigned
            Myix htredyghbvgdtgv
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: