1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Join/Register 1.8 Welcome Title Not working

Discussion in 'Skript' started by cayi, Sep 2, 2019.

Thread Status:
Not open for further replies.
  1. cayi

    cayi Member

    Joined:
    Sep 1, 2019
    Messages:
    2
    Likes Received:
    0
    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.
    Code (Text):
    1. on join:
    2.    if "plugins/TitleMessages/RegisteredPlayers/%player%.yml" exists:
    3.         send player title "&2Welcome! exists" with subtitle "&Welcome Back! exists" for 31 seconds
    4.         make console execute command "titlea show %player% join"
    5.     if "/home/minecraft/multicraft/servers/server1/plugins/TitleMessages/RegisteredPlayers/%player%.yml" doesn't exist:
    6.         create file "/home/minecraft/multicraft/servers/server1/plugins/TitleMessages/RegisteredPlayers/%player%.yml"
    7.         send player title "&2Welcome!dfdfgdfgfd" with subtitle "&cPlease Register" for 31 seconds
     
  2. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    314
    Likes Received:
    21
    Code (Skript):
    1. on first join:
    2.     send player title "Hello!" with subtitle "%player%"
     
  3. cayi

    cayi Member

    Joined:
    Sep 1, 2019
    Messages:
    2
    Likes Received:
    0
    For real? I'm so stupid. Thank you
     
  4. LukynkaCZE

    LukynkaCZE Member

    Joined:
    May 12, 2019
    Messages:
    26
    Likes Received:
    2
    You can download SharpSK (https://github.com/Sharpjaws/SharpSK/releases)

    Then you can do

    Code (Text):
    1. on authme login:
    2.     send player title "&asuccessfully Logged in!" with subtitle "&aWelcome to &e<your server name>&f!"
    3.  
    Im using this:

    Code (Text):
    1. on authme login:
    2.     send player title "&c&lBeforeTheDawn" with subtitle "&eNew Hub" for 2 seconds
    3.     execute server command "sound CHICKEN_EGG_POP %player%"
    4.     wait 2 seconds
    5.     send player title "&c&lBeforeTheDawn" with subtitle "&a&lDaily Reward" for 2 seconds
    6.     execute server command "sound CHICKEN_EGG_POP %player%"
    7.     wait 2 seconds
    8.     send player title "&c&lBeforeTheDawn" with subtitle "&b&lNew mode &f- Repair the Generators" for 2 seconds
    9.     execute server command "sound CHICKEN_EGG_POP %player%"
    10.     wait 2 seconds
    11.     send player title "&c&lBeforeTheDawn" with subtitle "&d&lMystery Boxes" for 2 seconds
    12.     execute server command "sound CHICKEN_EGG_POP %player%"
    13.     wait 2 seconds
    14.     send player title "&c&lBeforeTheDawn" with subtitle "&eIP: &fgame.btdmc.ga" for 5 seconds
    15.     execute server command "sound CHICKEN_EGG_POP %player%"
     
Thread Status:
Not open for further replies.

Share This Page

Loading...