command /craft:
permission: "skript.craft"
permission message: "§cVous n'avez pas la permission §eskript.craft§c."
trigger:
open crafting table to player
command /ec:
permission: "skript.ec"
permission message: "§cVous n'avez pas la permission §eskript.ec§c."
trigger:
open player's ender chest to player
command /jukebox <text>:
permission: "skript.jukebox"
permission message: "§cVous n'avez pas la permission §eskript.jukebox§c."
usage: /jukebox <disque>
trigger:
if arg 1 is "help":
send "§ePermet de lire un disque" to player
send "§cusage: §e/jukebox <disque>" to player
send "§bListe des disques:" to player
send " - 13" to player
send " - cat" to player
send " - blocks" to player
send " - chirp" to player
send " - far" to player
send " - mall" to player
send " - mellohi" to player
send " - stal" to player
send " - strad" to player
send " - ward" to player
send " - 11" to player
send " - wait" to player
else if arg 1 is "stop":
execute console command "stopsound %player% master"
else:
execute console command "stopsound %player% master"
execute player command "playsound minecraft:record.%arg 1% master %player%"