
Implementation of a device or feature that automatically makes payments at regular intervals
nicoQURO opened this issue · 8 comments
Lightman's Currency Version
1.20.1_v2.2.4.1
Is your feature request related to a problem?
Lack of appropriate features for ongoing commercial transactions such as rent and subscription services.
Describe the solution you'd like
Two methods are proposed
- Implement a feature that allows tickets to be issued that automatically expire after a certain period of time.
This would allow for the purchase of rights with a time limit.
2.Implement a device or function where payment is made from a bank account at regular intervals.
Set the price by the day or by the hour, like a salary for a team function.
This can be handled more easily than the above, but may be too flexible.
Describe alternatives you've considered
We tried using LCTech's Energy Trader and using the team function payroll, but the implementation was complicated and required lengthy explanations.
Additional context
No response
This is just an idea, but I believe it would be possible to create a time-limited pass by incorporating a durability system into the pass, causing it to decrease over time.
(In that case, enchantments would need to be prevented.)
This is merely a suggestion, and if it does not align with the concept of the mod, please feel free to close it as "not planned."
I apologize for taking up your valuable time.
This is just an idea, but I believe it would be possible to create a time-limited pass by incorporating a durability system into the pass, causing it to decrease over time.
The issue here isn't how to make it work code-wise, the issue here is I don't know how you want the system that your asking for to work at all. I could make it so that you can slap a timer on the pass no-problem, but even then you'd still have to manually go to every trader that sells said passes every rent cycle and replace every pass being sold with one that will last longer, and at that point you're right back to square one with having to manually swap out the passes again with no actual improvement being made.
Possible Existing Solution:
Depending on the context a Paygate might do what you need here, as it can be set up to send out a redstone signal after consuming a ticket. If you can find some way to make said signal reset a timer that lasts however long you want (i.e. short pulse triggers a mechanism that opens the gate into the place they're renting for 1 singular day) then you can simply either have the paygate sell the "trigger" for the amount of money you want them to pay, or sell the tickets that will trigger said paygate elsewhere (such as at a Ticket Kiosk) and then have the paygate take the tickets.
You could also take advantage of the "Player Trade Limit" trade rule to keep them from breaking the redstone mechanisms by only allowing them to purchase the redstone trigger once every X days, etc.
Feature Request Conversation:
Assuming the above isn't a viable solution, what exactly would you be looking for here. It is theoretically possible that I could add a system to the ATM that lets you schedule automatic money transfers to another player or teams bank account with similar setup to the Team's Salary system, but other than that what more would you want from said system. Cause at the moment there'd be no way to have said automatic transfer actually do anything in the world, so it'd still be a fairly manual system where you'd have to go and check your bank account logs to confirm that all of your tenants have actually paid their rent.
TLDR: Theoretically possible, but please be more specific. I need exact details of what you want and why you want it. Just a simple "automatic payments please" doesn't do much for me unless that's literally all you want, and even that wouldn't do much that you can't already do manually from the ATM's money transfer tab.
Thank you for your response.
I apologize for my poor English, as I am not very proficient in it.
Regarding the ticket system, I think it would be convenient to have a function similar to a season pass. For example, an item that allows free passage through the pay gate for a certain period after a single payment.
Additionally, if possible, having an automatic renewal feature for the ticket would make it closer to real-world systems. If the balance is insufficient and the payment fails, the renewal would not be processed, and the ticket would expire. This way, the rights would be automatically revoked, eliminating the need to check account logs.
I mean, you could just sell them a "Pass" instead of a ticket. They function more or less the same except the pass doesn't get consumed by the paygate so they can use it indefinitely. Then you just need to go in every "season", change which pass the paygate accepts and make them buy a new pass to use on the paygate. You can find the full details of how tickets work on the wiki here.
Thank you.
When using a pass, for example, if we want to offer something like "Unlimited facility use for 3 days after purchase," we would need to prepare passes for each customer or for the number of days and update them daily.
If this system is applied to multiple facilities, such as train stations, it would require daily settings for each station/facility. This would be very time-consuming.
I understand that managing the purchase time makes these ideas challenging. However, time-limited access rights have been highly requested on my server, so if this could be implemented, I would be extremely happy.
But how exactly would want time-limited access rights to be implemented? Given the way that tickets & passes are crafted it's not really plausible to give them such time-limited functionality. Honestly what you're asking for sounds to me like it should be a completely seperate mod in and of itself (that or an addon/bonus feature of some other mod that adds lockable doors and/or land claiming), not a feature that needs to be added to mine.
My mod is mostly intended to be a baseline currency mod with the main features being the ability to gain money and safely buy or sell items to other players. Anything significantly more complex than that should be relegated to either an addon mod or simple player management/interactions.
The only thing I could feasibly do that fits the theme of my mod is to make an expanded version of the auto-salary feature for teams but without the team restriction, allowing you to make an auto-payment from any bank account you can access to any other player and/or teams bank account. But I doubt that would solve your issue as it'd have no actual feedback in the world, no item would be given, nor would any tickets/passes be handed out or have their "lifetime" extended.
The feature I would like to see consistently is a “10 coins for 24 hours” kind of sales method.
The suggestion would be that a Pass or ticket system could be used for that proof of entitlement.
With the current Pass, there is no advantage to purchasing multiple Pass of one type.
The seller loses the chance to sell to the same player unless the Pass is changed.
However, with the time limit, players will need to purchase the same Pass again, and the seller will have a maintenance-free, continuous revenue stream.