Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on sign change:
- replace "&" with "§" in line 1
- replace "&" with "§" in line 2
- replace "&" with "§" in line 3
- replace "&" with "§" in line 4
- on rightclick on a sign:
- line 1 of clicked block is ""
- line 2 of clicked block is "§6§lチェックポイント"
- line 3 of clicked block is "§7§l【右クリック】"
- line 4 of clicked block is ""
- set {checkpoint.%player%} to location of player
- message "&6&lチェックポイントを設定しました!"
- execute console command "/playsound block.wood.break master %player% ~ ~ ~ 1 2 1 10"
- command /Athletic [<text>] [<text>] [<player>] [<text>]:
- permission: athletic.*
- Usage: &7そのコマンドは正しくありません、/Athletic help でヘルプを参照してください。
- trigger:
- if arg-1 is not set:
- send "&7そのコマンドは正しくありません、/Athletic help でヘルプを参照してください。"
- else if player has permission "athletic.command.set" or "athletic.*" and "athletic.command.*":
- if arg-1 is "set":
- set {checkpoint.%player%} to location of player
- message "&6&lチェックポイントを設定しました!"
- execute console command "/playsound block.wood.break master %player% ~ ~ ~ 1 2 1 10"
- else if player has permission "athletic.checkpoint.teleport" or "athletic.*" and "athletic.checkpoint.*":
- if arg-1 is "teleport" or "tp":
- if arg-2 is not set:
- teleport player to {checkpoint.%player%}
- message "&6&lチェックポイントに戻りました!"
- else if arg-2 is "player":
- teleport arg-3 to {checkpoint.%player%}
- message "&6&lチェックポイントに戻りました!" to player
- else if arg-3 is not set:
- message "&cError:&7 PlayerNameを指定してください (/athletic teleport player <PlayerName>"
- else if player has permission "athletic.command.help" or "athletic.*" and "athletic.command.*":
- if arg-1 is "help":
- message " "
- message "&7/Athletic help --- Athletic コマンドの一覧を表示します"
- message "&7/Athletic set --- チェックポイントを設定します"
- message "&7/Athletic teleport --- 設定したチェックポイントにテレポートします"
- message "&7/Athletic give --- 設定したアイテムを配布します(作成中)"
- message " "
- else if player has permission "athletic.command.give" or "athletic.*" and "athletic.command.*":
- if arg-1 is "give":
- if arg-2 is not set:
- message " "
- message "&3 Coming Soon"
- message " "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement