Skip to content

Server - #404

Closed
ShortByte wants to merge 12 commits into
QuiltServerTools:masterfrom
ShortByte:server
Closed

Server#404
ShortByte wants to merge 12 commits into
QuiltServerTools:masterfrom
ShortByte:server

Conversation

@ShortByte

Copy link
Copy Markdown

No description provided.

Leon Enneken and others added 12 commits September 27, 2026 16:30
Inventory#dropAll and EntityEquipment#dropAll spawn the death drops
directly via Level#addFreshEntity instead of going through Player#drop,
so they were never logged. Hook both and log them as regular item drops.
Each result line read from the database gets a clickable [R] that rolls
back just that action. The click is handled server-side and re-checks
the ledger.commands.rollback permission.
Items that reach the end of their lifetime are now logged as item-despawn
with the source @DeSpawn. Rolling one back respawns the item with its age
reset, so it does not despawn again on the next tick; restoring removes
it again.
Rolling back item-despawn actions now needs
ledger.commands.rollback.item-despawn (default level 4). Without it,
despawns are excluded from rollbacks and rollback previews, and asking
for action:item-despawn explicitly fails with an error.
# Conflicts:
#	src/main/resources/data/ledger/lang/de_de.json
#	src/main/resources/data/ledger/lang/en_us.json
When a player's tool, weapon or worn armor runs out of durability it is
logged as item-break. Rolling it back drops the item where it broke with
one durability left; restoring removes it again.
# Conflicts:
#	docs/actions.md
#	src/main/kotlin/com/github/quiltservertools/ledger/actionutils/ActionFactory.kt
#	src/main/kotlin/com/github/quiltservertools/ledger/registry/ActionRegistry.kt
#	src/main/resources/data/ledger/lang/de_de.json
#	src/main/resources/data/ledger/lang/en_us.json
@ShortByte
ShortByte requested a review from a team as a code owner October 14, 2026 19:38
@ShortByte ShortByte closed this Oct 14, 2026
@ShortByte
ShortByte deleted the server branch October 14, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant