YusifHuseynli24
Bir Kömür Göründü Kaptanım!
- Katılım
- 13 Mayıs 2018
- Mesajlar
- 122
- Elmaslar
- 24
- Puan
- 0
- Minecraft
- iCyrex
Değerli MC-TR üyeleri ve yetkililer,
bugün yapmış olduğum bir RankUp skriptini sizelere sunacağım umarım beğenirsiniz.
Skriptin mantığı şu şekildedir mesala groupmanagerde Oyuncu grupuna rankup.oyuncu permini ekliyoruz acemi grupuna rankup.acemi permini ekliyoruz.
eyer dediğim gibi yapmazsanız çalışmaz.
eyer oyuncu grupuna rankup.oyuncu ve rankup.acemi eklerseniz adamlar /rankup amatör yazabilir ve direk oyuncudan amatör grupuna geçebilir.
ee tabi şimdi plugin var neden skript diyeceksiniz valla bende bilmiyorum.
amma ben plugin yerine skript kullanmayı daha çok seviyorum. :D
Kod:
# =================================
# MC - TR
#
# RankUp Skript
#
# AwayX
# =================================
options:
prefix: &9RankUp &8»
noperm: &9RankUp &8» &cBunu yapabilmek için yetkin yok!
haber: &9Haber &8»
1: 1 # istediğiniz fiyatı yazın
2: 2 # istediğiniz fiyatı yazın
3: 3 # istediğiniz fiyatı yazın
4: 4 # istediğiniz fiyatı yazın
5: 5 # istediğiniz fiyatı yazın
command /rütbeler:
aliases: /rutbeler, /rütbe, /rutbe
trigger:
send "&6-*-*-*-*-*-*-*-*-*-"
send ""
send "&2➙ &2Rütbeler"
send ""
send "&e1. &3Acemi"
send "&e2. &3Amatör"
send "&e3. &3Çaylak"
send "&e4. &3Tecrübeli"
send "&e5. &3Uzman"
send ""
send "&6-*-*-*-*-*-*-*-*-*-"
command /rankup [<text>]:
trigger:
if arg 1 is not set:
send "&6-*-*-*-*-*-*-*-*-*-"
send ""
send "&2➙ &2Rütbeler"
send ""
send "&e1. &3Acemi"
send "&e2. &3Amatör"
send "&e3. &3Çaylak"
send "&e4. &3Tecrübeli"
send "&e5. &3Uzman"
send ""
send "&6-*-*-*-*-*-*-*-*-*-"
if arg 1 is "Acemi":
if player have permission "rankup.oyuncu":
if {rankacemi::%player%} isn't set:
if player's balance is bigger than or equal to {@1}:
execute console command "eco take %player% {@1}"
execute console command "manuadd %player% Acemi"
send "{@prefix} &aBaşarıyla &3Acemi &arütbesine ulaştın!"
broadcast "{@haber} &2%player% &aBaşarıyla &3Acemi &arütbesine ulaştı!"
set {rankacemi::%player%} to 1
else:
send "{@prefix} &3Acemi &crütbesine ulaşmak için bakiyen yetersiz."
else:
send "{@prefix} &cDaha önce &3Acemi &crütbesine ulaşmışsın!"
else:
send "{@noperm}"
if arg 1 is "Amatör":
if player have permission "rankup.acemi":
if {rankamatör::%player%} isn't set:
if player's balance is bigger than or equal to {@2}:
execute console command "eco take %player% {@2}"
execute console command "manuadd %player% Amatör"
send "{@prefix} &aBaşarıyla &3Amatör &arütbesine ulaştın!"
broadcast "{@haber} &2%player% &aBaşarıyla &3Amatör &arütbesine ulaştı!"
set {rankamatör::%player%} to 1
else:
send "{@prefix} &3Amatör &crütbesine ulaşmak için bakiyen yetersiz."
else:
send "{@prefix} &cDaha önce &3Amatör &crütbesine ulaşmışsın!"
else:
send "{@noperm}"
if arg 1 is "Çaylak":
if player have permission "rankup.amatör":
if {rankçaylak::%player%} isn't set:
if player's balance is bigger than or equal to {@3}:
execute console command "eco take %player% {@3}"
execute console command "manuadd %player% Çaylak"
send "{@prefix} &aBaşarıyla &3Çaylak &arütbesine ulaştın!"
broadcast "{@haber} &2%player% &aBaşarıyla &3Çaylak &arütbesine ulaştı!"
set {rankçaylak::%player%} to 1
else:
send "{@prefix} &3Çaylak &crütbesine ulaşmak için bakiyen yetersiz."
else:
send "{@prefix} &cDaha önce &3Çaylak &crütbesine ulaşmışsın!"
else:
send "{@noperm}"
if arg 1 is "Tecrübeli":
if player have permission "rankup.çaylak":
if {ranktecrübeli::%player%} isn't set:
if player's balance is bigger than or equal to {@4}:
execute console command "eco take %player% {@4}"
execute console command "manuadd %player% Tecrübeli"
send "{@prefix} &aBaşarıyla &3Tecrübeli &arütbesine ulaştın!"
broadcast "{@haber} &2%player% &aBaşarıyla &3Tecrübeli &arütbesine ulaştı!"
set {ranktecrübeli::%player%} to 1
else:
send "{@prefix} &3Tecrübeli &crütbesine ulaşmak için bakiyen yetersiz."
else:
send "{@prefix} &cDaha önce &3Tecrübeli &crütbesine ulaşmışsın!"
else:
send "{@noperm}"
if arg 1 is "Uzman":
if player have permission "rankup.tecrübeli":
if {rankuzman::%player%} isn't set:
if player's balance is bigger than or equal to {@5}:
execute console command "eco take %player% {@5}"
execute console command "manuadd %player% Uzman"
send "{@prefix} &aBaşarıyla &3Tecrübeli &arütbesine ulaştın!"
broadcast "{@haber} &2%player% &aBaşarıyla &3Uzman &arütbesine ulaştı!"
set {rankuzman::%player%} to 1
else:
send "{@prefix} &3Uzman &crütbesine ulaşmak için bakiyen yetersiz."
else:
send "{@prefix} &cDaha önce &3Uzman &crütbesine ulaşmışsın!"
else:
send "{@noperm}"
Kod:
# =================================
# MC - TR
#
# RankUp Skript
#
# AwayX
# =================================
options:
prefix: &9RankUp &8»
noperm: &9RankUp &8» &cBunu yapabilmek için yetkin yok!
haber: &9Haber &8»
1: 1 # istediğiniz fiyatı yazın
2: 2 # istediğiniz fiyatı yazın
3: 3 # istediğiniz fiyatı yazın
4: 4 # istediğiniz fiyatı yazın
5: 5 # istediğiniz fiyatı yazın
command /rütbeler:
aliases: /rutbeler, /rütbe, /rutbe
trigger:
send "&6-*-*-*-*-*-*-*-*-*-"
send ""
send "&2➙ &2Rütbeler"
send ""
send "&e1. &3Acemi"
send "&e2. &3Amatör"
send "&e3. &3Çaylak"
send "&e4. &3Tecrübeli"
send "&e5. &3Uzman"
send ""
send "&6-*-*-*-*-*-*-*-*-*-"
command /rankup [<text>]:
trigger:
if arg 1 is not set:
send "&6-*-*-*-*-*-*-*-*-*-"
send ""
send "&2➙ &2Rütbeler"
send ""
send "&e1. &3Acemi"
send "&e2. &3Amatör"
send "&e3. &3Çaylak"
send "&e4. &3Tecrübeli"
send "&e5. &3Uzman"
send ""
send "&6-*-*-*-*-*-*-*-*-*-"
if arg 1 is "Acemi":
if player have permission "rankup.oyuncu":
if {rankacemi::%player%} isn't set:
if player's balance is bigger than or equal to {@1}:
execute console command "eco take %player% {@1}"
execute console command "pex user %player% group set Acemi"
send "{@prefix} &aBaşarıyla &3Acemi &arütbesine ulaştın!"
broadcast "{@haber} &2%player% &aBaşarıyla &3Acemi &arütbesine ulaştı!"
set {rankacemi::%player%} to 1
else:
send "{@prefix} &3Acemi &crütbesine ulaşmak için bakiyen yetersiz."
else:
send "{@prefix} &cDaha önce &3Acemi &crütbesine ulaşmışsın!"
else:
send "{@noperm}"
if arg 1 is "Amatör":
if player have permission "rankup.acemi":
if {rankamatör::%player%} isn't set:
if player's balance is bigger than or equal to {@2}:
execute console command "eco take %player% {@2}"
execute console command "pex user %player% group set Amatör"
send "{@prefix} &aBaşarıyla &3Amatör &arütbesine ulaştın!"
broadcast "{@haber} &2%player% &aBaşarıyla &3Amatör &arütbesine ulaştı!"
set {rankamatör::%player%} to 1
else:
send "{@prefix} &3Amatör &crütbesine ulaşmak için bakiyen yetersiz."
else:
send "{@prefix} &cDaha önce &3Amatör &crütbesine ulaşmışsın!"
else:
send "{@noperm}"
if arg 1 is "Çaylak":
if player have permission "rankup.amatör":
if {rankçaylak::%player%} isn't set:
if player's balance is bigger than or equal to {@3}:
execute console command "eco take %player% {@3}"
execute console command "pex user %player% group set Çaylak"
send "{@prefix} &aBaşarıyla &3Çaylak &arütbesine ulaştın!"
broadcast "{@haber} &2%player% &aBaşarıyla &3Çaylak &arütbesine ulaştı!"
set {rankçaylak::%player%} to 1
else:
send "{@prefix} &3Çaylak &crütbesine ulaşmak için bakiyen yetersiz."
else:
send "{@prefix} &cDaha önce &3Çaylak &crütbesine ulaşmışsın!"
else:
send "{@noperm}"
if arg 1 is "Tecrübeli":
if player have permission "rankup.çaylak":
if {ranktecrübeli::%player%} isn't set:
if player's balance is bigger than or equal to {@4}:
execute console command "eco take %player% {@4}"
execute console command "pex user %player% group set Tecrübeli"
send "{@prefix} &aBaşarıyla &3Tecrübeli &arütbesine ulaştın!"
broadcast "{@haber} &2%player% &aBaşarıyla &3Tecrübeli &arütbesine ulaştı!"
set {ranktecrübeli::%player%} to 1
else:
send "{@prefix} &3Tecrübeli &crütbesine ulaşmak için bakiyen yetersiz."
else:
send "{@prefix} &cDaha önce &3Tecrübeli &crütbesine ulaşmışsın!"
else:
send "{@noperm}"
if arg 1 is "Uzman":
if player have permission "rankup.tecrübeli":
if {rankuzman::%player%} isn't set:
if player's balance is bigger than or equal to {@5}:
execute console command "eco take %player% {@5}"
execute console command "pex user %player% group set Uzman"
send "{@prefix} &aBaşarıyla &3Tecrübeli &arütbesine ulaştın!"
broadcast "{@haber} &2%player% &aBaşarıyla &3Uzman &arütbesine ulaştı!"
set {rankuzman::%player%} to 1
else:
send "{@prefix} &3Uzman &crütbesine ulaşmak için bakiyen yetersiz."
else:
send "{@prefix} &cDaha önce &3Uzman &crütbesine ulaşmışsın!"
else:
send "{@noperm}"