-
Notifications
You must be signed in to change notification settings - Fork 0
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
11 changed files
with
123 additions
and
107 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 |
---|---|---|
@@ -1,29 +1,23 @@ | ||
# Eclipse | ||
eclipse | ||
# eclipse | ||
bin | ||
*.launch | ||
.settings | ||
.metadata | ||
.classpath | ||
.project | ||
|
||
# Idea | ||
# idea | ||
out | ||
classes | ||
*.ipr | ||
*.iws | ||
*.iml | ||
.idea | ||
|
||
# Gradle | ||
# gradle | ||
build | ||
.gradle | ||
|
||
# Netbeans | ||
.nb-gradle | ||
.nb-gradle-properties | ||
|
||
# Other | ||
# other | ||
eclipse | ||
run | ||
.DS_Store | ||
Thumbs.db | ||
.hprof |
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
Binary file not shown.
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 |
---|---|---|
@@ -1,23 +1,6 @@ | ||
# | ||
# Hypixel Addons - A customizable quality of life mod for Hypixel | ||
# Copyright (c) 2021 kr45732 | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero 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 Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
# | ||
|
||
#Mon Sep 14 12:28:28 PDT 2015 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.1-bin.zip |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,4 +86,4 @@ exit /b 1 | |
:mainEnd | ||
if "%OS%"=="Windows_NT" endlocal | ||
|
||
:omega | ||
:omega |
Binary file not shown.
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,65 @@ | ||
package me.redth.mmcutils; | ||
|
||
import gg.essential.vigilance.Vigilant; | ||
import gg.essential.vigilance.data.Property; | ||
import gg.essential.vigilance.data.PropertyType; | ||
import net.minecraft.command.CommandBase; | ||
import net.minecraft.command.ICommandSender; | ||
import net.minecraft.util.BlockPos; | ||
|
||
import java.io.File; | ||
import java.util.Collections; | ||
import java.util.List; | ||
|
||
public class Config extends Vigilant { | ||
|
||
@Property(type = PropertyType.SWITCH, name = "Auto Queue", category = "General", description = "Automatically queues your current proxy's practice server when connected.") | ||
public static boolean autoQueue = true; | ||
|
||
@Property(type = PropertyType.SWITCH, name = "Auto Party Chat", category = "General", description = "Automatically enters party chat when connected.") | ||
public static boolean autoPartyChat = true; | ||
|
||
@Property(type = PropertyType.SWITCH, name = "Height Limit Overlay", category = "General", description = "Darkens wools and terracottas at height limit.") | ||
public static boolean heightLimitOverlay = true; | ||
|
||
@Property(type = PropertyType.PERCENT_SLIDER, name = "Height Limit Brightness", category = "General", description = "How bright the blocks will be.") | ||
public static float heightLimitBrightness = 0.5F; | ||
|
||
public Config() { | ||
super(new File("./config/mmcutils.toml")); | ||
initialize(); | ||
} | ||
|
||
public static class Command extends CommandBase { | ||
|
||
@Override | ||
public String getCommandName() { | ||
return "mmcutils"; | ||
} | ||
|
||
@Override | ||
public String getCommandUsage(ICommandSender sender) { | ||
return "/mmcutils"; | ||
} | ||
|
||
@Override | ||
public void processCommand(ICommandSender sender, String[] args) { | ||
MMCUtils.showConfig = true; | ||
} | ||
|
||
@Override | ||
public List<String> getCommandAliases() { | ||
return Collections.emptyList(); | ||
} | ||
|
||
@Override | ||
public List<String> addTabCompletionOptions(ICommandSender sender, String[] args, BlockPos pos) { | ||
return Collections.emptyList(); | ||
} | ||
|
||
@Override | ||
public boolean canCommandSenderUseCommand(ICommandSender sender) { | ||
return true; | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ | |
"mcversion": "${mcversion}", | ||
"authorList": [ | ||
"Redth" | ||
], | ||
"dependencies": [ | ||
"essential" | ||
] | ||
} | ||
] |