Giter Site home page Giter Site logo

Comments (14)

Hopefuls avatar Hopefuls commented on July 19, 2024

This is caused by incorrect maven pom.xml settings, ensure you're not shading/including advancedgui into your exported jar.

from advancedban.

ichiru5555 avatar ichiru5555 commented on July 19, 2024

I have not included Advancedgui in the dependencies in pom.xml.

from advancedban.

Hopefuls avatar Hopefuls commented on July 19, 2024

How have you included advancedban then?

from advancedban.

ichiru5555 avatar ichiru5555 commented on July 19, 2024

<dependency> <groupId>com.github.DevLeoko</groupId> <artifactId>AdvancedBan</artifactId> <version>v2.3.0</version> </dependency>

from advancedban.

Hopefuls avatar Hopefuls commented on July 19, 2024

That is including advancedban through the pom.xml.

Take a look at https://howtodoinjava.com/maven/maven-dependency-scopes/ to understand how to set scopes on maven dependencies.

from advancedban.

ichiru5555 avatar ichiru5555 commented on July 19, 2024

Was it wrong to write the code written in README.md in pom.xml?

from advancedban.

Hopefuls avatar Hopefuls commented on July 19, 2024

Was it wrong to write the code written in README.md in pom.xml?

It does not have the scope set as I've provided above, you need to include that in order to tell maven to not include the actual advancedban jar into the compiled jar.

from advancedban.

ichiru5555 avatar ichiru5555 commented on July 19, 2024

Is the error "Cannot invoke "net.md_5.bungee.protocol.MinecraftEncoder.getProtocol()" because the return value of "io.netty.channel.ChannelPipeline.get(java.lang.Class)" is null" coming from AdvancedBan?

from advancedban.

Hopefuls avatar Hopefuls commented on July 19, 2024

What is the full stacktrace/full error? There should be more to it

If you need quicker help, you could also join our discord @ https://discord.gg/zycVCTn67K

from advancedban.

ichiru5555 avatar ichiru5555 commented on July 19, 2024

No, it was only this one sentence.

from advancedban.

Hopefuls avatar Hopefuls commented on July 19, 2024

There should be more, otherwise cant tell if it is or not

from advancedban.

ichiru5555 avatar ichiru5555 commented on July 19, 2024

I would like to mute it, is the following code correct?
manager.getPunishments(player.getUniqueId().toString(), PunishmentType.MUTE, true);

from advancedban.

Hopefuls avatar Hopefuls commented on July 19, 2024

That is not correct, take a look at the uuid manager

I once again suggest asking through our discord for better support.

from advancedban.

ichiru5555 avatar ichiru5555 commented on July 19, 2024

Thank you

from advancedban.

Related Issues (20)

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.