Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /punish [<player>] [<text>] [<text>]:
- permission:rpg.admin
- permission message:&4[処罰システム]&cあなたにこのコマンドを使用する権限はありません
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if arg 3 is set:
- if arg 2 is "jail":
- broadcast "&4[処罰]&c%player%によって%arg 1%が理由[%arg 3%]で牢屋に送られました"
- message "&4[処罰システム]&c処罰に成功しました"
- send "&4[処罰システム]&cあなたは理由%arg 3%で牢屋に送られました" to arg 1
- execute console command "/mv tp %arg 1% world"
- wait a 10 seconds
- execute console command "/tp %argument 1% 242 5 1454"
- execute console command "/gamemode 2 %argument 1%"
- stop
- if arg 2 is "warn":
- message "&4[処罰システム]%argument 1%を警告しました 理由[%arg 3%]"
- send "&4[処罰システム]&cあなたは%player%に警告されました 理由[%arg 3%]" to arg 1
- stop
Advertisement
Add Comment
Please, Sign In to add comment