AuxProtect icon

AuxProtect -----

Data Logging and Inventory Recovery




Better logging of serialization error with Purpur 1.21.4
----------, Jan 29, 2025

  • Various bugfixes
----------, Jul 19, 2024

  • Update to 1.21
----------, Jul 18, 2024

  • Improved a:shop logs.
  • Moved action:shop to action:shop_cs, action:shop_sgp, etc. for their respective plugins.
  • Added better prompt for Bedrock players for /claiminv (doesn't require clicking).
  • Added config option SkipRowCount which when set to true will not count rows in the database on startup.
  • Added config option AutoPurge.periodicity which controls how often auto purges are able to be performed.
  • Fixed NPE for JobsListener
  • Added some JUnit tests
  • Added config option for /ap sql (Disabled by default
  • Made errors for /ap inv slightly more accurate
  • Fixed IllegalStateException with maps
  • Fixed "no such table" during purge
  • Made "Overlapping logging windows" message less common.
  • Other minor bug fixes
----------, May 2, 2024

  • Fix NullPointerException from Jobs
----------, Dec 17, 2023

  • Fix IPs not fully redacting from a:session when the user doesn't have permission. [#19]
----------, Nov 26, 2023

  • Fix NullPointerException for unknown TimeZone
  • Fix NullPointerException from CMILib
  • Improved /ap time
  • Improved /ap inventory
  • Improved invalid syntax handling
  • Other minor bugfixes
----------, Nov 18, 2023

  • Fix NullPointerException when assigning SkullMeta
  • Fix NullPointerException for unknown TimeZone during lookups.
----------, Nov 4, 2023

  • Timezones in lookup results are now based on the client's IP address lookup
  • Lowered the default interval for player money logging (a:money)
  • Added a:townbalance and a:nationbalance that log a town's and nation's balance every time it changes.
  • Fixed a:townbank and a:nationbank not logging anything
  • Other minor tweaks and bug fixes
----------, Nov 1, 2023

  • Fix key length errors on InnoDB
  • Added Simplified Chinese [#15] @TsubakiDev
----------, Aug 24, 2023

  • Improved UID purging
  • Improved BusyException handling (It now extends Exception vice RuntimeException)
  • Fixed encoding issues with MySQL/MariaDB
  • More detailed connection errors
----------, Aug 19, 2023

  • Added a:raidtrigger and a:raidspawn to track when players trigger raids and when the individual entities spawn in a raid respectively.
  • Added config option "SanitizeUnicode" which toggles whether to strip strings going into the database of non-standard characters
  • Added action:entity for logging placing/breaking of boats, armor stands, minecarts, and ender crystals.
  • Potential fix for database busy errors.
  • Added hashing for improved username/uuid lookup speed.
----------, Aug 15, 2023

  • Compiled with Spigot 1.20
  • Add a:nametag
  • Improve a:bucket
  • Fixed various language bugs
  • Added more permissions/config to control IP visibility in a:session
  • Added an asterisk argument to `/ap saveinv` to save the inventory of all online players
----------, Jun 8, 2023

  • Add support for Player Auctions
  • Fix language issues
  • Other minor bug fixes
Full Changelog
----------, Apr 29, 2023

  • Hotfix for MySQL initialization error.
(This update is unnecessary if you use SQLite)
----------, Mar 12, 2023

  • Add AnnouncerPlus to loadbefore (To override /ap)
  • Add /aux as an alias for /auxprotect
  • Remove MultiChat support
  • Rewrote database access methods to improve reliability
  • Add a:chat (Logs all chat messages)
  • Add a: pluginload (Logs AuxProtect loading/unloading)
  • Fix language "%s" in command errors
  • Add config option 'disablevacuum' to skip SQLite database vacuuming. Only use this if you experience errors at the end of purges.
  • Improved purge following database migrations
  • Fixed a bug with #money causing crashes
  • Add a null check to Towny listeners
  • Fixes for thorns damage in a:hurt
  • Add a:anvil, craft, enchant, and smith
  • Tab completes multiple actions separated by a comma
  • Adds #radius_horizontal_only which makes the radius: parameter only apply to the X and Z axis. This is how CoreProtect works by default. AuxProtect, by default, checks in a cube.
  • Improved language system
  • Added Russian translations
  • Set autopurge minimum interval from 1h to 12h to decrease frequency
  • Added comments to config.yml
  • [API BREAKING CHANGE] Refactored dev.heliosares.auxprotect.AuxProtectAPI to dev.heliosares.auxprotect.api.AuxProtectAPI
  • Changed #bw to #combine_user_target
  • Other minor bugfixes and improvements
----------, Mar 7, 2023

  • Major reformatting of code
  • Add ajParkour to loadbefore to override /ap
  • Add connection testing for MySQL, fixes timeout errors.
  • Other minor performance improvements/bug fixes
----------, Jan 19, 2023

  • Prevents illegal characters from being written to database
  • Fix encoding issues with lookup results
  • Other minor bug fixes and reformatting
----------, Dec 10, 2022

  • Fixes an experimental feature being inadvertently disabled by default for old config files. This should fix poor performance some are experiencing with 1.2(.1)
----------, Nov 7, 2022

  • Fix issues with MySQL
----------, Oct 31, 2022

This update changes a lot internally. As always, if you have any issues, please bring them to me in Discord.

Added

- Optional differential inventory logging
- Associated command, /ap inventory <player> <time> to open a player's inventory at a specific instant
- Towny implementation
- Recently used usernames now tab complete into lookups
- Jitpack support for API
- Significant API improvements, documentation planned.
- /ap dump, creates a plugin dump and uploads to hastebin. Useful for assisted troubleshooting.

Fixes
- Database access speed significantly improved by adopting better Connection practices
- Server instability issues with previous prereleases
- Certain commands running synchronously when they should be async.
- AuctionHouse language issues
- AuctionHouse logging item data for non-custom items (non-issue, just inefficient)

Removed/Changed
- Database logging on plugin disable. This may lead to minor data loss in the last few seconds of plugin operation, but was causing intermittent zombieing of servers on shutdown.
- Major restructuring of language handling internal to the plugin. Further organization and improvement of language planned.
- Major restructuring of commands, will ease transition for support for platforms like Velocity. (Not currently in progress, but planned)
- Restructuring of lang file, added capability to utilize different languages once available
----------, Oct 29, 2022

  • Fixed the alias `t` for `time` not working correctly
  • Added `ms` as a suffix for millisecond time lookups. (i.e time:1000ms is equivalent to time:1s)
  • Recently used/viewed usernames in lookups will now tab complete in lookup commands.
  • Added an option to skip V6 migration for servers experiencing difficulties with the migration. Contact me on Discord if you are having issues and want to enable this.
----------, Oct 16, 2022

  • Added action:explode - Logs all explosions and their cause
  • Added action:itembreak - Logs when a player breaks an item due to durability AND when an item drop is destroyed.
  • Fixed issues with migrating large databases from 1.1.6 to 1.1.7
  • Fixed issues with MySQL in 1.1.7
----------, Oct 10, 2022

  • Further fixes for MySQL errors.
EDIT: If you have issues with migration, try this development build. If you are still having issues, please contact me on Discord.
----------, Oct 8, 2022

This update is only necessary if you are using MySQL.
  • Fixes a bug with initialization/migration of MySQL. [2]
----------, Oct 8, 2022

**WARNING TO CURRENT USERS**
This update involves major database restructuring. The plugin should create a backup if you use SQLite, but a manual backup is recommended regardless. This migration will take around 1-60 minutes depending on server size. Please contact me on Discord if you have issues.

- Converted inventory logs to be stored in a more raw format. This reduces the overall size of the database by about 10-20%
- Added flag #hide-coords to `/ap l`
- Added flag #count-only to enable counting very large amounts of data, bypassing the 500,000 entry lookup limitation.
- Added `/ap saveinv <player>` to manually save the inventory of a player to `a:inventory`
- Added `/ap backup` (must be executed from console) which creates a backup of the SQLite database in plugins/AuxProtect/database/backups
- Fixed an error with `/ap money` involving money characters other than `$`
- Other minor bug fixes and improvements
- API BREAKING CHANGE: Moved lookup handling to LookupManager#lookup(Parameters). Use this for all lookups.
----------, Oct 7, 2022

  • Updated for ShopGUIPlus 1.78.0
  • Updated for EconomyShopGUI API 1.2.0
  • Fixed lookup bug with "[View Inv]" button on a:kill
  • Fixed plus-minus time lookups
  • Modifications in support of upcoming features.
----------, Aug 2, 2022

  • Added action: tame
  • Added action: lightning
  • Added logging for Jobs Reborn under the action: jobs
  • Added handling for the new jobs action to #count
  • Added the ability to specify a tolerance on time lookups. If you want to, say lookup all entries within 1 hour of 1 day ago, you can do `time:1d+-1h` to lookup 1 day plus or minus 1 hour ago.
  • Improvements to money parsing with #count and in /ap money
  • Fixes for /ap money on 1.19
  • Fixes for command aliases and interference with other plugins
  • Fixes for a: launch when projectiles are shot from blocks
  • Complete xray checker rework in preparation for release in a future update.
  • Fixed lookups for specific times such as 1658792805426e (copied when clicking times in lookups
----------, Jul 26, 2022

  • EXPERIMENTAL Bungee Support
    • The only actions currently logged are username, IP, command, and session. Additionally if you have MultiChat installed, messages will be logged. More additions are planned.
  • Changed JRE to 16 to support also support 1.16.
  • Minor tweaks
----------, Jun 23, 2022

  • IMPORTANT: All actions now have an individual permission node assigned to them for lookups: `auxprotect.lookup.action.<action>`
  • Fixed /ap money for pre-1.19 servers
  • Added additional bStats report for DB version and whether updatechecker is enabled.
  • Other minor tweaks
  • Added a Wiki! Please direct any feedback to the Discord server.
----------, Jun 20, 2022

  • Fixed compatibility parsing for 1.19 error on startup. (Prior versions may not log action:bucket for axolotls on 1.19)
----------, Jun 16, 2022

  • Added lookup parameter: data. This enables you to search by the data at the end of an entry, such as "[CS, ...]" for chestshop logs. You can also use asterisks for wildcard just like you can in target.
  • Added an escape character to use commas in a lookup parameter.
    • Example: "/ap l a:shop data:CS\,*" This would lookup all shop logs with data starting with "CS,"
  • Minor cosmetic changes to search results.
  • Changed the dash between time and user to reflect the state of the action. (i.e + or - instead of just always showing -)
  • Data on kill logs is no longer hidden. (The View Inv button was previously hiding it)
----------, Jun 16, 2022

ATTENTION CURRENT USERS: THIS VERSION CONTAINS MAJOR RESTRUCTURING OF THE DATABASE. A backup should be created automatically, but a manual backup is still recommended. The migration process will occur automatically but is not guaranteed to be bug free. Please contact me via Discord if you encounter issues. The migration process is untested for MySQL and an automatic backup will not be created.
USE WITH CAUTION. DO NOT INTERRUPT MIGRATION.


New Features

  • Updated for 1.19. (Prior versions should still support 1.19)
  • Added action:totem to log when an entity would have died but used a totem of undying.
  • Added action:gamemode to log changes of gamemode.
  • Added the ability to copy user, target, and data by clicking.
  • Added pitch/yaw logging to action: pos (it was there before but now you will be teleported to that pitch/yaw when clicked)
  • Moved teleportation logs from action: pos to a new action, action:tp
  • Added the ability to #count the results of action:drop,pickup
Changes/Bugfixes
  • Major changes to database structure to improve efficiency. Old SQLite databases will be automatically migrated.
  • Removed automatic purging in lieu of more involved and effective purge process. Purge command must be executed manually.
  • action: pos now logs every 3 seconds by default, but only logs if the player has moved since their position was logged last. This is much more efficient when players are standing still and much more useful.
  • Improved cancelled event recognition, some things would be falsely logged if they were cancelled by another plugin.
  • Improvements to phrasing on action:shop data.
  • action:shop money value is now logged as the value of the entire transaction instead of per item.
  • Improvements to work towards public release of Bungee version
  • Debug changes
----------, Jun 12, 2022

  • Added the ability to #count a:.pickup and a:drop
  • Fixed some minor bugs with shop logging
  • Updated dependencies for 1.18.2
----------, Apr 2, 2022

  • Fixed an error when using MySQL logging entries at extreme Y values
  • Fixed a bug involving action:bucket logging additional incorrect entities.
----------, Mar 6, 2022

  • Added support for DynamicShop
  • Fixed an error with loading dependencies under certain conditions.
  • Added telemetry to track usage of dependencies.
----------, Feb 25, 2022

  • Added support for EconomyShopGUI
  • Added telemetry to report whether a server is using MySQL or SQLite. (Part of bStats, option in bStats config)
----------, Feb 24, 2022

----------, Feb 24, 2022

  • Added EXPERIMENTAL support for MySQL. Use at your own risk. Switching to MySQL will not carry over existing data. See default config to learn how to enable.
  • Added action:elytra which logs when a player starts and stops elytra flight.
  • Other minor bug fixes
----------, Feb 21, 2022

  • Fixed support for 1.16
  • Added a pos log to show a player's position immediately after teleporting. target:tele
----------, Feb 14, 2022

  • Added config options for pos, inventory, and money logging intervals. Set to 0 to disable inventory and money periodic logging. See default config to add this to old configs. https://github.com/Heliosares/AuxProtect/blob/main/config.yml
  • Added the option to disable automatic update checking (Please keep you plugins updated <3)
----------, Feb 13, 2022

  • Added /ap stats, shows statistics about database times.
  • Added /ap money to tab completion.
  • Fixed a bug where XP was slightly too high when calculated for a:inventory.
  • Fixed an encoding error in /ap info.
----------, Feb 10, 2022

  • Added bStats metrics. This is completely anonymous, however if you'd like to disable it, you can do so by editing plugins/bStats/config.yml
  • Added /ap l [first | prev | next | last] to allow paging through lookups with macros.
  • Added the ability to copy times in lookups (in epoch time). Useful for the before and after lookup arguments.
  • Minor changes to debug mode.
----------, Feb 9, 2022

  • Added the option to log inventory on world change, disabled by default. Must be enabled in config under Actions.inventory.WorldChange. There will only be an entry made if the inventories are different. The inventory is logged before and after world change.
  • Fixed an encoding issue with /ap playtime
----------, Feb 8, 2022

  • Added an automatic update checker.
----------, Feb 6, 2022

  • Configured plugin for Maven.
  • Various minor bugfixes.
----------, Feb 6, 2022

Resource Information
Author:
----------
Total Downloads: 4,636
First Release: Jan 12, 2022
Last Update: Jan 29, 2025
Category: ---------------
All-Time Rating:
14 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings