Releases: TheoBong/PunishmentsX
Released wrong version of file
UUID Security Fix
This release is a hotfix for an issue with name-related DB queries that would be broken if a player changed their name.
Config changes: 3ba9f8f#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c
This update is highly recommended to download.
Fixed minor bug.
Fixed minor bug with redundant profile add IP.
Just a console output, not gamebreaking.
Major Configuration Changes & Bug Fixes
HIGHLY RECOMMENDED FOR UPGRADING:
Rename your config.yml file to "config-old.yml" and allow for fresh generation of config.yml and messages.yml.
After this, you can copy/paste things from your old config between the new config and messages files.
Change Log
- Added reload command, "/pxreload" - reloads the message.yml
- Added permission for reload in messages.yml
- Created a message.yml and took messages, permissions, and menus out of config.yml
- Minor bug fixes with offline player punishments (SQL).
Manual Permissions Addition + Java 17 fix
- Fixed console spam bug occurring in Java 17/Minecraft 1.18.1 paperspigot versions.
- Removed the config option: "PERMISSIONS.MANUAL"
- Added config options:
- "PERMISSIONS.MANUAL_BAN"
- "PERMISSIONS.MANUAL_MUTE"
- "PERMISSIONS.MANUAL_WARN"
- "PERMISSIONS.MANUAL_KICK"
- "PERMISSIONS.MANUAL_BAN"
Config additions, additions to pardon prompt, hotfix to mariadb
If you use MySQL or SQLite, you need to reset your database to support new update.
- Added pardon prompt configurability.
- Changed SQL time saving into longtext formatting (millis).
- Made database selection in config not case sensitive
Misc changes
- Added all hover variables to broadcast message (%duration%, %silentPrefix%, %expiry%, and %reason%)
- Removed debug messages from spamming console
- Added permission for bypassing filter
- Added permissions for seeing each punish menu entry.
It is recommended to reset config this update.
Config changes: Click Here
History Prompts, Database code cleanup, Misc code cleanups
- Added prompt to pardon players in history menu.
- Cleaned up database code and added abstraction layer
- Cleaned up other parts of the code.
Hotfix - Lower versions have major bugs
The plugin is basically broken in versions prior to this one.
- Fixed issue with MySQL not working.
- Fixed issue with data not saving after restart.
- Minor optimizations and code cleanups
This update is a bit rushed, will do a full code cleanup/rewrite a decent majority of the data handling in the plugin in the next update. The next update will also include Anti-Ban Evasion with SQL.
Quick change to plugin.yml
- Removed api-version from plugin.yml