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.

display name help

Discussion in 'Skript' started by xbxy, Feb 6, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. xbxy

    xbxy Active Member

    Joined:
    Jan 26, 2017
    Messages:
    170
    Likes Received:
    8
    Code (Text):
    1.  
    2. command /2:
    3.     trigger:
    4.         set the player's display name to "&c%player%"
    5.         set tablist name of player to "&c%player%"
    6.  
    I use the above code to test on the 1.11.2 server
    Found only changed player's tab name

    player's display name No change

    I would like to ask how to write in the 1.11.2 can be changed player's display name ?

    plugins:
    [12:05:52 INFO]: [TuSKe] Disabling TuSKe v1.7
    [12:05:52 INFO]: [SkQuery] Disabling SkQuery v3.5.1
    [12:05:52 INFO]: [skRayFall] Disabling skRayFall v1.9.7
    [12:05:52 INFO]: [skRayFall] Bacon has been eaten. Make some more soon!
    [12:05:52 INFO]: [Skellett] Disabling Skellett v1.7.7c
    [12:05:52 INFO]: [SkStuff] Disabling SkStuff v1.6.4
    [12:05:52 INFO]: [SkStuff] SkStuff 1.6.4 has been successfully disabled.
    [12:05:52 INFO]: [Vault] Disabling Vault v1.5.6-b49
    [12:05:52 INFO]: [Skript] Disabling Skript v2.2-dev23
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Have you solved it? i have the same error...
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    I don't think it works on 1.8.
    Please use the proper format.
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    I using skript 2.2dev23, on MC 1.10.2, with Vault and EssentialsChat, any error, but I can't change the display name from players
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Yeah it broke in 1.7 I think.
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    I'm on 1.11.2 and I use the following code for changing display names and it works fine
    Code (Skript):
    1. set the player's display name to "&e%name of player%"
    If you have essentials make sure in the config you set this
    change-displayname: false
    to false
     
    • Agree Agree x 1
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    I didn't use Essentials
    The test, no = =
    Code (Text):
    1.  
    2. set the player's display name to "&e%name of player%"
    3.  
    --- Double Post Merged, Feb 24, 2017, Original Post Date: Feb 24, 2017 ---
    Has not yet been resolved
     
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Can you tell me the plugins that you have? Also, remember that when the player logout the display name is wiped.
     
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Code (Text):
    1.  
    2. [19:49:13 INFO]: Stopping the server
    3. [19:49:13 INFO]: Stopping server
    4. [19:49:13 INFO]: [TuSKe] Disabling TuSKe v1.7.2
    5. [19:49:13 INFO]: [Skellett] Disabling Skellett v1.7.9b
    6. [19:49:13 INFO]: [skRayFall] Disabling skRayFall v1.9.7
    7. [19:49:13 INFO]: [skRayFall] Bacon has been eaten. Make some more soon!
    8. [19:49:13 INFO]: [Citizens] Disabling Citizens v2.0.21-SNAPSHOT (build 1470)
    9. [19:49:13 INFO]: [SkStuff] Disabling SkStuff v1.6.4
    10. [19:49:13 INFO]: [SkStuff] SkStuff 1.6.4 has been successfully disabled.
    11. [19:49:13 INFO]: [ProtocolLib] Disabling ProtocolLib v4.2.1-SNAPSHOT-b346
    12. [19:49:13 INFO]: [Vault] Disabling Vault v1.5.6-b49
    13. [19:49:13 INFO]: [SkQuery] Disabling SkQuery v3.5.5-Lime
    14. [19:49:13 INFO]: [skUtilities] Disabling skUtilities v0.8.9
    15. [19:49:13 INFO]: [skDragon] Disabling skDragon v0.13.1
    16. [19:49:13 INFO]: §3[§bskDragon§3] §aPlugin is now disabled. Most likely you shut down or reset your server
    17. [19:49:13 INFO]: [SQLibrary] Disabling SQLibrary v7.1
    18. [19:49:13 INFO]: SQLibrary stopped.
    19. [19:49:13 INFO]: [Skript] Disabling Skript v2.2-dev23
    20. [19:49:13 INFO]: [WorldEdit] Disabling WorldEdit v6.1.5;4651611
    21.  
     
  10. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Okay, I solve it and you have to:
    - Install essentials.
    - Go to the essentials folder, open config.yml
    - search the line "change-displayname: true"
    - change that line to "change-displayname: false"
    That should work, and, like's snow-pyon said, you should make a variable to apply the display name every time the player joins. Example:
    Code (Skript):
    1. command /displayname <player> <text>:
    2.     trigger:
    3.         set display name of arg-1 to coloured "%arg-2%"
    4.         set {AW.DisplayName::%player%} to arg-2
    5.         broadcast "The displayname of %arg-1% it's now "%arg-2%"
    6. on join:
    7.    if {AW.DisplayName::%player%} is set:
    8.        set display name of player to coloured {AW.DisplayName::%player%}
     
    • Like Like x 1
    • Winner Winner x 1
  11. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    This is not the best way
    Landing suit and the game is not required to install Essensitlas
     
Thread Status:
Not open for further replies.

Share This Page

Loading...