BetterConfigСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачать
ВЕРСИИ (37)
release
Release Paper 2.3.0
2.3.019 янв. 2025 г.694Minecraft: 1.21paper
Что нового
- Greatly improved documentation of `Config` class
release
Release Fabric 2.3.0
2.3.019 янв. 2025 г.1,1 тыс.Minecraft: 1.21fabric
Что нового
- Greatly improved documentation of `Config` class
release
Release Paper 2.3.1
2.3.119 янв. 2025 г.71Minecraft: 1.21paper
Что нового
_No relevant changes._
release
Release Fabric 2.3.1
2.3.119 янв. 2025 г.129Minecraft: 1.21fabric
Что нового
- Replaced `modRuntimeOnly` with `modLocalRuntime` in Fabric Gradle build script
release
Release Paper 2.2.0
2.2.015 янв. 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.015 янв. 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.314 янв. 2025 г.64Minecraft: 1.21paper
Что нового
_No relevant changes._
release
Release Fabric 2.1.3
2.1.314 янв. 2025 г.128Minecraft: 1.21fabric
Что нового
- Fixed a mixin bug causing a crash with some mods
release
Release Paper 2.1.2
2.1.210 окт. 2024 г.100Minecraft: 1.21paper
Что нового
- Added the sources JAR to the publication
release
Release Fabric 2.1.2
2.1.210 окт. 2024 г.309Minecraft: 1.21fabric
Что нового
- Added the sources JAR to the publication
release
Release Paper 2.1.1
2.1.19 окт. 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.19 окт. 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.013 сент. 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.013 сент. 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.020 авг. 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.020 авг. 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-platform20 авг. 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-platform20 авг. 2024 г.93Minecraft: 1.21fabric
Что нового
- Added support for Paper servers (details will follow in the stable release)
release
Release 1.3
1.317 июн. 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.124 авг. 2023 г.2,5 тыс.Minecraft: 1.20.1fabric
Что нового
- Added boolean argument type back to default arguments
release
Release 1.2.0
1.2.023 авг. 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.719 авг. 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.619 авг. 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.511 июл. 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.49 июл. 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.35 июл. 2023 г.117Minecraft: 1.20.1fabric
Что нового
- Fixed config not saving after resetting
release
Release 1.1.2
1.1.226 июн. 2023 г.135Minecraft: 1.20.1fabric
Что нового
- Made sure config is always saved after first read
release
Release 1.1.1
1.1.17 июн. 2023 г.412Minecraft: 1.20fabric
Что нового
- Added conditions
release
Release 1.1
1.17 июн. 2023 г.90Minecraft: 1.20fabric
Что нового
- Updated to Minecraft 1.20
release
Release 1.0.7
1.0.73 апр. 2023 г.689Minecraft: 1.19.4fabric
Что нового
- Added `reset` and `resetTemporaryConfigs` methods to the API
release
Release 1.0.6
1.0.63 апр. 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.514 мар. 2023 г.118Minecraft: 1.19.4fabric
Что нового
- Updated to Minecraft 1.19.4
- Fix permissions for clients
release
Release 1.0.4
1.0.414 февр. 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.313 февр. 2023 г.82Minecraft: 1.19.3fabric
Что нового
- Added support for enums
release
Release 1.0.2
1.0.210 февр. 2023 г.98Minecraft: 1.19.3fabric
Что нового
- Implemented custom type parameters for update methods
release
Release 1.0.1
1.0.18 февр. 2023 г.107Minecraft: 1.19.3fabric
Что нового
- Fix unstable warning due to class being marked with `@ApiStatus.Internal`.
release
Release 1.0.0
1.0.06 февр. 2023 г.106Minecraft: 1.19.3fabric
Что нового
Initial release.