onlyConsole

public final Unit onlyConsole()

Adds a requirement to the command syntax that only allows the console to execute the command.

This is a shorthand for requires(Conditions.consoleOnly).