diff options
| author | Jordan <77755681+Jordyrat@users.noreply.github.com> | 2024-08-31 21:50:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-31 22:50:16 +0200 |
| commit | 755a36d801e29a3c517e9c7abbf4ef6b016b026a (patch) | |
| tree | 4840b326a24f8a0d9d957c0c0713930103548bba /src/main/java/at/hannibal2/skyhanni/config/features | |
| parent | 79d891d5a3e1bffd31491a921757ccf7ab66b5fe (diff) | |
| download | skyhanni-755a36d801e29a3c517e9c7abbf4ef6b016b026a.tar.gz skyhanni-755a36d801e29a3c517e9c7abbf4ef6b016b026a.tar.bz2 skyhanni-755a36d801e29a3c517e9c7abbf4ef6b016b026a.zip | |
Feature: Reverse Party Transfer (#1712)
Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
Co-authored-by: Cal <cwolfson58@gmail.com>
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/commands/CommandsConfig.java | 5 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/commands/ReversePartyTransferConfig.java | 27 |
2 files changed, 32 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/commands/CommandsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/commands/CommandsConfig.java index 783d43d74..1747baee6 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/commands/CommandsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/commands/CommandsConfig.java @@ -18,6 +18,11 @@ public class CommandsConfig { @Expose public BetterWikiCommandConfig betterWiki = new BetterWikiCommandConfig(); + @ConfigOption(name = "Reverse Party Transfer", desc = "") + @Accordion + @Expose + public ReversePartyTransferConfig reversePT = new ReversePartyTransferConfig(); + @ConfigOption(name = "Party Commands", desc = "Shortens party commands and allows tab-completing for them. " + "\n§eCommands: /pt, /pp, /pko, /pk, /pd §7(SkyBlock command §e/pt §7to check your play time will still work)") @Expose diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/commands/ReversePartyTransferConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/commands/ReversePartyTransferConfig.java new file mode 100644 index 000000000..555733667 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/commands/ReversePartyTransferConfig.java @@ -0,0 +1,27 @@ +package at.hannibal2.skyhanni.config.features.commands; + +import at.hannibal2.skyhanni.config.FeatureToggle; +import com.google.gson.annotations.Expose; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorText; +import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; + +public class ReversePartyTransferConfig { + + @Expose + @ConfigOption(name = "Command", desc = "Adds §e/rpt §7to transfer a party back to its previous leader.") + @ConfigEditorBoolean + @FeatureToggle + public boolean command = true; + + @Expose + @ConfigOption(name = "Clickable Message", desc = "Allows transfer message to be clicked to transfer a party back to its previous leader if it has been transferred to you.") + @ConfigEditorBoolean + @FeatureToggle + public boolean clickable = false; + + @Expose + @ConfigOption(name = "Response Message", desc = "Sends a custom message to party chat when the party is reverse transferred.") + @ConfigEditorText + public String message = "Nuh Uh"; +} |
