Bug fixes:
- Fixed incorrect placeholder pattern
- Fixed a crash on 1.19.3
- Fixed wrong bundled dependencies on some versions
For users:
- Improved mod metadata
- Improved the version jars
- 1.18 supports 1.18 and 1.18.1
- 1.19 supports 1.19, 1.19.1, 1.19.2 and 1.19.3
- 1.20 supports 1.20 and 1.20.1
- 1.20.2 supports only 1.20.2
- 1.20.3 supports 1.20.3 and 1.20.4
- 1.20.5 supports 1.20.5 and 1.20.6
- 1.21 supports 1.21 and newer, until Mojang releases a version that breaks something
- Support roles as text, like
@Twitch sub
- Major changes to the entries config
- Changed config version to 2
- Added automatic config updater to migrate from older config versions
- Renamed all config entries to use
snake_case
instead ofcamelCase
- Changed how entry types are named, they now use identifiers
namespace:path
- Renamed the
TEAM
entry toautowhitelist:team
- Renamed the
COMMAND
entry toautowhitelist:execute_command
- Renamed the
WHITELIST
entry toautowhitelist:whitelist
- Renamed the
LUCKPERMS_PERMISSION
entry toautowhitelist:luckperms/permission
- Renamed the
LUCKPERMS_GROUP
entry toautowhitelist:luckperms/group
- Renamed the
- Renamed
addCommand
andremoveCommand
onautowhitelist:execute_command
- Renamed
addCommand
toon_add
- Renamed
removeCommand
toon_remove
- Renamed
- Renamed
team
onautowhitelist:team
toassociate_team
- Moved type dependent fields to an
execute
object - Removed
onLogin
, it can be replaced with a simple datapack and that approach also works better
For developers:
- Refactored the entries class names
- Changed how entries are encoded and decoded, they now use Codecs
- Changed how entries are registered, they now use Identifiers and Codecs
Support for multiple versions
AutoWhitelist will now provide support for multiple Minecraft versions, currently those being 1.18 and newer
Minecraft commands
- The dump command has been improved, detecting more mod loaders
- Removed the
/autowhitelist info
command
Slash commands
AutoWhitelist now supports slash commands, which are a more user-friendly way to interact with the bot
Text commands are still supported, but they are now deprecated and will be removed in a future version
Discord commands
With the support for slash commands, the bot command manager and response has been modified, and as for now, the debug commands are not implemented
- The
status
command has been removed - The
serverstatus
command has been removed - The
ping
command has been removed - The development only
test
command has been removed - The
register
command response and behavior has been modified - Added
/info
, only available as a slash command
The /info
command
The /info
command is a new command that shows the information about your whitelist entry,
it also allows you to remove your entry from the whitelist
The register
command
The register
command has been modified to have the response in a single message instead of multiple messages,
if you are unregistered it behaves the same as before, but if you are already registered, it will change the username
(if you are not under cooldown)
The registration lock
The registration lock is a new feature that prevents users from changing their username too frequently, it is set to 1 day by default, and it can be changed in the configuration file
The lock configuration
The registration lock takes the time as text, with the following format:
Symbol | Time Unit |
---|---|
y |
Years |
M |
Months |
w |
Weeks |
d |
Days |
h |
Hours |
m |
Minutes |
s |
Seconds |
Example: 1M3w2d5h
means 1 month, 3 weeks, 2 days and 5 hours
1M 3w 2d 5h
is also valid
Spaces and other characters are ignored
Symbol | Effect |
---|---|
-1 |
Infinite |
0 |
Disabled |
<timeunit> |
Calculated time from above |
Setting the lock to -1
will make it infinite, and setting it to 0
will disable it
Configuration changes
The configuration file has been modified to support the new features, the old configuration file is compatible with the new version and will be updated automatically
Migrating from AutoWhitelist for Snapshots
If you were using AutoWhitelist for Snapshots, the mod will automatically migrate your configuration file to the new format
The configured messages will not be automatically migrated, please refer to the description to see how to customize the messages
- Removed the
status
/info
command, please use a better performance debugging alternative like Spark (Awakened Redstone) - Added support for the
@everyone
role (csm-kb) [PR #27] [Fixes: #24]- To add the
@everyone
role right-click your server icon and selectCopy Server ID
, that is the ID for the role, to get the server ID you must have developer mode enabled
- To add the
- Improved the
/autowhitelist dump
command- Improved the output of the command to contain more information
- Added a new
config
option to the command (/autowhitelist dump config
) to dump the current configuration to a file, the clientId, serverId and token are removed from the output