File tree Expand file tree Collapse file tree
commons/src/main/java/net/swofty/commons/config
src/main/java/net/swofty/type/generic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ public class Settings {
2828 @ Comment ("Whether to enable sandbox features (such as editing items)" )
2929 private boolean sandbox = false ;
3030
31- @ Comment ("Whether to enable the terminal for Minestom backend servers" )
32- private boolean terminal = false ;
33-
3431 @ Comment ("Integrations with services" )
3532 private IntegrationSettings integrations = new IntegrationSettings ();
3633
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ dependencies {
2525 implementation(project(" :proxy.api" ))
2626 implementation(" org.mongodb:bson:5.6.2" )
2727 implementation(" org.mongodb:mongodb-driver-sync:5.6.2" )
28- implementation(" org.jline:jline-terminal:3.30.6" )
29- implementation(" org.jline:jline-reader:3.30.6" )
3028 // Must match AtlasRedisAPI's Jedis version to avoid conflicts
3129 implementation(" redis.clients:jedis:4.2.3" )
3230 implementation(" org.tinylog:tinylog-api:2.7.0" )
Original file line number Diff line number Diff line change 4848import net .swofty .type .generic .packet .HypixelPacketServerListener ;
4949import net .swofty .type .generic .quest .QuestRegistry ;
5050import net .swofty .type .generic .redis .RedisOriginServer ;
51- import net .swofty .type .generic .terminal .MinestomTerminal ;
5251import net .swofty .type .generic .user .HypixelPlayer ;
5352import org .jetbrains .annotations .Nullable ;
5453import org .reflections .Reflections ;
@@ -248,13 +247,6 @@ public void initialize(MinecraftServer server) {
248247 });
249248 }
250249
251- if (ConfigProvider .settings ().isTerminal ()) {
252- try (MinestomTerminal terminal = new MinestomTerminal (MinecraftServer .getCommandManager ())) {
253- terminal .start ();
254- } catch (Exception e ) {
255- Logger .warn (e , "Failed to start Minestom terminal." );
256- }
257- }
258250 }
259251
260252 public static List <HypixelPlayer > getLoadedPlayers () {
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments