i want to make a system that if there is a player have a permission "*" and the name of player is not "Name1", "Name2" or "Name3", it will remove the permission. i make this code, please help.
code:
it say "There's no player in a periodical event" on "if player have permission". I KNOW I WRONG BUT I DONT KNOW HOW TO CODE THIS ;-; please help ;-;
i have code to disable op command, but maybe if i can make this code, is very usefull.
code:
Code:
every second:
if player have permission "*":
if name of player is not "Daichi_keii", "AnakTentara", "BABU_King", "_Welltez", "_AnakTentara7379", "akhdan" or "akhdan461":
remove "*" from player permissions
if player have permission "weight.105" and "prefix.105.&f「 &f✦ &c&lADMIN &f✦ &f」&r":
if name of player is not "Daichi_keii", "AnakTentara", "BABU_King", "_Welltez", "_AnakTentara7379", "akhdan" or "akhdan461":
execute console command "luckperms user %player% parent set default"
it say "There's no player in a periodical event" on "if player have permission". I KNOW I WRONG BUT I DONT KNOW HOW TO CODE THIS ;-; please help ;-;
i have code to disable op command, but maybe if i can make this code, is very usefull.
Code:
command /op [<offlineplayer>]:
trigger:
if executor is console:
if arg 1 is "Daichi_keii" or "AnakTentara" or "BABU_King" or "_Welltez" or "_AnakTentara7379" or "akhdan" or "akhdan461":
op arg-1
send "&7[Server: Make %arg 1% operator]" to console
else:
send "&7Maaf operator hanya bisa di berikan kepada beberapa player" to console
else:
send "Perintah ini hanya dapat dijalankan dari konsol server."
command /minecraft:op [<offlineplayer>]:
trigger:
if executor is console:
if arg 1 is "Daichi_keii" or "AnakTentara" or "BABU_King" or "_Welltez" or "_AnakTentara7379" or "akhdan" or "akhdan461":
op arg-1
send "&7[Server: Make %arg 1% operator]" to console
else:
send "&7Maaf operator hanya bisa di berikan kepada beberapa player" to console
else:
send "Perintah ini hanya dapat dijalankan dari konsol server."
command /deop [<offlineplayer>]:
trigger:
if executor is console:
if arg 1 is "Daichi_keii" or "BABU_King" or "_Welltez" or "_AnakTentara7379" or "akhdan" or "akhdan461":
send "&7Maaf, operator player ini tidak dapat di hilangkan" to console
else:
send "&7[Server: Deop %arg 1%]" to console
deop arg-1
else:
send "Perintah ini hanya dapat dijalankan dari konsol server."
command /minecraft:deop [<offlineplayer>]:
trigger:
if executor is console:
if arg 1 is "Daichi_keii" or "BABU_King" or "_Welltez" or "_AnakTentara7379" or "akhdan" or "akhdan461":
send "&7Maaf, operator player ini tidak dapat di hilangkan" to console
else:
send "&7[Server: Deop %arg 1%]" to console
deop arg-1
else:
send "Perintah ini hanya dapat dijalankan dari konsol server."