Git Product home page Git Product logo

Comments (7)

Poslovitch avatar Poslovitch commented on June 19, 2024 1

@BONNe Placeholders won't work if he want to get access to the TopTen instance for programmatic use.

For reference, addons classes cannot be accessed by plugins. That's a Java language specification. Either use the AddonRequestHandlers or create an addon.

from level.

Poslovitch avatar Poslovitch commented on June 19, 2024 1

@tastybento will probably help you better than I can.

from level.

BONNe avatar BONNe commented on June 19, 2024

You should use PAPI

Placeholders ;)

from level.

poma123 avatar poma123 commented on June 19, 2024

Thanks for the reply!
So if I would like to do this with AddonRequestHandlers, I have to loop all the island levels and sort the list?
Because as I saw there are only an island-level handler in the Level addon.

from level.

tastybento avatar tastybento commented on June 19, 2024

Thanks @BONNe I think your PR should enable this.

from level.

BONNe avatar BONNe commented on June 19, 2024

So, to get Top 10 players you should use Addon Request Handler.
BentoBoxWorld/BentoBox#400

As input you should add world-name and in output you will get Map that contains UUID and Long (player and its island level)

from level.

poma123 avatar poma123 commented on June 19, 2024

Now working, thanks a lot!

from level.

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.