LinkAPI

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

FokaStudio

New Member
Jul 15, 2020
4
0
1
Poland
discord.com
View attachment 5714
LinkAPI
easily allows developers to use linking between Minecraft and Discord accounts.



REQUIREMENTS:
  • Skript (tested on 2.5.2)
  • Vixio (tested on 2.0.7)



LINKING
After filling config type "/linkapi link" in game (command can be changed!), and then type "*link <player> <code>" in the Discord server. Shortly after your account should be linked to your Discord account


FOR DEVELOPERS
I have rarely seen linking in scripts, but for those who want to do it quickly and easily, you can just use this API!

All links are saved in a list variable {discord::%uuid of specified player%::linked} with value equal to Discord ID of linked user.

Just use {discord::%uuid of <player>%::linked} in your code and you're done! It's that simple!
Remember! Variable is set to Discord ID of linked member!


If you encounter any issue, let me know in the comment section, or dm me on Discord: FokaStudio ツ#7055