Variables: {Whitelist} = false Command /whitelist trigger: If arg1 is "on" Set {Whitelist} totrue Else: Set {Whitelist} to false On connect: If {Whitelist} is true: Kick player due to ""