-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to get the top ten. #46
Comments
You should use PAPI Placeholders ;) |
@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. |
Thanks for the reply! |
@tastybento will probably help you better than I can. |
Thanks @BONNe I think your PR should enable this. |
So, to get Top 10 players you should use Addon Request Handler. As input you should add |
Now working, thanks a lot! |
Hi.
I'm trying to get the top ten from the Level addon in my plugin. My plan was to list the top 10 islands' owners and levels to the chat, when I run a command. But I can't figure out how should I do that.
I've tried few things:
java.lang.NoClassDefFoundError: world/bentobox/level/Level
java.lang.ClassNotFoundException: world.bentobox.level.TopTen
So the question is; how shall I do this?
Thanks in advance for your reply.
The text was updated successfully, but these errors were encountered: