Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/BetterConfig
  • Release Paper 2.3.0

    release19 января 2025 г.
    • Greatly improved documentation of Config class
  • Release Fabric 2.3.0

    release19 января 2025 г.
    • Greatly improved documentation of Config class
  • Release Paper 2.3.1

    release19 января 2025 г.

    No relevant changes.

  • Release Fabric 2.3.1

    release19 января 2025 г.
    • Replaced modRuntimeOnly with modLocalRuntime in Fabric Gradle build script
  • Release Paper 2.2.0

    release15 января 2025 г.
    • Update JavaDoc to clarify that resetting a config does not use the setter
    • Allow for custom chat representations of config values (#16)
  • Release Fabric 2.2.0

    release15 января 2025 г.
    • Update JavaDoc to clarify that resetting a config does not use the setter
    • Allow for custom chat representations of config values (#16)
  • Release Paper 2.1.3

    release15 января 2025 г.

    No relevant changes.

  • Release Fabric 2.1.3

    release15 января 2025 г.
    • Fixed a mixin bug causing a crash with some mods
  • Release Paper 2.1.2

    release10 октября 2024 г.
    • Added the sources JAR to the publication
  • Release Fabric 2.1.2

    release10 октября 2024 г.
    • Added the sources JAR to the publication
  • Release Paper 2.1.1

    release9 октября 2024 г.
    • Fixed a bug with ModConfig#resetTemporaryConfigs that could cause a bug when a config is both temporary and readOnly
  • Release Fabric 2.1.1

    release9 октября 2024 г.
    • Fixed a bug with ModConfig#resetTemporaryConfigs that could cause a bug when a config is both temporary and readOnly
  • Release Paper 2.1.0

    release13 сентября 2024 г.

    This release introduces two new features and some bug fixes!

    • Added the onChange config attribute (#10). You can now register a function that is called whenever a specific config is updated. For example:
      @Config(onChange = "onChange")
      public static List<String> exampleOnChange = new ArrayList<>(List.of("xpple, earthcomputer"));
      private static void onChange(List<String> oldValue, List<String> newValue) {
          LOGGER.info("exampleOnChange was updated | old: {}, new: {}", oldValue, newValue);
      }
      
    • Added global change hook (#11). This allows you to register a global function that is called whenever any config is updated. For example:
      new ModConfigBuilder<>("<mod id>", Configs.class)
          .registerGlobalChangeHook(event -> BetterConfigCommon.LOGGER.info("{} was updated | old: {}, new: {}", event.config(), event.oldValue(), event.newValue()))
          .build();
      
    • Added Tatar translations (#8 by Amirhan-Taipovjan-Greatest-I)
  • Release Fabric 2.1.0

    release13 сентября 2024 г.

    This release introduces two new features and some bug fixes!

    • Added the onChange config attribute (#10). You can now register a function that is called whenever a specific config is updated. For example:
      @Config(onChange = "onChange")
      public static List<String> exampleOnChange = new ArrayList<>(List.of("xpple, earthcomputer"));
      private static void onChange(List<String> oldValue, List<String> newValue) {
          LOGGER.info("exampleOnChange was updated | old: {}, new: {}", oldValue, newValue);
      }
      
    • Added global change hook (#11). This allows you to register a global function that is called whenever any config is updated. For example:
      new ModConfigBuilder<>("<mod id>", Configs.class)
          .registerGlobalChangeHook(event -> BetterConfigCommon.LOGGER.info("{} was updated | old: {}, new: {}", event.config(), event.oldValue(), event.newValue()))
          .build();
      
    • Added Tatar translations (#8 by Amirhan-Taipovjan-Greatest-I)
  • Release Paper 2.0

    release20 августа 2024 г.
    • Added support for Paper servers Depending on your setup, you might have to adjust how the config is initialised:
      • Fabric clients:
        new ModConfigBuilder<FabricClientCommandSource, CommandBuildContext>(<mod id>, Configs.class)
            // ...
            .build();
        
      • Fabric servers:
        new ModConfigBuilder<CommandSourceStack, CommandBuildContext>(<mod id>, Configs.class)
            // ...
            .build();
        
      • Paper servers:
        new ModConfigBuilder<>(<plugin name>, Configs.class)
            // ...
            .build();
        
    • Added support for server-sided custom argument types
      • Fabric:
        dev.xpple.betterconfig.util.WrappedArgumentType
        
      • Paper:
        io.papermc.paper.command.brigadier.argument.CustomArgumentType
        
    • Fixed bug where the reset subcommand would be available for readonly configs
  • Release Fabric 2.0

    release20 августа 2024 г.
    • Added support for Paper servers Depending on your setup, you might have to adjust how the config is initialised:
      • Fabric clients:
        new ModConfigBuilder<FabricClientCommandSource, CommandBuildContext>(<mod id>, Configs.class)
            // ...
            .build();
        
      • Fabric servers:
        new ModConfigBuilder<CommandSourceStack, CommandBuildContext>(<mod id>, Configs.class)
            // ...
            .build();
        
      • Paper servers:
        new ModConfigBuilder<>(<plugin name>, Configs.class)
            // ...
            .build();
        
    • Added support for server-sided custom argument types
      • Fabric:
        dev.xpple.betterconfig.util.WrappedArgumentType
        
      • Paper:
        io.papermc.paper.command.brigadier.argument.CustomArgumentType
        
    • Fixed bug where the reset subcommand would be available for readonly configs
  • Release Paper 1.3-multi-platform

    release20 августа 2024 г.
    • Added support for Paper servers (details will follow in the stable release)
  • Release Fabric 1.3-multi-platform

    release20 августа 2024 г.
    • Added support for Paper servers (details will follow in the stable release)
  • Release 1.3

    release17 июня 2024 г.
    • Updated to Minecraft 1.21
    • Fixed resetting some configs by using deep copied value
  • Release 1.2.1

    release24 августа 2023 г.
    • Added boolean argument type back to default arguments
1

Совместимость

Minecraft: Java Edition

Платформы

Поддерживаемые окружения

Клиент и сервер

Сведения

Лицензия:
Опубликован:3 года назад
Обновлён:1 год назад
ID проекта:
Главная