Advertisement
nasuhahahafff

Untitled

Oct 25th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. on join:
  2. if {%uuid of player%.msban} is true:
  3. add ip of player to {msbanip::*}
  4. wait 5 tick
  5. execute console command "kick %player% [MSBAN]あなたはIPBANされています。"
  6. stop
  7. loop {msbanip::*}:
  8. if loop-value-1 is uuid of player:
  9. add ip of player to {msbanip::%loop-value-1%::*}
  10. execute console command "kick %player% [MSBAN]あなたはIPBANされています。"
  11. loop {msbanlist%loop-value-1%::*}:
  12. if loop-value-2 is uuid of player:
  13. add ip of player to {msbanip::%loop-value-1%::*}
  14. wait 5 tick
  15. execute console command "kick %player% [MSBAN]あなたはIPBANされています。"
  16. stop
  17. loop {msbanip::%loop-value-1%::*}:
  18. if loop-value-2 is ip of player:
  19. add ip of player to {msbanip::%loop-value-1%::*}
  20. add uuid of player to {msbanlist%loop-value-1%::*}
  21. wait 5 tick
  22. execute console command "kick %player% [MSBAN]あなたはIPBANされています。"
  23. stop
  24.  
  25.  
  26. command /msban <offlineplayer>:
  27. permission: sk.admin
  28. trigger:
  29. add uuid of arg-1 to {msbanip::*}
  30. add ip of arg-1 to {msbanip::%uuid of arg-1%::*}
  31. message "&a%arg-1%(%ip of arg-1%) をBANしました。"
  32.  
  33. command /mspardon <offlineplayer>:
  34. permission: sk.admin
  35. trigger:
  36. loop {msbanip::%uuid of arg-1%::*}:
  37. remove loop-value from {msbanip::%uuid of arg-1%::*}
  38. remove uuid of arg-1 from {msbanip::*}
  39. loop {msbanlist%uuid of arg-1%::*}:
  40. remove loop-value from {msbanlist%uuid of arg-1%::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement