CommandsModule
0.1.0-SNAPSHOT
CommandsModule
/
xyz.theprogramsrc.commandsmodule.spigot
/
Command
/
Command
Command
fun
Command
(
name
:
String
,
onExecute
:
(
CommandExecutor
)
->
Unit
=
{}
)
Content copied to clipboard
Parameters
name
The name of the command
on
Execute
The function to execute when the command is executed.