Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /white <player> [<text>]:
- permission: minecarft.command.ban
- trigger:
- set {banned.%arg 1%} to "white"
- if arg 2 is set:
- kick the arg 1 due to "%arg 2%"
- wait a tick
- send "&a%arg 1%さんをwhitelistsしました。"
- wait a tick
- send "&a%arg 1%さんのip: &b%ip of arg 1%"
- wait a tick
- send "&awhite解除は/unwhiteで行えます。"
- add arg 1 to {whitelists}
- if arg 2 is not set:
- kick the arg 1 due to "white"
- wait a tick
- send "&a%arg 1%さんをwhiteしました。"
- wait a tick
- send "&a%arg 1%さんのip: &b%ip of arg 1%"
- wait a tick
- send "&aban解除は/unwhiteで行えます。"
- add arg 1 to {whitelists}
- command /unwhite <offline player>:
- permission: minecraft.command.pardon
- trigger:
- delete {white.%arg 1%}
- remove arg 1 from {whitelists}
- send "&a%arg 1%さんのwhiteを解除しました。"
- command /whitelists:
- permission: skript.admin
- trigger:
- send "&awhite list: %{whitelists}%"
- on connect:
- if {banned.%player%} is "white":
- kick the player due to "do not connect. reason:this server is whitelisted"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement