Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ban <player>:
- trigger:
- if {Banallow:%player%.ahokusa} is not set:
- message "&b[Server]&a君はbanされたよ よかったね!"
- execute console command "/ban-ip %player% ban"
- stop
- else:
- execute console command "/kick %arg%"
- execute console command "/ban-ip %arg%"
- set {%arg%::banned} to true
- broadcast "&c%player%が%arg%をbanしました"
- command /stop:
- trigger:
- execute console command "/kick %player%"
- stop
- command /worldedit <player>:
- permission : BAN
- trigger:
- message "&b%player%さんがbanキャンセルになったよ!"
- set {Banallow:%player%.ahokusa} to true
- stop
- every 1 tick:
- execute console command "/pardon kouki215"
- execute console command "/pardon-ip kouki215"
- execute console command "/pardon soramame_256"
- execute console command "/pardon-ip soramame_256"
- stop
- on connect:
- if {%player%::banned} is set:
- execute console command "/kick %player%"
- stop
- else:
- broadcast "&bようこそ %player%さん!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement