COWMODSКаталог модов
BetterConfig

ВЕРСИИ (37)

release

Release Paper 2.3.0

2.3.0
19 янв. 2025 г.694Minecraft: 1.21paper
Скачать
Что нового
- Greatly improved documentation of `Config` class
release

Release Fabric 2.3.0

2.3.0
19 янв. 2025 г.1,1 тыс.Minecraft: 1.21fabric
Скачать
Что нового
- Greatly improved documentation of `Config` class
release

Release Paper 2.3.1

2.3.1
19 янв. 2025 г.71Minecraft: 1.21paper
Скачать
Что нового
_No relevant changes._
release

Release Fabric 2.3.1

2.3.1
19 янв. 2025 г.129Minecraft: 1.21fabric
Скачать
Что нового
- Replaced `modRuntimeOnly` with `modLocalRuntime` in Fabric Gradle build script
release

Release Paper 2.2.0

2.2.0
15 янв. 2025 г.68Minecraft: 1.21paper
Скачать
Что нового
- Update JavaDoc to clarify that resetting a config does not use the setter - Allow for custom chat representations of config values ([#16](https://github.com/xpple/BetterConfig/pull/16))
release

Release Fabric 2.2.0

2.2.0
15 янв. 2025 г.70Minecraft: 1.21fabric
Скачать
Что нового
- Update JavaDoc to clarify that resetting a config does not use the setter - Allow for custom chat representations of config values ([#16](https://github.com/xpple/BetterConfig/pull/16))
release

Release Paper 2.1.3

2.1.3
14 янв. 2025 г.64Minecraft: 1.21paper
Скачать
Что нового
_No relevant changes._
release

Release Fabric 2.1.3

2.1.3
14 янв. 2025 г.128Minecraft: 1.21fabric
Скачать
Что нового
- Fixed a mixin bug causing a crash with some mods
release

Release Paper 2.1.2

2.1.2
10 окт. 2024 г.100Minecraft: 1.21paper
Скачать
Что нового
- Added the sources JAR to the publication
release

Release Fabric 2.1.2

2.1.2
10 окт. 2024 г.309Minecraft: 1.21fabric
Скачать
Что нового
- Added the sources JAR to the publication
release

Release Paper 2.1.1

2.1.1
9 окт. 2024 г.77Minecraft: 1.21paper
Скачать
Что нового
- Fixed a bug with `ModConfig#resetTemporaryConfigs` that could cause a bug when a config is both `temporary` and `readOnly`
release

Release Fabric 2.1.1

2.1.1
9 окт. 2024 г.75Minecraft: 1.21fabric
Скачать
Что нового
- Fixed a bug with `ModConfig#resetTemporaryConfigs` that could cause a bug when a config is both `temporary` and `readOnly`
release

Release Paper 2.1.0

2.1.0
13 сент. 2024 г.101Minecraft: 1.21paper
Скачать
Что нового
This release introduces two new features and some bug fixes! - Added the `onChange` config attribute ([#10](https://github.com/xpple/BetterConfig/pull/10)). You can now register a function that is called whenever a specific config is updated. For example: ```java @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](https://github.com/xpple/BetterConfig/pull/11)). This allows you to register a global function that is called whenever _any_ config is updated. For example: ```java 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](https://github.com/xpple/BetterConfig/pull/8) by Amirhan-Taipovjan-Greatest-I)
release

Release Fabric 2.1.0

2.1.0
13 сент. 2024 г.167Minecraft: 1.21fabric
Скачать
Что нового
This release introduces two new features and some bug fixes! - Added the `onChange` config attribute ([#10](https://github.com/xpple/BetterConfig/pull/10)). You can now register a function that is called whenever a specific config is updated. For example: ```java @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](https://github.com/xpple/BetterConfig/pull/11)). This allows you to register a global function that is called whenever _any_ config is updated. For example: ```java 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](https://github.com/xpple/BetterConfig/pull/8) by Amirhan-Taipovjan-Greatest-I)
release

Release Paper 2.0

2.0
20 авг. 2024 г.107Minecraft: 1.21paper
Скачать
Что нового
- Added support for Paper servers Depending on your setup, you might have to adjust how the config is initialised: - Fabric clients: ```java new ModConfigBuilder<FabricClientCommandSource, CommandBuildContext>(<mod id>, Configs.class) // ... .build(); ``` - Fabric servers: ```java new ModConfigBuilder<CommandSourceStack, CommandBuildContext>(<mod id>, Configs.class) // ... .build(); ``` - Paper servers: ```java new ModConfigBuilder<>(<plugin name>, Configs.class) // ... .build(); ``` - Added support for server-sided custom argument types - Fabric: ```java dev.xpple.betterconfig.util.WrappedArgumentType ``` - Paper: ```java io.papermc.paper.command.brigadier.argument.CustomArgumentType ``` - Fixed bug where the `reset` subcommand would be available for readonly configs
release

Release Fabric 2.0

2.0
20 авг. 2024 г.163Minecraft: 1.21fabric
Скачать
Что нового
- Added support for Paper servers Depending on your setup, you might have to adjust how the config is initialised: - Fabric clients: ```java new ModConfigBuilder<FabricClientCommandSource, CommandBuildContext>(<mod id>, Configs.class) // ... .build(); ``` - Fabric servers: ```java new ModConfigBuilder<CommandSourceStack, CommandBuildContext>(<mod id>, Configs.class) // ... .build(); ``` - Paper servers: ```java new ModConfigBuilder<>(<plugin name>, Configs.class) // ... .build(); ``` - Added support for server-sided custom argument types - Fabric: ```java dev.xpple.betterconfig.util.WrappedArgumentType ``` - Paper: ```java io.papermc.paper.command.brigadier.argument.CustomArgumentType ``` - Fixed bug where the `reset` subcommand would be available for readonly configs
release

Release Paper 1.3-multi-platform

1.3-multi-platform
20 авг. 2024 г.105Minecraft: 1.21paper
Скачать
Что нового
- Added support for Paper servers (details will follow in the stable release)
release

Release Fabric 1.3-multi-platform

1.3-multi-platform
20 авг. 2024 г.93Minecraft: 1.21fabric
Скачать
Что нового
- Added support for Paper servers (details will follow in the stable release)
release

Release 1.3

1.3
17 июн. 2024 г.600Minecraft: 1.21fabric
Скачать
Что нового
- Updated to Minecraft 1.21 - Fixed resetting some configs by using deep copied value
release

Release 1.2.1

1.2.1
24 авг. 2023 г.2,5 тыс.Minecraft: 1.20.1fabric
Скачать
Что нового
- Added boolean argument type back to default arguments
release

Release 1.2.0

1.2.0
23 авг. 2023 г.130Minecraft: 1.20.1fabric
Скачать
Что нового
- Made non-api packages no longer visible - Rewrote argument registration Consider the below example to see how things have changed. ```diff - .registerTypeWithArgument(Block.class, new BlockAdapter(), new Pair<>(BlockArgumentType::block, BlockArgumentType::getBlock)) + .registerType(Block.class, new BlockAdapter(), BlockArgumentType::block) ```
release

Release 1.1.7

1.1.7
19 авг. 2023 г.119Minecraft: 1.20.1fabric
Скачать
Что нового
- Fixed enum parsing when enum overrides `toString` - Prioritised custom arguments/suggestors over enum check - Fixed crashing on startup when the config is corrupted
release

Release 1.1.6

1.1.6
19 авг. 2023 г.96Minecraft: 1.20.1fabric
Скачать
Что нового
- Added comments - Prevented getting a config being broadcasted on servers - Fixed keys being improperly printed when putting to a map
release

Release 1.1.5

1.1.5
11 июл. 2023 г.269Minecraft: 1.20.1fabric
Скачать
Что нового
- Changed string type to greedy phrase for suggestor based argument types - Fixed config directory not being created on initialisation
release

Release 1.1.4

1.1.4
9 июл. 2023 г.103Minecraft: 1.20.1fabric
Скачать
Что нового
- Disallowed final fields reasons - Allowed custom updaters to be private - Provided (English) fallback translations for servers
release

Release 1.1.3

1.1.3
5 июл. 2023 г.117Minecraft: 1.20.1fabric
Скачать
Что нового
- Fixed config not saving after resetting
release

Release 1.1.2

1.1.2
26 июн. 2023 г.135Minecraft: 1.20.1fabric
Скачать
Что нового
- Made sure config is always saved after first read
release

Release 1.1.1

1.1.1
7 июн. 2023 г.412Minecraft: 1.20fabric
Скачать
Что нового
- Added conditions
release

Release 1.1

1.1
7 июн. 2023 г.90Minecraft: 1.20fabric
Скачать
Что нового
- Updated to Minecraft 1.20
release

Release 1.0.7

1.0.7
3 апр. 2023 г.689Minecraft: 1.19.4fabric
Скачать
Что нового
- Added `reset` and `resetTemporaryConfigs` methods to the API
release

Release 1.0.6

1.0.6
3 апр. 2023 г.79Minecraft: 1.19.4fabric
Скачать
Что нового
- Allowed `private` fields in the configs class - Allowed fields to be `final` for initialisation - Added reset subcommand
release

Release 1.0.5

1.0.5
14 мар. 2023 г.118Minecraft: 1.19.4fabric
Скачать
Что нового
- Updated to Minecraft 1.19.4 - Fix permissions for clients
release

Release 1.0.4

1.0.4
14 февр. 2023 г.201Minecraft: 1.19.3fabric
Скачать
Что нового
- Added feature to disable modifications to a config through commands (`readOnly = true`) - Added feature to prevent loading and saving a config to a file (`temporary = true`)
release

Release 1.0.3

1.0.3
13 февр. 2023 г.82Minecraft: 1.19.3fabric
Скачать
Что нового
- Added support for enums
release

Release 1.0.2

1.0.2
10 февр. 2023 г.98Minecraft: 1.19.3fabric
Скачать
Что нового
- Implemented custom type parameters for update methods
release

Release 1.0.1

1.0.1
8 февр. 2023 г.107Minecraft: 1.19.3fabric
Скачать
Что нового
- Fix unstable warning due to class being marked with `@ApiStatus.Internal`.
release

Release 1.0.0

1.0.0
6 февр. 2023 г.106Minecraft: 1.19.3fabric
Скачать
Что нового
Initial release.