skyblock-How do I check if the player is allowed to make changes to the island they are in?

  • 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.

demiradam

Member
May 21, 2017
1
0
1
29
Sorry for my bad english but you get what I mean. I did some research on the internet and found this code

Code:
if ASkyBlockAPI.getInstance().getIslandOwnedBy(UUID.fromString(player's uuid)).onIsland(player's location):

This code doesn't give what I want. What I want is is the player allowed to make changes to the island? The island owner may have authorized him.

I think it can be done with script-mirror. please help
 

Attachments

  • upload_2022-11-13_23-7-44.png
    upload_2022-11-13_23-7-44.png
    326 bytes · Views: 78
  • upload_2022-11-13_23-11-15.png
    upload_2022-11-13_23-11-15.png
    326 bytes · Views: 73
  • upload_2022-11-13_23-11-49.png
    upload_2022-11-13_23-11-49.png
    326 bytes · Views: 77
Status
Not open for further replies.