tab to spaces (4)
This commit is contained in:
parent
20196d318e
commit
e739c5f83b
1 changed files with 112 additions and 112 deletions
224
main.sk
224
main.sk
|
@ -1,134 +1,134 @@
|
||||||
command /skr [<text>]:
|
command /skr [<text>]:
|
||||||
description: Reload de skripts
|
description: Reload de skripts
|
||||||
trigger:
|
trigger:
|
||||||
if player is op:
|
if player is op:
|
||||||
if arg 1 is set:
|
if arg 1 is set:
|
||||||
execute player command "sk reload %text-arg%"
|
execute player command "sk reload %text-arg%"
|
||||||
else if arg 1 isn't set:
|
else if arg 1 isn't set:
|
||||||
execute player command "sk reload main" # sk reload all pour tout reload
|
execute player command "sk reload main" # sk reload all pour tout reload
|
||||||
else:
|
else:
|
||||||
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>]:
|
||||||
description: Fais une annonce
|
description: Fais une annonce
|
||||||
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
|
aliases: /bc
|
||||||
trigger:
|
trigger:
|
||||||
if player is op:
|
if player is op:
|
||||||
if arg 1 is set:
|
if arg 1 is set:
|
||||||
broadcast "&a&lBREAKING NEWS &7» &6%arg 1%"
|
broadcast "&a&lBREAKING NEWS &7» &6%arg 1%"
|
||||||
else:
|
else:
|
||||||
send "&4Vous n'avez pas spécifier de texte."
|
send "&4Vous n'avez pas spécifier de texte."
|
||||||
else:
|
else:
|
||||||
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>]:
|
||||||
description: Te drop une tête d'un joueur
|
description: Te drop une tête d'un joueur
|
||||||
executable by: players
|
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:
|
||||||
give player's skull to player
|
give player's skull to player
|
||||||
send "&7Vous avez reçu la tête de : &6%player%"
|
send "&7Vous avez reçu la tête de : &6%player%"
|
||||||
if arg 1 is set:
|
if arg 1 is set:
|
||||||
give arg's skull to player
|
give arg's skull to player
|
||||||
send "&7Vous avez reçu la tête de : &6%arg 1%"
|
send "&7Vous avez reçu la tête de : &6%arg 1%"
|
||||||
else:
|
else:
|
||||||
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:
|
||||||
aliases: /cc
|
aliases: /cc
|
||||||
description: Efface l'historique du chat pour tout le monde
|
description: Efface l'historique du chat pour tout le monde
|
||||||
cooldown: 1 minute
|
cooldown: 1 minute
|
||||||
cooldown message: &4Tu dois attendre &l%remaining time% &4pour refaire cette commande !
|
cooldown message: &4Tu dois attendre &l%remaining time% &4pour refaire cette commande !
|
||||||
trigger:
|
trigger:
|
||||||
if player is op:
|
if player is op:
|
||||||
loop 150 times:
|
loop 150 times:
|
||||||
broadcast " "
|
broadcast " "
|
||||||
broadcast "&6&m========================================"
|
broadcast "&6&m========================================"
|
||||||
broadcast " "
|
broadcast " "
|
||||||
broadcast "&cLe Chat a été clear par &e&l%player%&c."
|
broadcast "&cLe Chat a été clear par &e&l%player%&c."
|
||||||
broadcast " "
|
broadcast " "
|
||||||
broadcast "&6&m========================================"
|
broadcast "&6&m========================================"
|
||||||
broadcast " "
|
broadcast " "
|
||||||
else:
|
else:
|
||||||
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>:
|
||||||
aliases: /fe
|
aliases: /fe
|
||||||
description: Force une personne à executer une commande
|
description: Force une personne à executer une commande
|
||||||
trigger:
|
trigger:
|
||||||
if player is op:
|
if player is op:
|
||||||
execute arg-1 command arg-2
|
execute arg-1 command arg-2
|
||||||
else:
|
else:
|
||||||
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
||||||
|
|
||||||
# on weather change to rain or thunder: # soleil pour toujours
|
# on weather change to rain or thunder: # soleil pour toujours
|
||||||
# cancel event
|
# cancel event
|
||||||
|
|
||||||
command /sethome [<text>]:
|
command /sethome [<text>]:
|
||||||
description: Défini un point de téléportation pour ta maison
|
description: Défini un point de téléportation pour ta maison
|
||||||
executable by: players
|
executable by: players
|
||||||
trigger:
|
trigger:
|
||||||
if text-arg isn't set:
|
if text-arg isn't set:
|
||||||
set {_name} to "maison"
|
set {_name} to "maison"
|
||||||
else:
|
else:
|
||||||
set {_name} to text-arg
|
set {_name} to text-arg
|
||||||
remove {_name} from {home.%player's uuid%::*}
|
remove {_name} from {home.%player's uuid%::*}
|
||||||
add {_name} to {home.%player's uuid%::*}
|
add {_name} to {home.%player's uuid%::*}
|
||||||
set {home.%player's uuid%.%{_name}%} to player's location
|
set {home.%player's uuid%.%{_name}%} to player's location
|
||||||
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
|
description: Supprime le tp vers ta maison
|
||||||
executable by: players
|
executable by: players
|
||||||
trigger:
|
trigger:
|
||||||
if {home.%player's uuid%.%text-arg%} is set:
|
if {home.%player's uuid%.%text-arg%} is set:
|
||||||
remove text-arg from {home.%player's uuid%::*}
|
remove text-arg from {home.%player's uuid%::*}
|
||||||
clear {home.%player's uuid%.%text-arg%}
|
clear {home.%player's uuid%.%text-arg%}
|
||||||
send "Maison &a%text-arg%&r supprimée."
|
send "Maison &a%text-arg%&r supprimée."
|
||||||
else:
|
else:
|
||||||
send "&4Ce home n'existe pas"
|
send "&4Ce home n'existe pas"
|
||||||
make player execute command "listhome"
|
make player execute command "listhome"
|
||||||
|
|
||||||
command /home [<text>]:
|
command /home [<text>]:
|
||||||
description: Te téléportes à ta maison
|
description: Te téléportes à ta maison
|
||||||
executable by: players
|
executable by: players
|
||||||
trigger:
|
trigger:
|
||||||
if text-arg isn't set:
|
if text-arg isn't set:
|
||||||
set {_name} to "maison"
|
set {_name} to "maison"
|
||||||
else:
|
else:
|
||||||
set {_name} to text-arg
|
set {_name} to text-arg
|
||||||
if {home.%player's uuid%.%{_name}%} is set:
|
if {home.%player's uuid%.%{_name}%} is set:
|
||||||
send "&aTéléportation vers &9%{_name}% &a!"
|
send "&aTéléportation vers &9%{_name}% &a!"
|
||||||
teleport player to {home.%player's uuid%.%{_name}%}
|
teleport player to {home.%player's uuid%.%{_name}%}
|
||||||
else:
|
else:
|
||||||
send "&4Le home '&c%{_name}%' &4n'existe pas"
|
send "&4Le home '&c%{_name}%' &4n'existe pas"
|
||||||
make player execute command "listhome"
|
make player execute command "listhome"
|
||||||
|
|
||||||
command /listhome:
|
command /listhome:
|
||||||
description: Liste des tes maisons
|
description: Liste des tes maisons
|
||||||
executable by: players
|
executable by: players
|
||||||
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."
|
||||||
else:
|
else:
|
||||||
set {_maisons} to "%{home.%player's uuid%::*}%"
|
set {_maisons} to "%{home.%player's uuid%::*}%"
|
||||||
replace all "and" with "et" in {_maisons}
|
replace all "and" with "et" in {_maisons}
|
||||||
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
|
description: Renomme l'item que tu as dans ta main
|
||||||
executable by: players
|
executable by: players
|
||||||
trigger:
|
trigger:
|
||||||
if player is op:
|
if player is op:
|
||||||
if player's tool is air:
|
if player's tool is air:
|
||||||
send "&4Tu dois avoir un item dans la main pour le renommer."
|
send "&4Tu dois avoir un item dans la main pour le renommer."
|
||||||
else:
|
else:
|
||||||
set {_name} to arg
|
set {_name} to arg
|
||||||
replace all "&" with "§" in {_name}
|
replace all "&" with "§" in {_name}
|
||||||
send "&eL'item &r%player's tool%&e est renommé en &r%{_name}%&e."
|
send "&eL'item &r%player's tool%&e est renommé en &r%{_name}%&e."
|
||||||
set the name of the player's tool to "§r%{_name}%"
|
set the name of the player's tool to "§r%{_name}%"
|
||||||
else:
|
else:
|
||||||
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
send "&4Tu n'as pas la permission d'utiliser cette commande."
|
||||||
|
|
Loading…
Reference in a new issue