Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {%uuid of player%.msban} is true:
- add ip of player to {msbanip::*}
- wait 5 tick
- execute console command "kick %player% [MSBAN]あなたはIPBANされています。"
- stop
- loop {msbanip::*}:
- if loop-value-1 is uuid of player:
- add ip of player to {msbanip::%loop-value-1%::*}
- execute console command "kick %player% [MSBAN]あなたはIPBANされています。"
- loop {msbanlist%loop-value-1%::*}:
- if loop-value-2 is uuid of player:
- add ip of player to {msbanip::%loop-value-1%::*}
- wait 5 tick
- execute console command "kick %player% [MSBAN]あなたはIPBANされています。"
- stop
- loop {msbanip::%loop-value-1%::*}:
- if loop-value-2 is ip of player:
- add ip of player to {msbanip::%loop-value-1%::*}
- add uuid of player to {msbanlist%loop-value-1%::*}
- wait 5 tick
- execute console command "kick %player% [MSBAN]あなたはIPBANされています。"
- stop
- command /msban <offlineplayer>:
- permission: sk.admin
- trigger:
- add uuid of arg-1 to {msbanip::*}
- add ip of arg-1 to {msbanip::%uuid of arg-1%::*}
- message "&a%arg-1%(%ip of arg-1%) をBANしました。"
- command /mspardon <offlineplayer>:
- permission: sk.admin
- trigger:
- loop {msbanip::%uuid of arg-1%::*}:
- remove loop-value from {msbanip::%uuid of arg-1%::*}
- remove uuid of arg-1 from {msbanip::*}
- loop {msbanlist%uuid of arg-1%::*}:
- remove loop-value from {msbanlist%uuid of arg-1%::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement