A simple Skript addon providing support for NameTagEdit (NTE).
Syntax
Code (Text):
Effects
// Sets the current prefix of a player
set [the] (nametag|tablist) prefix of %player% to %string%
set %player%'s (nametag|tablist) prefix to %string%
// Sets the suffix of a player
set [the] (nametag|tablist) suffix of %player% to %string%
set %player%'s (nametag|tablist) suffix to %string%
// Makes the nametag of a player visible
show [the] nametag of %player%
show %player%'s nametag
make %player%'s nametag visible
// Makes the nametag of a player invisible
hide [the] nametag of %player%
hide %player%'s nametag
make %player%'s nametag invisible
// Reload the nametag of a player from the config file
reload [the] nametag of %player%
reload %player%'s nametag
Expressions
// The prefix of the player
[the] (nametag|tablist) prefix of %player%
%player%'s (nametag|tablist) prefix
// The suffix of the player
[the] (nametag|tablist) suffix of %player%
%player%'s (nametag|tablist) suffix
// The nametag of the player
[the] (nametag|tablist name) of %player%
%player%'s (nametag|tablist name)
// The faketeam of the player (technical, useless for most users)
[the] (faketeam|fake team) of %player%
%player%'s (faketeam|fake team)
Example
Code (Text):
command /setprefix [<text>]:
trigger:
set nametag prefix of player to arg-1
send "prefix set to %nametag prefix of player%"
command /setsuffix [<text>]:
trigger:
set nametag suffix of player to arg-1
send "suffix set to %nametag suffix of player%"
command /reloadnametag:
trigger:
reload player's nametag
send "nametag set to %player's nametag%"
command /faketeam:
trigger:
send "your faketeam is %player's faketeam%"
command /hide:
trigger:
hide player's nametag
command /show:
trigger:
show player's nametag
bStats (Click here) bStats anonymously collects data about how many servers/players are using the plugin. This can be disabled if you wish.