EmirGencc
Somon Balığı Selam Vermeye Geldi
Hoşgeldiniz bugün sizlere kendi yapmış olduğum gelişmiş configli warp sistemini tanıtıacağım
Plugins'te config.yml oluşturur ordan editleyebilirsiniz.
Skripte dokunmayınız!
Yeni versiyonları çıkacaktır. İyi günler MC-TR Ailesi!
Author: Psibat
Gerekli Eklentiler:
SkQuery
WildSkript
Resimler:
Plugins'te config.yml oluşturur ordan editleyebilirsiniz.
Skripte dokunmayınız!
Yeni versiyonları çıkacaktır. İyi günler MC-TR Ailesi!
Author: Psibat
Gerekli Eklentiler:
SkQuery
WildSkript
Kod:
# Author: Psibat
# Version: 1.3
# Name: GencWarp
# ____ __ __
# / ___| ___ _ __ ___ \ \ / / __ _ _ __ _ __
# | | _ / _ \ | '_ \ / __| \ \ /\ / / / _` | | '__| | '_ \
# | |_| | | __/ | | | | | (__ \ V V / | (_| | | | | |_) |
# \____| \___| |_| |_| \___| \_/\_/ \__,_| |_| | .__/
# |_|
#UYARI: Skript adını değiştirmeyin.
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#
# AYARLAR
#
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
variables:
{TPZaman.%player%} = 0
on load:
wait 10 ticks
if file "plugins/GencWarp/config.yml" doesn't exists:
create file "plugins/GencWarp/config.yml"
wf " ____ __ __ " to "plugins/GencWarp/config.yml"
wf "-/ ___| ___ _ __ ___ \ \ / / __ _ _ __ _ __ " to "plugins/GencWarp/config.yml"
wf "| | _ / _ \ | '_ \ / __| \ \ /\ / / / _` | | '__| | '_ \ " to "plugins/GencWarp/config.yml"
wf "| |_| | | __/ | | | | | (__ \ V V / | (_| | | | | |_) | " to "plugins/GencWarp/config.yml"
wf "-\____| \___| |_| |_| \___| \_/\_/ \__,_| |_| | .__/" to "plugins/GencWarp/config.yml"
wf "- |_| " to "plugins/GencWarp/config.yml"
wf "-Skript versiyonu 1.1 olarak ilk versiyonudur! Yenisi gelmesi için yada özel skript için" to "plugins/GencWarp/config.yml"
wf "-beni bulabilirsiniz. Skype Adresim: bozangenc" to "plugins/GencWarp/config.yml"
wf "-MESAJLAR:" to "plugins/GencWarp/config.yml"
set "Prefix" to "&6&l[&c&lGencWarp&6&l]" in yaml file "plugins/GencWarp/config.yml"
set "IsinlanmaMesaj" to "&eadlı bölgeye ışınlanıyorsun..." in yaml file "plugins/GencWarp/config.yml"
set "TPAMesaj1" to "&eadlı oyuncu sana ışınlanmak istiyor." in yaml file "plugins/GencWarp/config.yml"
set "TPAMesaj2" to "&eKabul etmek için &a/gw kabulet <oyuncu>" in yaml file "plugins/GencWarp/config.yml"
set "TPAMesaj3" to "&eReddetmek için &c/gw reddet <oyuncu>" in yaml file "plugins/GencWarp/config.yml"
set "TPAMesajKabul" to "&eadlı oyuncu isteğini &akabul etti!" in yaml file "plugins/GencWarp/config.yml"
set "TPAMesajRed" to "&eadlı oyuncu isteğini &credetti!" in yaml file "plugins/GencWarp/config.yml"
set "EvAyarla" to "&eEviniz başarıyla oluşturuldu! &a/gw evgit" in yaml file "plugins/GencWarp/config.yml"
set "EvGit" to "&eEve gidiyorsun..." in yaml file "plugins/GencWarp/config.yml"
set "Setwarp" to "&aadlı warp oluşturuldu." in yaml file "plugins/GencWarp/config.yml"
set "Delwarp" to "&cadlı warp silindi!" in yaml file "plugins/GencWarp/config.yml"
on load:
wait 20 ticks
set {tag} to single value "Prefix" get of "plugins/GencWarp/config.yml"
set {imesaj} to single value "IsinlanmaMesaj" get of "plugins/GencWarp/config.yml"
set {tpam1} to single value "TPAMesaj1" get of "plugins/GencWarp/config.yml"
set {tpam2} to single value "TPAMesaj2" get of "plugins/GencWarp/config.yml"
set {tpam3} to single value "TPAMesaj3" get of "plugins/GencWarp/config.yml"
set {tpamkabul} to single value "TPAMesajKabul" get of "plugins/GencWarp/config.yml"
set {tpamred} to single value "TPAMesajRed" get of "plugins/GencWarp/config.yml"
set {evayarlandi} to single value "EvAyarla" get of "plugins/GencWarp/config.yml"
set {evgit} to single value "EvGit" get of "plugins/GencWarp/config.yml"
set {setwarp} to single value "Setwarp" get of "plugins/GencWarp/config.yml"
set {delwarp} to single value "Delwarp" get of "plugins/GencWarp/config.yml"
command /gencwarp [<text>] [<player>]:
aliases: /gw
trigger:
if arg-1 is not set:
message "%{tag}% &aWarp Listesi:"
loop {WarpListesi::*}:
message "&b%loop-value%"
if arg-1 is set:
if {GencWarp.%arg-1%} is set:
message "%{tag}% &a%arg-1% %{imesaj}%"
wait 2 seconds
teleport player to {GencWarp.%arg 1%}
if arg-1 is "evayarla":
set {GencEv.%player%} to player's location
message "%{tag}% %{evayarlandi}%"
if arg-1 is "evgit":
if {GencEv.%player%} is not set:
message "%{tag}% &4Bir evin yok! Oluşturmak için &c/gw evayarla"
else if {GencEv.%player%} is set:
message "%{tag}% %{evgit}%"
wait 2 second
teleport player to {GencEv.%player%}
if arg-1 is "tpa" or "tp":
if arg-2 is set:
if player-argument is not online:
message "%{tag}% &a%arg 2% &4aktif değil!"
else if player-argument is online:
send "%{tag}% %player% %{tpam1}%" to player-argument
send "%{tag}% %{tpam2}%" to player-argument
send "%{tag}% %{tpam3}%" to player-argument
set {TPZaman.%arg 2%} to 1
set {TPZaman.%player%} to 1
wait 60 seconds
set {TPZaman.%arg 2%} to 0
set {TPZaman.%player%} to 0
send "%{tag}% &4Tpa için zaman aşımı!" to player-argument
if arg-1 is "kabulet":
if arg-2 is set:
if player-argument is not online:
message "%{tag}% &a%arg 2% &4aktif değil!"
else if player-argument is online:
if {TPZaman.%arg 2%} is 1:
if {TPZaman.%player%} is 1:
teleport arg-2 to player
set {TPZaman.%player%} to 0
set {TPZaman.%arg 2%} to 0
send "%{tag}% %player% %{tpamkabul}%" to player-argument
if arg-1 is "reddet":
if arg-2 is set:
if player-argument is not online:
message "%{tag}% &a%arg 2% &4aktif değil!"
else if player-argument is online:
if {TPZaman.%arg 2%} is 1:
if {TPZaman.%player%} is 1:
send "%{tag}% %player% %{tpamred}%" to player-argument
set {TPZaman.%player%} to 0
set {TPZaman.%arg 2%} to 0
command /gencwarpadmin [<text>] [<text>]:
permission: gencwarp.admin
aliases: /gwa
permission message: &4Bunun için yetkiniz bulunmamaktadır!
trigger:
if arg-1 is not set:
message "%{tag}% &4Boş bırakma!"
message " "
message "%{tag}% &a/gwa setwarp <isim> &9- &cWarp ekler."
message "%{tag}% &a/gwa delwarp <isim> &9- &cWarp siler."
message "%{tag}% &a/sk reload GencWarp &9- &cConfig reloadlar."
message "%{tag}% &bAuthor: &cPsibat &7- &9Version 1.1"
if arg-1 is "setwarp":
if arg-2 is set:
if {GencWarp.%arg 2%} is set:
message "%{tag}% &4Böyle bir warp zaten var!"
else if {GencWarp.%arg 2%} is not set:
add arg-2 to {WarpListesi::*}
set {GencWarp.%arg 2%} to player's location
message "%{tag}% %arg 2% %{setwarp}%"
if arg-1 is "delwarp":
if arg-2 is set:
if {GencWarp.%arg 2%} is not set:
message "%{tag}% &4Böyle bir warp yok!"
else if {GencWarp.%arg 2%} is set:
remove arg-2 from {WarpListesi::*}
delete {GencWarp.%arg 2%}
message "%{tag}% %arg 2% %{delwarp}%"
Resimler:
Son düzenleme: