BetterConfig

BetterConfig

Mod

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

Client or server LibraryManagementStorage

1,817 downloads
8 followers
Createda year ago
Updated16 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter versions...

Release 1.3

by xpple on Jun 17, 2024
Download
  • Updated to Minecraft 1.21
  • Fixed resetting some configs by using deep copied value

Release 1.2.1

by xpple on Aug 24, 2023
Download
  • Added boolean argument type back to default arguments

Release 1.2.0

by xpple on Aug 23, 2023
Download
  • Made non-api packages no longer visible

  • Rewrote argument registration

    Consider the below example to see how things have changed.

    - .registerTypeWithArgument(Block.class, new BlockAdapter(), new Pair<>(BlockArgumentType::block, BlockArgumentType::getBlock))
    + .registerType(Block.class, new BlockAdapter(), BlockArgumentType::block)
    

Release 1.1.7

by xpple on Aug 19, 2023
Download
  • Fixed enum parsing when enum overrides toString
  • Prioritised custom arguments/suggestors over enum check
  • Fixed crashing on startup when the config is corrupted

Release 1.1.6

by xpple on Aug 19, 2023
Download
  • Added comments
  • Prevented getting a config being broadcasted on servers
  • Fixed keys being improperly printed when putting to a map

Release 1.1.5

by xpple on Jul 11, 2023
Download
  • Changed string type to greedy phrase for suggestor based argument types
  • Fixed config directory not being created on initialisation

Release 1.1.4

by xpple on Jul 9, 2023
Download
  • Disallowed final fields reasons
  • Allowed custom updaters to be private
  • Provided (English) fallback translations for servers

Release 1.1.3

by xpple on Jul 5, 2023
Download
  • Fixed config not saving after resetting

Release 1.1.2

by xpple on Jun 26, 2023
Download
  • Made sure config is always saved after first read

Release 1.1.1

by xpple on Jun 7, 2023
Download
  • Added conditions

Release 1.1

by xpple on Jun 7, 2023
Download
  • Updated to Minecraft 1.20

Release 1.0.7

by xpple on Apr 3, 2023
Download
  • Added reset and resetTemporaryConfigs methods to the API

Release 1.0.6

by xpple on Apr 3, 2023
Download
  • Allowed private fields in the configs class
  • Allowed fields to be final for initialisation
  • Added reset subcommand

Release 1.0.5

by xpple on Mar 14, 2023
Download
  • Updated to Minecraft 1.19.4
  • Fix permissions for clients

Release 1.0.4

by xpple on Feb 14, 2023
Download
  • 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 1.0.3

by xpple on Feb 13, 2023
Download
  • Added support for enums

Release 1.0.2

by xpple on Feb 10, 2023
Download
  • Implemented custom type parameters for update methods

Release 1.0.1

by xpple on Feb 8, 2023
Download
  • Fix unstable warning due to class being marked with @ApiStatus.Internal.

Release 1.0.0

by xpple on Feb 6, 2023
Download

Initial release.


Project members

xpple

Owner


Technical information

License
LGPL-3.0-or-later
Client side
optional
Server side
optional
Project ID