Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ffa-buildtool <text> <text>:
- permission:ffa.buildtool
- usage:/ffa-buildtool マップ名 <create,remove,setspawn>
- trigger:
- if {map::*} contains "%arg-1%":
- if arg-2 is "create":
- message "&cERROR! このマップは既に存在します!"
- stop
- if arg-2 is "remove":
- remove arg-1 from {map::*}
- clear {mapspawn.%arg-1%}
- message "&bマップデータを削除しました!"
- if arg-2 is "addspawn":
- add location of player to {mapspawn.%arg-1%::*}
- message "&bスポーン場所を追加しました"
- stop
- if arg-2 is "spawnlist":
- message "%{mapspawn.%arg-1%::*}%"
- stop
- else:
- if arg-2 is "create":
- message "&bマップを作成しました"
- add arg-1 to {map::*}
- stop
- else:
- message "&c無効な引数です!"
- command /changemap <text>:
- permission:ffa.changemap
- trigger:
- if {map::*} contains "%arg-1%":
- set {map} to arg-1
- message "&bマップを変更しました!"
- stop
- command /joinmap:
- trigger:
- loop {mapspawn.%{map}%::*}:
- chance of 50%:
- kit(player)
- teleport player to loop-value
- stop
- loop {mapspawn.%{map}%::*}:
- chance of 100%:
- kit(player)
- teleport player to loop-value
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement