Sueta

Sauron - Dupe preventer [1.12 - 1.20.6]

1.3

Anti-dupe, item-tracking & item-blacklister plugin [FOSS]

·Plugin
  1. 1.3latestAdded 1.20.6 support / Fixed Illegal items trackingJun 17, 2024
    Sauron now supports versions from 1.12 to 1.20.6 included. The main API has been changed from SafeNBT to NBT-API. Fixed illegal items tracking. As planned, you can now define groups of items that will be cleared when scanned by the plugin.
    2 downloads
  2. 1.2.2Added verbose option for console logs and fixed a bug where items didnt get properly updatedApr 13, 2024
    Added a verbose-level option in config: That ranges from HIGH to NONE. It only controls console outputs. Fixed a major bug in TrackedItem#update(). Items sometimes didnt get updated item-side but were database-side, which was causing items to get clear at the next lookup. The method was executed on the wrong thread and was trying to access Bukkit's AP. Improved performances by fixing Tracker#updateInventorySafely() method (it was shit). The plugin don't appear anymore on spark's profiler.
    31 downloads
  3. 1.2Major update - Optimization, bugfix, new features, server crash handlingMar 31, 2024
    Great optimization of the plugin Basically, the plugin uses 5-10x less RAM/CPU than before. · SafeNBT is now directly included inside the .jar without needing it on your server. .SpoilerTarget">Spoiler The API has been a bit modified to avoid using reflection which improved a lot the performances. · Checked inventories are now saved and wont be updated before x seconds (configurable) Fixed plugins incompatibilities Plugins like auctions plugins, inventory/enderchest plugins wont cause any incompatibility now. .SpoilerTarget">Spoiler Changed the Tracker listener from OpenInventoryEvent to PlayerInteractEvent. Opening an Auctions menu was leading to a lot of bugs. More generally, Sauron should never looks up "fakes" inventories like crates or offline players inventories. Be careful with that. Added server's crash handling If you server just crashed and players' item got rollback, Sauron will be triggered and items will be cleared. Use /sauron crash <timestamp1 <timestamp2> where timestamp1 is the time to which the server has been rollbacked and timestamp2 is the date of the crash. More generally, use this command to whitelist intervals of time where duped items are allowed. .SpoilerTarget">Spoiler When a server crash, items are rollbacked to a previous state, meaning that their sauron_timestamp will be rollbacked to, but the database timestamp won't be. Event if the item is not duped, the plugin won't be able to tell the difference and will trigger a clear. The command allows to whitelist intervals of time where the plugin will allow those dupes to survive. If an item is in fact really dupe and there are another versions of it on the server, those versions will be cleared as soon as they'll be looked AND they'll be out of the range of the new whitelisted interval. Added Item blacklister design groups of item that have to be cleared Using the same syntax as tracking rules, you can now design rules to automatically clear some items. .SpoilerTarget">Spoiler Since Sauron is kinda heavy and performs checks all the time, I though it would be an idea to add this (it will be less heavier that adding another plugin that checks everything too) Added config options The settings configuration now looks like this: Code (YAML): settings : ## Does the plugin should automatically updates all players' inventory ? If yes, at which rate between a general lookup, at which rate between each player, and at which rate between items in their inventories ? automatic-inventory-updating: enabled : true delay-between-checks : 300 delay-between-players : 2 delay-between-items : 0.5 ## Should the database store items' base64 data ? WARNING: can be heavy save-item-data : false ## at which rate (in seconds) should the plugin update item's timestamp, when held in hand by a player? in-hand-update-interval : 10 ## If a container already has been checked within that interval, won't check it again. container-update-interval : 10 track-stacked-items : false clear-stacked-items : true Improved logging system It's still shit but now at least you have the database timestamp and item's timestamp on the log. more easy to understand how dupe got there.
    32 downloads
  4. 1.1Improved containers updatingMar 26, 2024
    If a container is full of duplicated object, they will now all be cleared properly (one by one with a little time, to avoid performance issues & to avoid some of them getting through the plugin). The plugin will now try several method to find the player responsible of items' clear eg if a player open a chest/EC full of dupe items, the responsible will be the player that opened the chest
    21 downloads
  5. 1.0Added configuration options and fixed an access to Database even wasnt enabled in configMar 24, 2024
    · Added a configuration section : automatic-inventory-updating: enabled: true delay-between-checks: 300 delay-between-players: 2 delay-between-items: 0.5 To configure more parameters of the automatic players checking. · Fixed unappropriated Database access: Even with Database option OFF, the plugin was trying to connect (in TrackedItem#update method)
    26 downloads

Similar projects

Plugin →