Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick on sign:
- if line 1 is "parkour":
- set line 1 of block to ""
- wait a tick
- set line 1 of block to "&a&lチェックポイント"
- set line 2 of block to "を設定"
- stop
- if line 1 is "チェックポイント":
- make player execute command "/setcheckpoint" as op
- command /setcheckpoint [<offlineplayer>]:
- aliases: /setcp
- permission: admin.sk
- trigger:
- if arg-1 is not set:
- set {checkpoint.%uuid of player%.location} to location of player
- send "&aチェックポイント&fを設定しました。&7(%location of player%)&r" to player
- else:
- set {checkpoint.%player%.location} to location of player
- send "&aチェックポイント&fを設定しました。&7(%location of player%)&r" to player
- command /checkpoint [<player>]:
- permission: sk.checkpoint
- aliases: /cp
- trigger:
- if arg-1 is not set:
- if {checkpoint.%uuid of player%.location} is not set:
- message "&fあなたは&aチェックポイント&fを設定していません。&r" to player
- stop
- teleport player to {checkpoint.%uuid of player%.location}
- send "&fあなたは&aチェックポイント&fに転移しました。" to player
- stop
- else:
- if player have permission "admin.sk":
- if {checkpoint.%uuid of player%.location} is not set:
- message "&fあなたは&aチェックポイント&fを設定していません。&r" to player
- stop
- else:
- teleport arg-1 to {checkpoint.%uuid of player%.location}
- send "&fあなたは&aチェックポイント&fに転移しました。" to player
- stop
- else:
- send "&aチェックポイント&fは設定されていません。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement