shad
the temple of the king
- Katılım
- 25 Ekim 2014
- Mesajlar
- 1.537
- Elmaslar
- 1.442
- Puan
- 17.290
- Minecraft
- emrearik
Merhabalar forum takipçileri; bugün sizlere Türkçeleştirdiğim ve biraz da geliştirdiğim Rate Skripti'ni tanıtacağım.
"RATE" kelimesinin Türkçe karşılığı;
"Rate" kelimesinin Türkçe karşılığı "Oran" kelimesidir. Ancak diğer yan anlamları da bulunmaktadır. Şuan skriptimiz de "Oran" anlamı taşımaktadır.
Özellikler;
Öncelikle üyeye RATE verirken 1 ile 5 arasıydı. Şimdi düzenledim ve 1 ile 10 arası oldu. Ayrıca skript içerisinde kendi puanına bak komutu yoktu onuda ekledim ve hepimizin kullanabilmesi için de Türkeçeleştirdim.
Skript SpigotMC'den alınmıştır. Skript ilk olarak İspanyolca çıkmıştır ve sonrasında İngilizce çıkmıştır. İspanyolca çıktığından beridir de takip ediyordum :) Yapımcısı iTheGheck adı verilen bir üyedir. Zaten Hastebin sitesinde görebilirsiniz kimlerin ne yaptığını.
Komutlar & Yetkiler;
Ana temel komut "/rate" ve diğer kendi skorunu kontrol etme komutu da "/benimskorum" komutudur. Ayrıca Adminlerin kullanacağı "/ratekontrol" komutu da bulunmakta.
"/rate" komutu şu şekilde kullanılır; /rate (Oyuncu) (Oran)
"/benimskorum" komutu şu şekilde kullanılır; /benimskorum
"/ratekontrol" komutu şu şekilde kullanılır; /ratekontrol (Oyuncu)
Skriptte sadece /ratekontrol komutunun yetkisi vardır ve o da; kontrol.digeroyuncular.
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
Kod:
options:
p: &6&l[&eRate&6&l]&6
command rate [<offlineplayer=%player%>] [<text>]:
trigger:
if arg 1 isn't set:
send "{@p} Komut kullanımı: /rate (Oyuncu) (Oran)."
stop
if arg 1 is set:
if {rate.%executor%.%arg 1%.w} isn't set:
if arg 2 isn't set:
send "{@p} Komut kullanımı: /rate (Oyuncu) (Oran)."
stop
if arg 2 is "1":
add 1 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &4+1&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "2":
add 2 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &c+2&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "3":
add 3 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &e+3&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "4":
add 4 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &a+4&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "5":
add 5 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+5&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "6":
add 6 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+6&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "7":
add 7 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+7&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "8":
add 8 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+8&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "9":
add 9 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+9&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "10":
add 10 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+10&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if {rate.%executor%.%arg 1%.w} is false:
if arg 2 isn't set:
send "{@p} Komut kullanımı: /rate (Oyuncu) (Oran)."
stop
if arg 2 is "1":
add 1 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &4+1&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "2":
add 2 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &c+2&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "3":
add 3 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &e+3&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "4":
add 4 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &a+4&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "5":
add 5 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+5&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "6":
add 6 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+6&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "7":
add 7 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+7&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "8":
add 8 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+8&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "9":
add 9 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+9&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "10":
add 10 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+10&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if {rate.%executor%.%arg 1%.w} is true:
send "{@p} Bir oyuncuya iki oy veremezsin!"
stop
if arg 1 is "%executor%":
if player has permission "rate.bypass":
if arg 2 isn't set:
send "{@p} Komut kullanımı: /rate (Oyuncu) (Oran)."
stop
if arg 2 is "1":
add 1 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &4+1&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "2":
add 2 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &c+2&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "3":
add 3 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &e+3&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "4":
add 4 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &a+4&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "5":
add 5 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+5&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "6":
add 6 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+6&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "7":
add 7 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+7&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "8":
add 8 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+8&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "9":
add 9 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+9&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
if arg 2 is "10":
add 10 to {rate.%arg 1%.w}
send "{@p} Oran verildi; &e%arg 1% &rby &2+10&r!"
set {rate.%executor%.%arg 1%.w} to true
stop
else:
send "{@p} Kendinize puan eklemek için gerekli yetkiniz yok!"
stop
command ratekontrol [<offlineplayer=%player%>]:
trigger:
if arg 1 is set:
if player has permission "kontrol.digeroyuncular":
send "{@p} Skoru; %arg 1% %{rate.%arg 1%.w}%"
stop
else:
send "{@p} Oyuncuların skorlarını görmek için gerekli yetkiye sahip değilsin!"
stop
command skorum:
trigger:
if arg 1 isn't set:
send "{@p} Komut kullanımı: /benimskorum"
stop
if arg 1 is set:
send "{@p} Senin skorun: %{rate.%executor%.w}%"
stop
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
Size önerim en doğru şekilde olanı Hastebin'de olanıdır. Burada kayma vb. ile karşılaşmanız mümkün.
Konumu okuduğunuz için teşekkürler ve
İyi forumlar!
Konumu okuduğunuz için teşekkürler ve
İyi forumlar!