-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
148 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Hytils Reborn - Hypixel focused Quality of Life mod. | ||
* Copyright (C) 2020, 2021, 2022, 2023 Polyfrost, Sk1er LLC and contributors | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package club.sk1er.mods.autogg; | ||
|
||
import club.sk1er.mods.autogg.config.AutoGGConfig; | ||
|
||
public class AutoGG { | ||
public static AutoGG INSTANCE = new AutoGG(); | ||
|
||
public AutoGGConfig getAutoGGConfig() { | ||
return new AutoGGConfig(); | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
src/dummy/java/club/sk1er/mods/autogg/config/AutoGGConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* | ||
* Hytils Reborn - Hypixel focused Quality of Life mod. | ||
* Copyright (C) 2020, 2021, 2022, 2023 Polyfrost, Sk1er LLC and contributors | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package club.sk1er.mods.autogg.config; | ||
|
||
public class AutoGGConfig { | ||
|
||
// these arent the actual default values | ||
private boolean autoGGEnabled = true; | ||
private boolean casualAutoGGEnabled = true; | ||
private boolean antiGGEnabled = true; | ||
private boolean antiKarmaEnabled = true; | ||
private int autoGGDelay = 5; | ||
private int autoGGPhrase = 0; | ||
private boolean secondaryEnabled = true; | ||
private int autoGGPhrase2 = 0; | ||
private int secondaryDelay = 5; | ||
|
||
public boolean isModEnabled() { | ||
return autoGGEnabled; | ||
} | ||
|
||
public boolean isCasualAutoGGEnabled() { | ||
return casualAutoGGEnabled; | ||
} | ||
|
||
public boolean isAntiGGEnabled() { | ||
return antiGGEnabled; | ||
} | ||
|
||
public boolean isAntiKarmaEnabled() { | ||
return antiKarmaEnabled; | ||
} | ||
|
||
public int getAutoGGDelay() { | ||
return autoGGDelay; | ||
} | ||
|
||
public int getAutoGGPhrase() { | ||
return autoGGPhrase; | ||
} | ||
|
||
public boolean isSecondaryEnabled() { | ||
return secondaryEnabled; | ||
} | ||
|
||
public int getAutoGGPhrase2() { | ||
return autoGGPhrase2; | ||
} | ||
|
||
public int getSecondaryDelay() { | ||
return secondaryDelay; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters