Skip to content

Commit

Permalink
remove hypixel
Browse files Browse the repository at this point in the history
  • Loading branch information
EinsLucaaa committed Jul 12, 2023
1 parent 16f05e6 commit 40b9670
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 35 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ labyMod {
namespace = "autogg"
displayName = "AutoGG"
author = "EinsLuca"
description = "This addon ensures that you automatically write GG into the chat after a round."
description = "Make yourself more likeable by automatically writing a GG in the chat after each round."
minecraftVersion = "*"
version = System.getenv().getOrDefault("VERSION", "1.0.0")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ public class AutoGGConfiguration extends AddonConfig {
@SwitchWidget.SwitchSetting
private final ConfigProperty<Boolean> defaults = new ConfigProperty<>(true);

@SwitchWidget.SwitchSetting
private final ConfigProperty<Boolean> hypixel = new ConfigProperty<>(false);

@TextFieldWidget.TextFieldSetting
public final ConfigProperty<String> message = new ConfigProperty<>("gg");

Expand All @@ -52,7 +49,4 @@ public ConfigProperty<Boolean> getDefaults() {
return defaults;
}

public ConfigProperty<Boolean> getHypixel() {
return hypixel;
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@

public interface ServerConfiguration {

// List of all available server addresses for this server
List<String> getServerAddress();

// List of all messages on which the gg message should be sent
List<String> getFormat();

// List of all characters for which, if present, the GG message should not be sent. (Serves for protection)
List<String> getFilter();

}
4 changes: 0 additions & 4 deletions core/src/main/resources/assets/autogg/i18n/de_de.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
"name": "Standard-Server",
"description": "Schalte ein oder aus, ob Standardserver genutzt werden sollen, eine Liste findest du weiter unten."
},
"hypixel": {
"name": "Hypixel",
"description": "Schalte Hypixel Support ein oder aus."
},
"message": {
"name": "Nachricht",
"description": "Die Nachricht die gesendet wird, wenn du ein Spiel gewinnst."
Expand Down
4 changes: 0 additions & 4 deletions core/src/main/resources/assets/autogg/i18n/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
"name": "Default servers",
"description": "Toggle on or off whether to use default servers, you can find a list below."
},
"hypixel": {
"name": "Hypixel",
"description": "Switch Hypixel Support on or off."
},
"message": {
"name": "Message",
"description": "The message to send when the game ends."
Expand Down

0 comments on commit 40b9670

Please sign in to comment.