diff options
author | HackOS <63157139+HackedOS@users.noreply.github.com> | 2022-05-12 22:11:18 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 18:41:18 +0200 |
commit | ae12206958a0ba848594beeb2f804720d1a89d4f (patch) | |
tree | d18cb3b3a7f7214548a679ec58adbac4c3f3c849 /src/main/java/de/torui/coflsky/commands | |
parent | a7d7277bfa5274c816b93e4493447989c3d562da (diff) | |
download | COFL-ae12206958a0ba848594beeb2f804720d1a89d4f.tar.gz COFL-ae12206958a0ba848594beeb2f804720d1a89d4f.tar.bz2 COFL-ae12206958a0ba848594beeb2f804720d1a89d4f.zip |
Add Auto-Toggle and Send Scoreboard/Tab Menu Data (#58)
* Add Auto-Toggle
* Send Scoreboard data to the Server
* Fix Privacy settings and respect collect scoreboard
* Move code to EventHandlers.java and collect Tab Manu data
* Remove unused import
* Refactor for Readability
* Bug Fix
* Fix bug
* Add LocalConfig and Respect AutoStart
* Add chat msg when leaving skyblock
* Add ChatRegex
* Fix bug where purse doesnt update with pigyy bank
* Improve Performance
* Fix chatregex always being null
Diffstat (limited to 'src/main/java/de/torui/coflsky/commands')
-rw-r--r-- | src/main/java/de/torui/coflsky/commands/CommandType.java | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/main/java/de/torui/coflsky/commands/CommandType.java b/src/main/java/de/torui/coflsky/commands/CommandType.java index ecece3f..533af1e 100644 --- a/src/main/java/de/torui/coflsky/commands/CommandType.java +++ b/src/main/java/de/torui/coflsky/commands/CommandType.java @@ -9,6 +9,8 @@ import com.google.gson.annotations.SerializedName; public enum CommandType { @SerializedName("writeToChat") WriteToChat, + @SerializedName("set") + set, @SerializedName("execute") Execute, @@ -38,8 +40,18 @@ public enum CommandType { @SerializedName("privacySettings") PrivacySettings, @SerializedName("countdown") - Countdown, -; + Countdown, + @SerializedName("updatePurse") + updatePurse, + @SerializedName("updateBits") + updateBits, + @SerializedName("updateServer") + updateServer, + @SerializedName("updateLocation") + updateLocation, + @SerializedName("chatBatch") + chatBatch, + ; public static Map<CommandType,String> data; static { data = new HashMap<>(); |