diff options
author | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-09-27 18:24:10 -0230 |
---|---|---|
committer | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-09-27 18:24:10 -0230 |
commit | a2c0db53800c353b3b8154964645e7d6499d17ab (patch) | |
tree | 85851b60c5e0d893982745f73d22946d65cf07cc /src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt | |
parent | f931dfbaf156aabfa3586a106a852eb9dd964bef (diff) | |
download | RewardClaim-a2c0db53800c353b3b8154964645e7d6499d17ab.tar.gz RewardClaim-a2c0db53800c353b3b8154964645e7d6499d17ab.tar.bz2 RewardClaim-a2c0db53800c353b3b8154964645e7d6499d17ab.zip |
Updated build.gradle to make built jars need the minimal amount of shadowed libs.
Added Config and a config command.
- Made it so that you can disable the confirmation popup.
Fixed some classes have the wrong names.
Added a backup plan to disable the mod via the ExternalConfiguration.
Diffstat (limited to 'src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt')
-rw-r--r-- | src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt b/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt new file mode 100644 index 0000000..8ba49e0 --- /dev/null +++ b/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt @@ -0,0 +1,13 @@ +package tech.thatgravyboat.rewardclaim + +import gg.essential.api.EssentialAPI +import gg.essential.api.commands.Command +import gg.essential.api.commands.DefaultHandler + +class Command : Command("rewardclaim") { + + @DefaultHandler + fun handle() { + EssentialAPI.getGuiUtil().openScreen(Config.gui()) + } +}
\ No newline at end of file |