Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #[<text>] ていうのはここにコマンドを実行するプレイヤーが好きな文字を入れられます。
- #skriptではコマンドを作る場合は、trigger: が必要です。
- #if arg 1 is not set: ていうのは[<text>]の一番目が設定されていなかったらという条件文です。
- #send ていうのは message と変わりません。
- #if arg 1 is set: ていうのは[<text>]の一番目が設定されていた場合という条件文です。
- #wait %arg 1% seconds ていうのは arg 1 秒待つという意味ですね。
- #kick all players ていうのは全てのプレイヤーをキックします。という意味
- #broadcast "...." 手のは完全におまけです。send や message と違ってすべてのプレイヤーにメッセージが届きます。
- command /teststop [<text>]:
- permission: permission.op
- permission message: &cテストです。あなたは権限を所持していません。
- trigger:
- if arg 1 is not set:
- send "&cUsage: /teststop <秒数>"
- if arg 1 is set:
- broadcast "&cesrver stoped... &7%arg 1% &cseconds!"
- wait arg 1 seconds
- broadcast "&cserver stoped!"
- kick all players
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement