organisation
This commit is contained in:
parent
b6158b16c1
commit
e98b0dfdbb
1 changed files with 11 additions and 7 deletions
18
main.sk
18
main.sk
|
@ -1,4 +1,5 @@
|
||||||
command skr [<text>]:
|
command skr [<text>]:
|
||||||
|
executable by: players, console
|
||||||
description: Reload de skripts
|
description: Reload de skripts
|
||||||
trigger:
|
trigger:
|
||||||
if player is op:
|
if player is op:
|
||||||
|
@ -10,10 +11,11 @@ command skr [<text>]:
|
||||||
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
||||||
|
|
||||||
command broadcast [<text>]:
|
command broadcast [<text>]:
|
||||||
|
executable by: players, console
|
||||||
|
aliases: /bc
|
||||||
description: Fais une annonce (30s de cooldown)
|
description: Fais une annonce (30s de cooldown)
|
||||||
cooldown: 30 seconds
|
cooldown: 30 seconds
|
||||||
cooldown message: &4Tu dois attendre &l%remaining time% &4pour refaire cette commande !
|
cooldown message: &4Tu dois attendre &l%remaining time% &4pour refaire cette commande !
|
||||||
aliases: /bc
|
|
||||||
trigger:
|
trigger:
|
||||||
if player is op:
|
if player is op:
|
||||||
if arg 1 is set:
|
if arg 1 is set:
|
||||||
|
@ -24,9 +26,9 @@ command broadcast [<text>]:
|
||||||
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
||||||
|
|
||||||
command skull [<offline player>]:
|
command skull [<offline player>]:
|
||||||
|
executable by: players
|
||||||
aliases: head, tete
|
aliases: head, tete
|
||||||
description: Te drop une tête d'un joueur
|
description: Te drop une tête d'un joueur
|
||||||
executable by: players
|
|
||||||
trigger:
|
trigger:
|
||||||
if player is op:
|
if player is op:
|
||||||
if arg 1 isn't set:
|
if arg 1 isn't set:
|
||||||
|
@ -39,6 +41,7 @@ command skull [<offline player>]:
|
||||||
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
||||||
|
|
||||||
command clearchat:
|
command clearchat:
|
||||||
|
executable by: players, console
|
||||||
aliases: cc
|
aliases: cc
|
||||||
description: Efface l'historique du chat pour tout le monde (1mn de cooldown)
|
description: Efface l'historique du chat pour tout le monde (1mn de cooldown)
|
||||||
cooldown: 1 minute
|
cooldown: 1 minute
|
||||||
|
@ -53,6 +56,7 @@ command clearchat:
|
||||||
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
||||||
|
|
||||||
command forceexecute <player> <text>:
|
command forceexecute <player> <text>:
|
||||||
|
executable by: players, console
|
||||||
aliases: /fe
|
aliases: /fe
|
||||||
description: Force une personne à executer une commande
|
description: Force une personne à executer une commande
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -65,8 +69,8 @@ command forceexecute <player> <text>:
|
||||||
# cancel event
|
# cancel event
|
||||||
|
|
||||||
command sethome [<text>]:
|
command sethome [<text>]:
|
||||||
description: Défini un point de téléportation pour ta maison
|
|
||||||
executable by: players
|
executable by: players
|
||||||
|
description: Défini un point de téléportation pour ta maison
|
||||||
trigger:
|
trigger:
|
||||||
if text-arg isn't set:
|
if text-arg isn't set:
|
||||||
set {_name} to "maison"
|
set {_name} to "maison"
|
||||||
|
@ -85,8 +89,8 @@ command sethome [<text>]:
|
||||||
send "Ta maison ""&a%{_name}%&r"" est maintenant définie aux coordonnées &7%player's location%&r !"
|
send "Ta maison ""&a%{_name}%&r"" est maintenant définie aux coordonnées &7%player's location%&r !"
|
||||||
|
|
||||||
command delhome [<text>]:
|
command delhome [<text>]:
|
||||||
description: Supprime le tp vers ta maison
|
|
||||||
executable by: players
|
executable by: players
|
||||||
|
description: Supprime le tp vers ta maison
|
||||||
trigger:
|
trigger:
|
||||||
if text-arg isn't set:
|
if text-arg isn't set:
|
||||||
set {_name} to "maison"
|
set {_name} to "maison"
|
||||||
|
@ -101,8 +105,8 @@ command delhome [<text>]:
|
||||||
make player execute command "listhome"
|
make player execute command "listhome"
|
||||||
|
|
||||||
command home [<text>]:
|
command home [<text>]:
|
||||||
description: Te téléportes à ta maison
|
|
||||||
executable by: players
|
executable by: players
|
||||||
|
description: Te téléportes à ta maison
|
||||||
trigger:
|
trigger:
|
||||||
if text-arg isn't set:
|
if text-arg isn't set:
|
||||||
set {_name} to "maison"
|
set {_name} to "maison"
|
||||||
|
@ -123,8 +127,8 @@ on tab complete for "home" and "delhome":
|
||||||
add loop-value to tab completions
|
add loop-value to tab completions
|
||||||
|
|
||||||
command listhome:
|
command listhome:
|
||||||
description: Liste des tes maisons
|
|
||||||
executable by: players
|
executable by: players
|
||||||
|
description: Liste des tes maisons
|
||||||
trigger:
|
trigger:
|
||||||
if {home.%player's uuid%::*} isn't set:
|
if {home.%player's uuid%::*} isn't set:
|
||||||
send "&4Vous n'avez pas de maisons."
|
send "&4Vous n'avez pas de maisons."
|
||||||
|
@ -134,8 +138,8 @@ command listhome:
|
||||||
send "&aListe des tes maisons : %{_maisons}%"
|
send "&aListe des tes maisons : %{_maisons}%"
|
||||||
|
|
||||||
command rename <string>:
|
command rename <string>:
|
||||||
description: Renomme l'item que tu as dans ta main
|
|
||||||
executable by: players
|
executable by: players
|
||||||
|
description: Renomme l'item que tu as dans ta main
|
||||||
trigger:
|
trigger:
|
||||||
if player is op:
|
if player is op:
|
||||||
if player's tool is air:
|
if player's tool is air:
|
||||||
|
|
Loading…
Reference in a new issue