The command can only be executed by users with certain 'usernames'.


$onlyForUsers[Usernames;...;Error message]


  • Usernames (Type: String || Flag: Emptiable): The names of the users that can execute this command. Use semicolons ; as a separator to separate multiple usernames.
  • Error message (Type: String || Flag: Emptiable): The message that is returned when the command is used by a non-whitelisted user.


$onlyForUsers[Nicky;❌ Only users with the username `Nicky` can execute this command!]

$c[Put your code here.]