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 community!
Now, what are you waiting for? Join the community now!
Hello, Can some please make for me a StaffList with GUI.
Shows the Heads of online players only.
Thanks for helping.
on join:
if player has permission "staff.gui":
add player to {staffgui::*}
command /stafflist:
permission: sk.staff.see
trigger:
open chest with 6 rows named "&cStaff" to player
set {_S} to -1
loop {staffgui::*}:
add 1 to {_S}
set slot {_S} of player's current inventory to loop-value's skull named "&6%loop-value%"
on quit:
if player has permission "staff.gui":
remove player from {staffgui::*}
Thanks man!code_language.skript:on join: if player has permission "staff.gui": add player to {staffgui::*} command /stafflist: permission: sk.staff.see trigger: open chest with 6 rows named "&cStaff" to player set {_S} to -1 loop {staffgui::*}: add 1 to {_S} set slot {_S} of player's current inventory to loop-value's skull named "&6%loop-value%" on quit: if player has permission "staff.gui": remove player from {staffgui::*}
set a variable to a prefix and then just add a lore in line 13How to show player's prefix ?
Can you do it please ?set a variable to a prefix and then just add a lore in line 13
Can you do it please ?
on join:
if player has permission "staff.gui":
add player to {staffgui::*}
if player has permission "staffgui.owner":
set {guistaffprefix::%player%} to "&cOwner"
#Continue doing this with your groups...
command /stafflist:
permission: sk.staff.see
trigger:
open chest with 6 rows named "&cStaff" to player
set {_S} to -1
loop {staffgui::*}:
add 1 to {_S}
set slot {_S} of player's current inventory to loop-value's skull named "&6%loop-value%" with lore "&7has rank: &6%{guistaffprefix::%loop-value%}%
on quit:
if player has permission "staff.gui":
remove player from {staffgui::*}
Nvm man thank you so much for helping i found a way!code_language.skript:on join: if player has permission "staff.gui": add player to {staffgui::*} if player has permission "staffgui.owner": set {guistaffprefix::%player%} to "&cOwner" #Continue doing this with your groups... command /stafflist: permission: sk.staff.see trigger: open chest with 6 rows named "&cStaff" to player set {_S} to -1 loop {staffgui::*}: add 1 to {_S} set slot {_S} of player's current inventory to loop-value's skull named "&6%loop-value%" with lore "&7has rank: &6%{guistaffprefix::%loop-value%}% on quit: if player has permission "staff.gui": remove player from {staffgui::*}