[CODE]options:
prefix: &6Vip Sistemi &2»&7
prefixb: &7-----&a«Kullanımı&a»&7-----
prefixv: &7-----&a«Vip Yetkileri&a»&7-----
command /vip [<player>] [<text>]:
trigger:
if arg-1 is not set:
message "{@prefixb}"
message "&f"
message "&2Kullanımı &8» &3/vip <list>"
message "&2Kullanımı &8» &3/vip <oyuncu> <kağıttürü>"
message "&f"
message "&c&lC&7&lreat&c&lE &7&lB&c&ly &9&lxOrcun"
if arg-2 is "list":
message "{@prefixv}"
message "&f"
message "&3» &6Vip"
message "&3» &6Ultravip"
message "&3» &6MegaVip"
message "&3» &6Diğerlerini ise Gruop Manager Daki Dosyasına Göre Ayarlayınız"
message "&f"
message "&c&lC&7&lreat&c&lE &7&lB&c&ly &9&lxOrcun"
if arg-1 is set:
if arg-2 is not set:
message "{@prefix} Vip Adı Girilmedi. &6/vip list"
if arg-2 is "Vip":
message "{@prefix} &a%arg-1% &7Adlı Oyuncu'ya Vip Kağıtı Veriliyor.."
give 1 paper of protection 1 named "&7Vip" to player
send "{@prefix} &a%player% &7Adlı Yetkili Sana Vip Kağıtı Verdi." to arg-1
if arg-2 is "MegaVip":
message "{@prefix} &a%arg-1% &7Adlı Oyuncu'ya MegaVip Kağıtı Veriliyor.."
give 1 paper of protection 1 named "&3MegaVip" to player
send "{@prefix} &a%player% &7Adlı Yetkili Sana MegaVip Kağıtı Verdi." to arg-1
if arg-2 is "UltraVip":
message "{@prefix} &a%arg-1% &7Adlı Oyuncu'ya UltraVip Kağıtı Veriliyor.."
give 1 paper of protection 1 named "&bUltraVip" to player
send "{@prefix} &a%player% &7Adlı Yetkili Sana UltraVip Kağıtı Verdi." to arg-1
on place of paper:
if name of player's tool is "&7Vip":
cancel event
if name of player's tool is "&3MegaVip":
cancel event
if name of player's tool is "&bUltraVip":
cancel event
#Vip#
on rightclick with paper:
if name of tool is "&7Vip":
remove 1 paper of protection 1 named "&7Vip" from player
chance of 100%:
message "{@prefix} Vip Yetkisi Veriliyor..."
wait 20 tick
execute player command "manuadd %player% vip"
message "{@prefix} Vip Yetkisi Verildi."
set {vip.%player%} to 4320
stop
#MegaVip#
on rightclick with paper:
if name of tool is "&3MegaVip":
remove 1 paper of protection 1 named "&3MegaVip" from player
chance of 100%:
message "{@prefix} MegaVip Yetkisi Veriliyor..."
wait 20 tick
execute player command "manuadd %player% megavip"
message "{@prefix} MegaVip Yetkisi Verildi."
set {mvip.%player%} to 4320
stop
#UltraVip#
on rightclick with paper:
if name of tool is "&bUltraVip":
remove 1 paper of protection 1 named "&bUltraVip" from player
chance of 100%:
message "{@prefix} UltraVip Yetkisi Veriliyor..."
wait 20 tick
execute player command "manuadd %player% ultravip"
message "{@prefix} UltraVip Yetkisi Verildi."
set {uvip.%player%} to 4320
stop
every minute:
loop {players::*}:
if {vip.%loop-value%} is set:
add -1 to {vip.%loop-value%}
if {vip.%loop-value%} is less than or equal to 0:
execute console command "manuadd %loop-value% oyuncu"
if {mvip.%loop-value%} is set:
add -1 to {mvip.%loop-value%}
if {mvip.%loop-value%} is less than or equal to 0:
execute console command "manuadd %loop-value% oyuncu"
if {uvip.%loop-value%} is set:
add -1 to {uvip.%loop-value%}
if {uvip.%loop-value%} is less than or equal to 0:
execute console command "manuadd %loop-value% oyuncu"
on join:
if {players::%player%} is not set:
set {players::%player%} to player