diff options
Diffstat (limited to 'src/main/kotlin/com/raeids/stratus/command/StratusCommand.kt')
-rw-r--r-- | src/main/kotlin/com/raeids/stratus/command/StratusCommand.kt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/kotlin/com/raeids/stratus/command/StratusCommand.kt b/src/main/kotlin/com/raeids/stratus/command/StratusCommand.kt new file mode 100644 index 0000000..2954885 --- /dev/null +++ b/src/main/kotlin/com/raeids/stratus/command/StratusCommand.kt @@ -0,0 +1,15 @@ +package com.raeids.stratus.command + +import com.raeids.stratus.Stratus +import com.raeids.stratus.config.StratusConfig +import gg.essential.api.EssentialAPI +import gg.essential.api.commands.Command +import gg.essential.api.commands.DefaultHandler + +object StratusCommand : Command(Stratus.ID, true) { + + @DefaultHandler + fun handle() { + EssentialAPI.getGuiUtil().openScreen(StratusConfig.gui()) + } +}
\ No newline at end of file |