Skip to content

Restore rental time left#3

Open
AlexanderTrysMine wants to merge 2 commits intoMCCitiesNetwork:mainfrom
AlexanderTrysMine:restore-rental-time-left
Open

Restore rental time left#3
AlexanderTrysMine wants to merge 2 commits intoMCCitiesNetwork:mainfrom
AlexanderTrysMine:restore-rental-time-left

Conversation

@AlexanderTrysMine
Copy link
Copy Markdown

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.

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