-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the ability to transfer ownership of a bank account #65
Comments
Why when instead you can just send all your money? Also |
On my server we have RP ministries and government organizations. And each ministry has its own account, which is managed by the minister. It would be more convenient to change the owner of the account by command, instead of having to go to the database every time to do it |
Seeing that this is of interest, I have added this feature to the to-do list. Can you suggest what command we should use? We could always use |
I think something like |
Should there be confirmation whether you want to accept the account? Alternatively, to prevent spam I could add a limitation that accounts with a $0 balance and no transaction history cannot be transferred. |
Yes there should definitely be a confirmation And yes I think the minimum balance for transfer should be $5,000 |
I can add a config option for min balance to transfer ownership. I will make a command like |
Another question: What if the account has the required balance and a "change owner" request is created, but then, by the time the new owner confirms the request, the balance has changed (and is now below the required minimum)? I had a few solutions in mind:
I think (from these options at least) that 1. is the best. If you have better ideas let me know. Waiting for response to continue working on this. |
I agree that a minimum balance is not necessary to transfer an account to another player (As for me) |
I personally think you should only check the minimum balance when the transfer request is initiated and if it goes below the minimum threshold by the time the person accepts it is just ignored/does not matter |
Then what stops one from sending $5K to the account just to |
Hi! I have another question. When accepting an account, should the new owner just have a permission like Otherwise, someone could technically bypass their max accounts limit by having someone else create the account and then transfer it to them. Note When a player with the admin permission |
Hello! Yes, I think it is necessary to make |
/bank transfer <ID> <username>
This will change the ownership in the database from the initiator of the command to the player specified. Must check if bank account is owned by that person and send a confirmation message
The text was updated successfully, but these errors were encountered: