Skript Türkçe karakterleri algılayamıyor olabilir. Skript kodunuzun nasıl olduğunu gösterebilir misiniz?Arkadaşlar benim bir bungeecord sunucum var. Çakma lobide authme kullanıyorum ve şifre girdiklerinde skript ile lobiye gönderilmelerini sağlıyorum. Ancak birisi nickinde tr karakter kullanırsa ı-ş-ğ
gibi direk lobiye atıyor. Bunu nasıl çözerim ?
Skript Türkçe karakterleri algılayamıyor olabilir. Skript kodunuzun nasıl olduğunu gösterebilir misiniz?
on command "/login":
execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c3 &aSeconds"
wait 2 second
execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c2 &aSeconds"
wait 2 second
execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c1 &aSeconds"
wait 2 second
execute console command "/tm msg %player% <nl> &aYou Are Being Sent To The Lobby"
wait 2 second
execute player command "/yollabeni"
on command "/register":
execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c3 &aSeconds"
wait 2 second
execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c2 &aSeconds"
wait 2 second
execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c1 &aSeconds"
wait 2 second
execute console command "/tm msg %player% <nl> &aYou Are Being Sent To The Lobby"
wait 2 second
execute player command "/yollabeni"
on join:
wait 20 ticks
set the player's gamemode to adventure
apply invisibility 1 to the player for 999 days
on damage:
cancel event
# ############################################################################################################################
on quit:
set leave message to ""
on disconnect:
set leave message to ""
# ############################################################################################################################
command /gm:
trigger:
if player is "":
set player's gamemode to creative
on break:
if player is not "":
cancel event
on place:
if player is not "":
cancel event
on command:
if player is not "":
command sender is player
command is not "login" or "register" or "yollabeni":
cancel event
message "&3Night&cWing &7Prohibited To Use Commands!"
on chat:
if player doesn't have permission "lobi.chat":
cancel event
send "&3Night&cWing&8&l» &eLobby Messaging Is Off." to player
Ben bir sorun göremedim ilginç, @smt287 ilgilenirmisinizKod:on command "/login": execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c3 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c2 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c1 &aSeconds" wait 2 second execute console command "/tm msg %player% <nl> &aYou Are Being Sent To The Lobby" wait 2 second execute player command "/yollabeni" on command "/register": execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c3 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c2 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c1 &aSeconds" wait 2 second execute console command "/tm msg %player% <nl> &aYou Are Being Sent To The Lobby" wait 2 second execute player command "/yollabeni" on join: wait 20 ticks set the player's gamemode to adventure apply invisibility 1 to the player for 999 days on damage: cancel event # ############################################################################################################################ on quit: set leave message to "" on disconnect: set leave message to "" # ############################################################################################################################ command /gm: trigger: if player is "": set player's gamemode to creative on break: if player is not "": cancel event on place: if player is not "": cancel event on command: if player is not "": command sender is player command is not "login" or "register" or "yollabeni": cancel event message "&3Night&cWing &7Prohibited To Use Commands!" on chat: if player doesn't have permission "lobi.chat": cancel event send "&3Night&cWing&8&l» &eLobby Messaging Is Off." to player
Skriptte sorun yok ama execute console command ları send player title "-----" with subtitle "----" for - seconds yapmanı öneririm.Kod:on command "/login": execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c3 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c2 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c1 &aSeconds" wait 2 second execute console command "/tm msg %player% <nl> &aYou Are Being Sent To The Lobby" wait 2 second execute player command "/yollabeni" on command "/register": execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c3 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c2 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c1 &aSeconds" wait 2 second execute console command "/tm msg %player% <nl> &aYou Are Being Sent To The Lobby" wait 2 second execute player command "/yollabeni" on join: wait 20 ticks set the player's gamemode to adventure apply invisibility 1 to the player for 999 days on damage: cancel event # ############################################################################################################################ on quit: set leave message to "" on disconnect: set leave message to "" # ############################################################################################################################ command /gm: trigger: if player is "": set player's gamemode to creative on break: if player is not "": cancel event on place: if player is not "": cancel event on command: if player is not "": command sender is player command is not "login" or "register" or "yollabeni": cancel event message "&3Night&cWing &7Prohibited To Use Commands!" on chat: if player doesn't have permission "lobi.chat": cancel event send "&3Night&cWing&8&l» &eLobby Messaging Is Off." to player
on command olarak kullandığın için şifreyi yanlış girse bile o komutu kullandıktan sonra genede o komutu girdiği için her türlü sunucuya atacaktır. Kritik bir sorun bu. Bunun yerine Authme son sürüm indirip commands.yml kısmından yapınız. Örnek kod:Kod:on command "/login": execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c3 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c2 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c1 &aSeconds" wait 2 second execute console command "/tm msg %player% <nl> &aYou Are Being Sent To The Lobby" wait 2 second execute player command "/yollabeni" on command "/register": execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c3 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c2 &aSeconds" wait 2 second execute console command "/tm msg %player% &2Login Successful <nl> &aLast &c1 &aSeconds" wait 2 second execute console command "/tm msg %player% <nl> &aYou Are Being Sent To The Lobby" wait 2 second execute player command "/yollabeni" on join: wait 20 ticks set the player's gamemode to adventure apply invisibility 1 to the player for 999 days on damage: cancel event # ############################################################################################################################ on quit: set leave message to "" on disconnect: set leave message to "" # ############################################################################################################################ command /gm: trigger: if player is "": set player's gamemode to creative on break: if player is not "": cancel event on place: if player is not "": cancel event on command: if player is not "": command sender is player command is not "login" or "register" or "yollabeni": cancel event message "&3Night&cWing &7Prohibited To Use Commands!" on chat: if player doesn't have permission "lobi.chat": cancel event send "&3Night&cWing&8&l» &eLobby Messaging Is Off." to player
# onRegister:
# welcome:
# command: 'msg %p Welcome to the server!'
# executor: CONSOLE
#
# This will make the console execute the msg command to the player.
# Each command under an event has a name you can choose freely (e.g. 'welcome' as above),
# after which a mandatory 'command' field defines the command to run,
# and 'executor' defines who will run the command (either PLAYER or CONSOLE). Longer example:
# onLogin:
# welcome:
# command: 'msg %p Welcome back!'
# executor: PLAYER
# broadcast:
# command: 'broadcast %p has joined, welcome back!'
# executor: CONSOLE
on authme login: kullandığımda skript işlevsiz hale geliyor.Hocam, eğer authmeye ve sharpskya sahipseniz on command: yerine on authme login: kullanın.
GT-I9300 cihazımdan Tapatalk kullanılarak gönderildi