[minecraft] skriptスクリプト例
ログイン時にある地点にプレイヤーを移動させたい
on join: [tab]execute console command "/tp %player%" x y z
始めてログインした場合にメッセージをワールドに表示させる
on first join: [tab]broadcast "<yellow>初めまして!%player% さん!ようこそワールドへ!"
すべてのユーザをKickするというメッセージを出して1分後に全員Kickするというカスタムコマンドを作成
command /kickall: [tab]trigger: [tab][tab]execute console command "playsound entity.cat.ambient master @a" [tab][tab]broadcast "<yellow>1分後に入場制限を開始いたします。" [tab][tab]wait 1 minutes [tab][tab]execute console command "/kick @a" [tab][tab]stop