Make the builder command functional

This commit is contained in:
Zontreck 2024-02-18 07:22:06 -07:00
parent 5755389cd0
commit 845a3b920b
3 changed files with 22 additions and 7 deletions

View file

@ -14,6 +14,7 @@ public class OTEServerConfig {
public static final ForgeConfigSpec.ConfigValue<Double> SPAWN_EGG_CHANCE;
public static final ForgeConfigSpec.ConfigValue<Integer> ITEM_DESPAWN_TIMER;
public static final ForgeConfigSpec.BooleanValue ALLOW_BUILDER_DIM;
public static final ForgeConfigSpec.ConfigValue<Integer> RTP_COOLDOWN;
@ -52,6 +53,8 @@ public class OTEServerConfig {
BUILDER.pop();
ALLOW_BUILDER_DIM = BUILDER.comment("Allow the builder dimension for non-opped players. This could be dangerous as the builder dimension swaps players into creative").define("allow_non_op_builder", false);
MAX_VAULTS = BUILDER.comment("What is the maximum number of vaults a player may have available? (0 is unlimited)").define("max_vaults", 0);
ITEM_DESPAWN_TIMER = BUILDER.comment("How many times should the item's expire be cancelled. The vanilla expire time is 5 minutes, so this would be ticked down once every 5 minutes.").define("item_extra_lives", 2);