Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setwarp <text>:
- permission:sky.warp
- trigger:
- if {%arg%::warps} is set:
- message "&b%arg%という名前のワープはもう存在しています"
- stop
- else:
- message "&bワープ名%arg%を作成しています"
- set {%arg%::warps} to location of player
- message "&b作成しました"
- command /warp <text> [<player>]:
- permission:sky.warp
- trigger:
- if {%arg-1%::warps} is not set:
- message "&bワープ名%arg-1%は存在しません"
- stop
- else:
- if arg-2 is set:
- message "&bワープ名%arg-1%へ%player%によってテレポートされます.." to player-arg
- message "&bワープ名%arg-1%へ%arg-2%をテレポートさせます" to player
- wait 1 seconds
- teleport the player-arg to {%arg-1%::warps}
- message "&bテレポートしました" to player-arg
- stop
- else if arg-2 is not set:
- message "&bワープ名%arg-1%にテレポートします.."
- wait 1 seconds
- teleport the player to {%arg-1%::warps}
- message "&bテレポートしました"
- stop
- command /delwarp <text>:
- permission:sky.warp
- executable by:console
- trigger:
- if {%arg%::warps} is not set:
- message "&bワープ名%arg%は存在しません"
- stop
- else:
- message "&bワープ名%arg%を削除します..."
- wait 1 seconds
- clear {%arg%::warps}
- message "&b削除しました"
- command /consolewarp <text> <player>:
- permission:sky.warp
- trigger:
- if {%arg-1%::warps} is not set:
- message "&bワープ名%arg-1%は存在しません"
- stop
- else:
- if arg-2 is set:
- message "&bワープ名%arg-1%へ&cコンソール&bによってテレポートされます.." to player-arg
- message "&bワープ名%arg-1%へ%arg-2%をテレポートさせます" to player
- wait 1 seconds
- teleport the player-arg to {%arg-1%::warps}
- message "&bテレポートしました" to player-arg
- stop
Advertisement
Add Comment
Please, Sign In to add comment