BetterConfig

BetterConfig

Mod and plugin

A very powerful and easy to use command based configuration library for servers and clients.

Client or server LibraryManagementStorage

2,884 downloads
7 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Release Fabric 2.0

Changelog

  • 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

Files

betterconfig-fabric-2.0.jar(49.93 KiB) Primary Download

Project members

xpple

Owner

Details

Licensed LGPL-3.0-or-later
Published 2 years ago
Updated 7 days ago