executeCommand

fun executeCommand(command: String, user: String): Boolean

Internal function to execute a command for an admin panel user.

Return

Returns true if the user had the permission to do that.

Parameters

command

The command to execute.

user

The user for which the command should be executed.