Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &7&l[&fWhite&aList&ePlus&7&l]
- connect: &7&l[&aConnect System&7&l]
- on connect:
- broadcast "{@connect} &e&l%player%&a&lさんが鯖に接続しています"
- command /whitelistplus [<text>] [<offline player>]:
- aliases: wlp
- permission: wlp.skript
- trigger:
- if arg-1 is not set:
- send "&a&l-------------------------------------------------"
- send "&f "
- send " &f&lWhite&6&lList&e&lPlus "
- send " "
- send " &fwlp &6on: whitelist+をオンにします "
- send " &fwlp &5off: whitelist+をオフにします "
- send " &fwlp &cadd (name): whitelist+に追加します "
- send " &fwlp &8remove (name): whitelist+から解除します "
- send " &fwlp &alist: whitelist+に追加した人のIDを "
- send " &a表示します "
- send " "
- send " "
- send " "
- send " "
- send " "
- send "&a&l-------------------------------------------------"
- if arg-1 is "on":
- set {whitelistplus} to true
- send "&f&lWhiteListPlus-&6true"
- loop all players:
- if {wlp::%loop-player%} is not "true":
- kick the loop-player due to "&f&lWhitelistPlus-&a&lNow"
- if arg-1 is "off":
- set {whitelistplus} to false
- send "&f&lWhiteListPlus-&5false"
- if arg-1 is "add":
- if arg-2 is set:
- set {wlp::%arg-2%} to "true"
- send "{@prefix}&f&l%arg-2%さんをWhiteListPlusに追加しました"
- if arg-1 is "remove":
- if arg-2 is set:
- set {wlp::%arg-2%} to "false"
- send "{@prefix}&f&l%arg-2%さんをWhiteListPlusから削除しました"
- if arg-1 is "list":
- loop all players:
- if {wlp::%loop-player%} is "true":
- add loop-player to {_whitelistplus::*}
- add 1 to {_slot}
- loop all players:
- open chest with 6 rows named "&f&lWhitelist&e&l+ &a&llist " to player
- format slot {_slot} of player with paper named "&6&l%{_whitelistplus::*}%" to close
- set {_slot} to 0
Add Comment
Please, Sign In to add comment