Hi everyone, I'm trying to create a title to tell the player to /register (authme reloaded) or /login, by displaying 1.8 titles and subs but I can't log if the player's has been seen - registered before. My skript is "compiling" but when it comes to file generations it thinks that the file is generated, but it's not hence the code is not working.
I'm using skUtilities
If you could help i would much appreciate it.
I'm using skUtilities
If you could help i would much appreciate it.
Code:
on join:
if "plugins/TitleMessages/RegisteredPlayers/%player%.yml" exists:
send player title "&2Welcome! exists" with subtitle "&Welcome Back! exists" for 31 seconds
make console execute command "titlea show %player% join"
if "/home/minecraft/multicraft/servers/server1/plugins/TitleMessages/RegisteredPlayers/%player%.yml" doesn't exist:
create file "/home/minecraft/multicraft/servers/server1/plugins/TitleMessages/RegisteredPlayers/%player%.yml"
send player title "&2Welcome!dfdfgdfgfd" with subtitle "&cPlease Register" for 31 seconds