ZondalfTR
Yeni bir Steve doğdu!
- Katılım
- 6 Eylül 2019
- Mesajlar
- 25
- Tepki puanı
- 0
- Puanları
- 0
Merhaba arkadaşlar bu skript sizin sunucu bilgilerinizi plugine gerek kalmadan yenilemeye sağlar.
Yapabileceği Şeylerin listesi aşağıdadır.
-Motd ayarlamak
-Fake oyuncu sayısı ayarlamak
-Ping işaretine fareyi götürdüğüzde yazılar yazdırmak
-Sunucu sürümü yazan yeri değiştirmek.
Lafı daha fazla uzatmadan kendi yapmış olduğum güzel bir kodu paylaşıyorum.
Kod:
JavaScript:
on quit:
set {player-date::%ip of player%} to now
on login:
set {player-by-IP::%ip of player%} to event-player
on server list ping:
set the protocol version to 0
clear hover list
if {player-by-IP::%ip%} is set:
set {_nick} to "%{player-by-IP::%ip%}%"
add "&7&m-]&b&m===&7 Hoşgeldin &a%{_nick}%" to hover list
set {_x} to "%difference between {player-date::%ip%} and now%"
replace "days" with "gün" in {_x}
replace "hours" with "saat" in {_x}
replace "minutes" with "dakika" in {_x}
replace "seconds" with "saniye" in {_x}
replace "minute" with "dakika" in {_x}
replace "hour" with "hours" in {_x}
replace "and" with "" in {_x}
add "&7Son girişin: &a%{_x}% &7önceydi" to hover list
else:
set {_nick} to "&aBize Katıl"
set the version string to "&aSunucunun Sürümü"
set motd to "&bSunucu MOTD"
set the fake max players count to (size of players + 1)
Görsel:
