NoDespawn-OG
A sophisticated fork of NoDespawn made for TrueOG Network designed to replace closed-source ClearLag plugins and SaveDeathDrops.
Target
Purpur 1.19.4
Authors
BadPylot, NotAlexNoyle.
Features
-
Change the amount of time it takes for dropped items to despawn.
-
Chat warnings for when dropped items are soon to despawn.
-
Stop player death piles, including their experience orbs, from despawning, or change the amount of time it takes for them to despawn.
-
Anti-abuse measures to stop players from using death piles and their experience orbs to create lag machines.
-
Clear dropped items and experience orbs with an in-game command (/clearentities), while preserving protected death piles.
-
See how much time is left until entity cleanup with an in-game command (/cleanupin).
Permissions
Clear dropped entities with a command (/clearentities):
nodespawnog.clearentities
See how much time is left until entity cleanup (/cleanupin):
nodespawnog.cleanupin
Building
./gradlew build clean eclipse
The resulting .jar file will be in build/libs/
Running the plugin on your server requires Utilities-OG to be installed alongside it.
Changelog
Version 4.1:
-
Death pile experience orbs now inherit the same pile ID, owner, and despawn timing as the items in their death pile.
-
Death pile protection now counts protected experience orbs toward the same per-player-per-chunk anti-abuse limits as death pile items.
-
Entity cleanup and /clearentities now preserve death pile experience orbs and remove non-death-pile experience orbs alongside dropped items.
Version 4.0:
-
Migrated from NBT-API to a PersistentDataContainer implementation that works reliably on 1.19.4.
-
Added per-player-per-chunk death pile limiting to prevent death piles from being used as a lag weapon.
-
Added /clearentities to instantly clear non-death-pile dropped items in all loaded chunks.
-
Added automatic "entity cleanup" for loaded chunks every 30 minutes with in-game countdown warnings.
-
Improved how item despawn timing is tracked.
-
Performance optimizations.
Version 3.0:
-
Setting the age now applies to all items.
-
Added more logic for persistence.
-
Added support for human readable time format.
Version 2.1:
-
Fixed NBT-API import in gradle.
-
Normalized formatting and indentation.
-
Fixed and enhanced despawn time settings.
Version: 2.0:
-
Adopted GPLv3.
-
General refactor.
-
Migrated from maven to gradle.
-
Updated NBT-API.
-
Fixed class object passing.
-
More efficient entity check.
Licensed under the GPLv3.
