Luckperms Prefix API
-----------------------------------------------------------------------------------------------------
Skript Version:
Skript-2.8.5
Used Addons:
Skript Reflect:
skript-reflect v2.4
Dependencies:
LuckPerms:
LuckPerms
-----------------------------------------------------------------------------------------------------
If you are new to Skript or dont know how to use this ressource, i will give you a quick explanation. For this ressource to work, you need to download the addon called Skript-Reflect from the download link above. It is reccomendet to use the newest version of both Skript and Skript-Reflect. After you dragged Skript and Skript-Reflect to the
Server/plugins/ folder, you need to start and stop the server. After that you will find the
Server/plugins/Skript/scripts/ path. There you will need to place the
lpprefixAPI.sk file. After that you can use the syntax below to edit the LuckPerms prefix from any skript of your choice.
Happy Skripting
Example Usage:
Code (Text):
on chat:
set the chat format to "%luckperms-prefix of player%%player%&f: %message%"
command /prefix [<string>]:
trigger:
broadcast luckperms-prefix of player
if arg-1 is set:
set luckperms-prefix of player to arg-1
else:
reset luckperms-prefix of player