ajout singulier
This commit is contained in:
parent
a9e43c782c
commit
72f565aa2b
1 changed files with 5 additions and 2 deletions
7
main.sk
7
main.sk
|
@ -229,7 +229,10 @@ every 1 second in "world":
|
||||||
|
|
||||||
# tab
|
# tab
|
||||||
set {_serverName} to option("serverName")
|
set {_serverName} to option("serverName")
|
||||||
set tab header to "&a%{_serverName}%" and footer to "&e%number of all players% joueurs connectés\n&9%ping of loop-player% ms de latence" for loop-player
|
set {_numberOfConnectedPlayers} to number of all players
|
||||||
|
set {_pluriel} to ""
|
||||||
|
set {_pluriel} to "s" if {_numberOfConnectedPlayers} > 1
|
||||||
|
set tab header to "&a%{_serverName}%" and footer to "&e%{_numberOfConnectedPlayers}% joueur%{_pluriel}% connecté%{_pluriel}%\n&9%ping of loop-player% ms de latence" for loop-player
|
||||||
if {nick.%uuid of loop-player%} is set:
|
if {nick.%uuid of loop-player%} is set:
|
||||||
set {_player} to "%{nick.%uuid of loop-player%}%&7 (%loop-player%)"
|
set {_player} to "%{nick.%uuid of loop-player%}%&7 (%loop-player%)"
|
||||||
else:
|
else:
|
||||||
|
@ -269,7 +272,7 @@ command casque: # met l'objet dans la main du joueur sur sa tête
|
||||||
else:
|
else:
|
||||||
send option("errorMessage")
|
send option("errorMessage")
|
||||||
|
|
||||||
command clear [<player>]: # clear l'invetaire du joueur sauf équipement
|
command clear [<player>]: # clear l'inventaire du joueur sauf équipement
|
||||||
executable by: players
|
executable by: players
|
||||||
description: Clear l'inventaire d'un joueur mais pas l'équipement.
|
description: Clear l'inventaire d'un joueur mais pas l'équipement.
|
||||||
trigger:
|
trigger:
|
||||||
|
|
Loading…
Reference in a new issue