display name help

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

xbxy

Active Member
Jan 26, 2017
170
8
0
28
Code:
command /2:
    trigger:
        set the player's display name to "&c%player%"
        set tablist name of player to "&c%player%"

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
 
Have you solved it? i have the same error...
I don't think it works on 1.8.
Code:
command /2:
    trigger:
        set the player's display name to "&c%player%"
        set tablist name of player to "&c%player%"

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
Please use the proper format.
 
I'm on 1.11.2 and I use the following code for changing display names and it works fine
code_language.skript:
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
 
I'm on 1.11.2 and I use the following code for changing display names and it works fine
code_language.skript:
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
I didn't use Essentials
The test, no = =
Code:
set the player's display name to "&e%name of player%"
[doublepost=1487906954,1487906898][/doublepost]
Have you solved it? i have the same error...
Has not yet been resolved
 
Can you tell me the plugins that you have? Also, remember that when the player logout the display name is wiped.
Code:
[19:49:13 INFO]: Stopping the server
[19:49:13 INFO]: Stopping server
[19:49:13 INFO]: [TuSKe] Disabling TuSKe v1.7.2
[19:49:13 INFO]: [Skellett] Disabling Skellett v1.7.9b
[19:49:13 INFO]: [skRayFall] Disabling skRayFall v1.9.7
[19:49:13 INFO]: [skRayFall] Bacon has been eaten. Make some more soon!
[19:49:13 INFO]: [Citizens] Disabling Citizens v2.0.21-SNAPSHOT (build 1470)
[19:49:13 INFO]: [SkStuff] Disabling SkStuff v1.6.4
[19:49:13 INFO]: [SkStuff] SkStuff 1.6.4 has been successfully disabled.
[19:49:13 INFO]: [ProtocolLib] Disabling ProtocolLib v4.2.1-SNAPSHOT-b346
[19:49:13 INFO]: [Vault] Disabling Vault v1.5.6-b49
[19:49:13 INFO]: [SkQuery] Disabling SkQuery v3.5.5-Lime
[19:49:13 INFO]: [skUtilities] Disabling skUtilities v0.8.9
[19:49:13 INFO]: [skDragon] Disabling skDragon v0.13.1
[19:49:13 INFO]: §3[§bskDragon§3] §aPlugin is now disabled. Most likely you shut down or reset your server
[19:49:13 INFO]: [SQLibrary] Disabling SQLibrary v7.1
[19:49:13 INFO]: SQLibrary stopped.
[19:49:13 INFO]: [Skript] Disabling Skript v2.2-dev23
[19:49:13 INFO]: [WorldEdit] Disabling WorldEdit v6.1.5;4651611
 
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_language.skript:
command /displayname <player> <text>:
    trigger:
        set display name of arg-1 to coloured "%arg-2%"
        set {AW.DisplayName::%player%} to arg-2
        broadcast "The displayname of %arg-1% it's now "%arg-2%"
on join:
    if {AW.DisplayName::%player%} is set:
        set display name of player to coloured {AW.DisplayName::%player%}
 
  • Like
Reactions: BrettPlayMC
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_language.skript:
command /displayname <player> <text>:
    trigger:
        set display name of arg-1 to coloured "%arg-2%"
        set {AW.DisplayName::%player%} to arg-2
        broadcast "The displayname of %arg-1% it's now "%arg-2%"
on join:
    if {AW.DisplayName::%player%} is set:
        set display name of player to coloured {AW.DisplayName::%player%}
This is not the best way
Landing suit and the game is not required to install Essensitlas
 
Status
Not open for further replies.