Additions
- Added new helper extension functions to
FcText
.MutableText#command
cleanly defines a Run Command click actionMutableText#tooltip
adds a hovered tooltip to textMutableText#underline
underlines the textMutableText#bold
bolds the textMutableText#italic
italicizes the textMutableText#strikethrough
strikes through the textMutableText#colored
colors the text with any RGB colorAny#transSupplied
translates the receiver, with a supplied fallback literal if necessary. Useful if the fallback is computationally intensiveAny#descSupplied
describes the receiver, with a supplied fallback literal if necessary. Useful if the fallback is computationally intensive
- Added new
Translation
annotation. Yet another way to translate your in-game config settings!- If applied to a config, section, or object, all the settings within will use the prefix provided in their translation keys instead of the normal class-path based one.
- If applied to a setting, that setting will use the specified prefix. It can also be used to turn off translation for a setting if you want the normal translation scheme to apply for all settings except the negation-annotated ones.
- With a prefix, your settings will have a lang key of
prefix.[fieldName]
andprefix.[fieldName].desc
. This applies to all instances of the field, so repeating units of the same setting will share a lang key!
- Added new "Not in Game" uneditable setting to better show that you need to connect to a world to access it.
- Added new client commands that technically can be used in-game or for other purposes. Mostly they are "internal" for use with the changed action messages.
/fzzy_config_restart
shuts down the client/fzzy_config_leave_game
disconnects you from the current game and returns you to the proper title screen./fzzy_config_reload_resources
reloads resources (F3+T)
Changes
- Action chat messages now include a click event with commands corresponding to the needed action (
RELOG
will have a leave game click action, and so on)
Fixes
- Config screens properly understand when you are not in a game, or when the config is client-only. Configs accessed outside a game should more accurately display the settings you have access to
- Documentation mod links point to the mod pages now instead of the Modrinth/CF homepage.
- Fixed missing docs and
@JvmStatic
forConfigApi#network
Additions
- None
Changes
- None
Fixes
- Config screens are registered to the mod list screen as they should be.
Additions
- None
Changes
- None
Fixes
- Got the Networking API (and pretty much everything else internally) working for real
- Config screens are registered to the mod list screen as they should be.
Additions
- None
Changes
- None
Fixes
- Config screens are registered to the mod list screen as they should be.
Additions
- Created new networking API for facilitating cross-platform play phase networking.
- added new
configure_update list
command to list the current quarantined updates, to help get the proper id names now that the argument for the command is a simple string.
Changes
- The
configure_update
command now uses a string argument to avoid needing to serialize a custom argument. Fzzy config should work with vanilla clients again.
Fixes
- None
Additions
- Created new networking API for facilitating cross-platform play phase networking.
- added new
configure_update list
command to list the current quarantined updates, to help get the proper id names now that the argument for the command is a simple string.
Changes
- The
configure_update
command now uses a string argument to avoid needing to serialize a custom argument. Fzzy config should work with vanilla clients again.
Fixes
- Fixed forge 1.20.1 not actually initializing properly
Additions
- Added
@WithCustomPerms
and@AdminLevel
for definition of user permissions using LuckPerms/Forge Permissions API "Node" style permissions- Added new update quarantine. If an update is suspect, Fzzy Config will quarantine it instead of applying it or outright deleting it. Admins will be notified and have the opportunity to inspect it with a new
/configure_update
command, accepting or denying the update as needed.
- Added new update quarantine. If an update is suspect, Fzzy Config will quarantine it instead of applying it or outright deleting it. Admins will be notified and have the opportunity to inspect it with a new
- Added new
@RequiresAction
annotation that supplants the functionality of the now-deprecated RequiresRestart- RESTART - same functionality from RequiresRestart
- RELOG - prompts the user to disconnect and reconnect from the world or server
- RELOAD_BOTH - prompts a reload of both datapacks and resource packs
- RELOAD_DATA - prompts a reload of datapacks
- RELOAD_RESOURCES - prompts a reload of resource packs
- New icons for the new Actions alert system that will appear on the left side of the config, replacing the one "!" symbol
- Added
ValidatedString#fromValues
for creation of a Validated string with a vararg set of allowable strings, no list wrapper needed.
Changes
- Deprecated
@RequiresRestart
- Permission checks are better at ignoring single player games.
- Tooltips for required actions are now presented when hovering over the icons themselves, rather than as a header in the main setting tooltip. The tooltip when using keyboard navigation now appends action alerts after the setting description, not before, to avoid having to sit through a bunch of alerts before learning what the setting even does.
- Internally refactored all fabric-related code into common access points.
- If a setting forward fails, Fzzy Config now alerts the sender of the problem.
- Removed environment annotations. Modders pay attention to your source sets! This is to facilitate multiloader more effectively.
- Updated or tweaked KDoc in many places
Fixes
ValidatedChoice
now properly updates its tooltip after each selection change.- Added
ConfigApiJava
into the most recent versions. - Added missing widget and translationProvider optional parameters in
ValidatedSet#toChoices