Bentobox isLevel() function

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

KingAdmin_YT

Member
May 16, 2018
44
0
6
25
Hello everyone, I use the BentoBox addon bskyblock plugin on my server. I am using the latest version of the script. sk-mirror 2.0.0 is available. If we come to the subject, I need a function that will pull a player's island level to the data. I have been dealing for 2 weeks but I could not reach my conclusion because this has exceeded me. I want the function I want from master skripters with sk-mirror.

@ShaneBee please help. I don't want to give up this.
[doublepost=1586372978,1586362580][/doublepost]I tried but not result.

Code:
import:
    world.bentobox.bentobox.BentoBox
    world.bentobox.bentobox.api.addons.Addon
    world.bentobox.bentobox.api.addons.request
   
function getIslandLevel(p : player):
    set {_x} to AddonRequestBuilder().addon("Level").label("island-level").addMetaData("world-name", BentoBox.getInstance().getIWM().getOverWorlds().get(0)).addMetaData("player", {_p}.getUniqueId()).request()
    send "%{_x}% - " to {_p}
Link: https://github.com/BentoBoxWorld/Level/wiki/Addon-Requests
[doublepost=1586556278][/doublepost]Up
 
Status
Not open for further replies.