Merhaba arkadaşlar, skyblock sunucularında kullanılabilecek bir skriptimi sizler için paylaşmak istedim.
__________________________________________________________________________________________________________________
Skriptimizin İşlevi; Skyblock sunucularında son görev(ler) için ödül niteliğinde bir skripttir. Skriptimiz ayarlanan görevi bitirince ayarlı komutu girdikten sonra skylord grubuna geçirilmektedir.
__________________________________________________________________________________________________________________
Skriptimizin Komutları;
- Oyuncu Komutları;
- /skylord ol | Skylord olma komutu | skylord.ol
- /skylord liste | Skylord olan çevrimiçi kişileri gösterir | skylord.liste
- Yetkili Komutları;
- /skladmin yetkiver <oyuncu> | /skylord ol komutunu kullanabilme yetkisi
- /skladmin grupolustur | Skylord grubunu otomatik oluşturma
- NOT: Tüm admin komutları için "skylord.admin" yetkisi geçerlidir.
__________________________________________________________________________________________________________________
Skriptimizin Çalışması İçin Gerekenler;
Skriptimizin Çalışması İçin Gerekenler;
- Askyblock eklentisi! ( Askyblock ile uyumludur, ileriki sürümlerde farklı eklentilerde eklenebilir )
- Mutliverse-Core eklentisi! ( 1.1 Sürümünden sonra gereklidir )
- GroupManager eklentisi!
- Skript gerekli tabikide :)
__________________________________________________________________________________________________________________
Skriptimizin Kurulumu;
Skriptimizin Kurulumu;
- Gereken pluginleri sunucumuza atalım ve skriptimizi yükleyelim.
- plugins > Askyblock > challenges.yml dosyasını açalım.
- Daha sonra CTRL+F kombinasyonu ile "acidduke:" kodunu aratalım.
- Alt tarafında "permissionReward:" satırı büyük ihtimalle boştur, orasını "permissionReward: 'skylord.ol' " yapalım.
- Dosyayı kaydedelim ve sunucumuza restart atalım.
- Skriptimiz başarıyla kurulmuştur. Ayrıca skriptin options: kısmından ayarları da değiştirebilirsiniz.
__________________________________________________________________________________________________________________
Skript Kodu:
Skript Kodu:
Kod:
#Skyblock - Skylord Skripti
#Kodlayan: smt287
#Sürüm: 1.1
#İletişim Adreslerimiz;
#Discord: https://discord.gg/detvQnM
#Website: http://mc-tr.com
options:
#Mesaj Bölümü
prefix: &e&lSKYLORD &7>
skylordoldumesaj: &aBaşarıyla SkyLord oldun.
lordolamadin: &cMalesef SkyLord olmak için hazır değilsin.
lordsilindi1: &3Adanı sildiğin için &cSkyLord &3hakkını kaybettin.
lordsilindi2: &3Adadan ayrıldığın için &cLord &3hakkını kaybettin.
yardimmesaj1: &6/skylord ol &f| &6Skylord olma komutu!
yardimmesaj2: &6/skylord liste &f| &6Skylord olan kişileri gösterir!
cevrimiciskylordyok: &cÇevrimiçi &aSkyLord &coyuncusu bulunamadı.
cevrimicilistesi: &aAçık Olan SkyLord Oyuncuları
yetkinyok: &cBu komutu kullanmak için yetkin yok!
oyuncugirmedin: &cOyuncu ismi giriniz.
zatenlordsun: &cZaten SkyLord grubundasın!
#Yetki Bölümü
perworldperm: true #Her dünyada farklı yetki sistemini kullanıyorsanız "true" olarak giriniz. Her dünyada aynı yetki sistemini kullanıyorsanız "false" olarak giriniz.
skylordolyetki: skylord.ol #Skylord ol komutunu kullanması için gereken yetki!
skylordtespityetki: skylord.tespit #Skylord liste komutunda gözükmeye yarayacak yetki!
GroupManagerAktifEdilsinMi: true #true yazarsanız aktif olur, false yazarsanız deaktif olur.
#PermissionsEx Yeni sürümde sizlerle
#Dünya Seçme Bölümü | Bu bölümü "perworldperm" ayarı "true" ise kullanınız.
skyblockdunyasi: Askyblock
dunya1: world
dunya2: world2
dunya3: world3
dunya4: world4
dunya5: world5
#5 farklı dünya seçebilirsiniz, eğer daha fazla dünyaya sahip iseniz yardım almak için iletişime geçiniz.
#Grup Oluşturma Ayarları
skylordgrubu: Skylord #Skylord grubunun groupmanager/permissionex'teki ismi
skylordgrupPrefix: &bSkyLord #Skylord grubunun prefixi
command /skylord [<text>]:
trigger:
if arg 1 is not set:
send " "
send " {@prefix} {@yardimmesaj1}"
send " {@prefix} {@yardimmesaj2}"
send " "
if arg 1 is "ol":
if player have the permission "{@skylordtespityetki}":
send " {@prefix} {@zatenlordsun}"
else:
if player have the permission "{@skylordolyetki}":
send " {@prefix} {@skylordoldumesaj}"
if {@perworldperm} is true:
execute console command "manselect {@skyblockdunyasi}"
execute console command "manudelp %player% {@skylordolyetki}"
execute console command "manuadd %player% {@skylordgrubu}"
execute console command "manselect {@dunya1}"
execute console command "manudelp %player% {@skylordolyetki}"
execute console command "manuadd %player% {@skylordgrubu}"
execute console command "manselect {@dunya2}"
execute console command "manudelp %player% {@skylordolyetki}"
execute console command "manuadd %player% {@skylordgrubu}"
execute console command "manselect {@dunya3}"
execute console command "manudelp %player% {@skylordolyetki}"
execute console command "manuadd %player% {@skylordgrubu}"
execute console command "manselect {@dunya4}"
execute console command "manudelp %player% {@skylordolyetki}"
execute console command "manuadd %player% {@skylordgrubu}"
execute console command "manselect {@dunya5}"
execute console command "manudelp %player% {@skylordolyetki}"
execute console command "manuadd %player% {@skylordgrubu}"
if {@perworldperm} is false:
execute console command "manselect {@skyblockdunyasi}"
execute console command "manudelp %player% {@skylordolyetki}"
execute console command "manuadd %player% {@skylordgrubu}"
else:
send " {@prefix} {@lordolamadin}"
if arg 1 is "liste":
loop all players:
loop-player has permission "{@skylordtespityetki}"
add loop-player to {_skylordolanlar::*}
size of {_skylordolanlar::*} is 0:
send " {@prefix} {@cevrimiciskylordyok}"
else:
send " {@prefix} {@cevrimicilistesi}"
send " {@prefix} &f %{_skylordolanlar::*}%"
command /skylordadmin [<text>] [<player>]:
permission: skylord.admin
permission message: {@prefix} {@yetkinyok}
aliases: /skladmin
trigger:
if arg 1 is not set:
send " {@prefix} &aTüm komutlar için;&4 http://*/VhlyP6"
if arg 1 is "yetkiver":
if arg 2 is set:
if {@GroupManagerAktifEdilsinMi} is true:
execute console command "manselect {@skyblockdunyasi}"
execute console command "manuaddp %arg 2% {@skylordolyetki}"
send " {@prefix} &aTüm dünyalarda &b%arg 2% &aadlı kişiye &c{@skylordolyetki} &ayetkisi verildi"
else:
send " {@prefix} {@oyuncugirmedin}"
if arg 1 is "grupolustur":
#Skylord grubunu oluşturmadan önce lütfen "Grup Oluşturma Ayarları" kısmını kendinize göre ayarlayın.
if {skylordGrupAcildi} is not set:
set {skylordGrupAcildi} to true
send " {@prefix} &aGrup oluşturma işlemi başlatıldı."
send " {@prefix} &4Grup oluşturulurken bir işlem yapmayınız!"
send " {@prefix} &63 saniye sonra grup oluşturmaya başlanacaktır!"
send " {@prefix} &6Tahmini oluşturma süresi; &310-15 Saniye"
wait 3 second
if {@GroupManagerAktifEdilsinMi} is true:
if {@perworldperm} is true:
execute player command "mvtp {@skyblockdunyasi}"
execute player command "mangadd {@skylordgrubu}"
execute player command "mangaddp {@skylordgrubu} {@skylordtespityetki}"
execute player command "mangaddv {@skylordgrubu} prefix {@skylordgrupPrefix}"
wait 2 second
execute player command "mvtp {@dunya1}"
execute player command "mangadd {@skylordgrubu}"
execute player command "mangaddp {@skylordgrubu} {@skylordtespityetki}"
execute player command "mangaddv {@skylordgrubu} prefix {@skylordgrupPrefix}"
wait 2 second
execute player command "mvtp {@dunya2}"
execute player command "mangadd {@skylordgrubu}"
execute player command "mangaddp {@skylordgrubu} {@skylordtespityetki}"
execute player command "mangaddv {@skylordgrubu} prefix {@skylordgrupPrefix}"
wait 2 second
execute player command "mvtp {@dunya3}"
execute player command "mangadd {@skylordgrubu}"
execute player command "mangaddp {@skylordgrubu} {@skylordtespityetki}"
execute player command "mangaddv {@skylordgrubu} prefix {@skylordgrupPrefix}"
wait 2 second
execute player command "mvtp {@dunya4}"
execute player command "mangadd {@skylordgrubu}"
execute player command "mangaddp {@skylordgrubu} {@skylordtespityetki}"
execute player command "mangaddv {@skylordgrubu} prefix {@skylordgrupPrefix}"
wait 2 second
execute player command "mvtp {@dunya5}"
execute player command "mangadd {@skylordgrubu}"
execute player command "mangaddp {@skylordgrubu} {@skylordtespityetki}"
execute player command "mangaddv {@skylordgrubu} prefix {@skylordgrupPrefix}"
if {@perworldperm} is false:
execute player command "mangadd {@skylordgrubu}"
execute player command "mangaddp {@skylordgrubu} {@skylordtespityetki}"
execute player command "mangaddv {@skylordgrubu} prefix {@skylordgrupPrefix}"
send " {@prefix} &aGrup başarıyla oluşturuldu!"
else:
send " {@prefix} &cZaten bir SkyLord grubu oluşturmuşsun."
on command "is confirm":
send " {@prefix} {@lordsilindi1}"
if {@perworldperm} is true:
execute console command "manselect {@skyblockdunyasi}"
execute console command "/manudel %player%"
execute console command "manselect {@dunya1}"
execute console command "/manudel %player%"
execute console command "manselect {@dunya2}"
execute console command "/manudel %player%"
execute console command "manselect {@dunya3}"
execute console command "/manudel %player%"
execute console command "manselect {@dunya4}"
execute console command "/manudel %player%"
execute console command "manselect {@dunya5}"
execute console command "/manudel %player%"
if {@perworldperm} is false:
execute console command "/manudel %player%"
on command "is leave":
send " {@prefix} {@lordsilindi2}"
if {@perworldperm} is true:
execute console command "manselect {@skyblockdunyasi}"
execute console command "/manudel %player%"
execute console command "manselect {@dunya1}"
execute console command "/manudel %player%"
execute console command "manselect {@dunya2}"
execute console command "/manudel %player%"
execute console command "manselect {@dunya3}"
execute console command "/manudel %player%"
execute console command "manselect {@dunya4}"
execute console command "/manudel %player%"
execute console command "manselect {@dunya5}"
execute console command "/manudel %player%"
if {@perworldperm} is false:
execute console command "/manudel %player%"
Son düzenleme: