Skip to content

Release 2.0

Compare
Choose a tag to compare
@xpple xpple released this 20 Aug 15:13
· 16 commits to master since this release
  • 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