- 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
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }