Open iKiba opened 1 month ago
I have no plans to support the lease.
I can accept a commission or a pull request.
Below are some advices for anyone want to implement the feature. Add a nullable duration to the claim trader. When trading, if the duration isn't null. Don't transfer owner to the buyer. Claim the chunk with the buyer and recording a timestamp that point to the end time on the block entity/trader data. Compare the timestamp with "now" in block entity ticking. Re-claim the chunk to the trader owner if outdated. If there is a timestamp in data. Avoiding any others besides the chunk owner (buyer) to interact with it. So that the chunk owner can reset the timestamp.
Hello, a feature suggestion
A second block that adds time based ownership of a chunk, if a fee is not paid within the time-frame the chunk becomes available to purchase again by another user or defaults back to the chunks original owner
once the fee is paid the timer resets back to whatever the setup time is within the blocks settings, this fee will always need to be paid to reset the timer.