Skip to content

Restore rental time left - #3

Merged
md5sha256 merged 3 commits into
MCCitiesNetwork:mainfrom
AlexanderTrysMine:restore-rental-time-left
Apr 3, 2026
Merged

Restore rental time left#3
md5sha256 merged 3 commits into
MCCitiesNetwork:mainfrom
AlexanderTrysMine:restore-rental-time-left

Conversation

@AlexanderTrysMine

Copy link
Copy Markdown
Contributor

Hey gamers,

This PR just adds back a readable “time left” display for rentals using the lease end date the plugin already stores.

So instead of only showing:
endfoundation-04

it’ll show something like:
endfoundation-04 (12d 3h 5m)

It also adds the same time-left value to /realty info, and exposes it as a reusable placeholder so signs/profiles can show it too.

It’s mostly a display/quality-of-life PR. The only real implementation compromise is that the list command now does an extra lease lookup for each rented

Not sure if this is something you planned already to add but its a feature I really liked.

@md5sha256
md5sha256 force-pushed the restore-rental-time-left branch from 8348374 to a3570f0 Compare April 3, 2026 12:15
@md5sha256
md5sha256 merged commit 611d86b into MCCitiesNetwork:main Apr 3, 2026
1 check passed
@md5sha256

Copy link
Copy Markdown
Collaborator

Thanks!

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.

2 participants