Skip to content
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

[Feature Request]: Players can buy X subclaims in a claim #236

Open
JustAnotherGhostName opened this issue Apr 26, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@JustAnotherGhostName
Copy link

JustAnotherGhostName commented Apr 26, 2023

Suggestions

It would be good if players were able to either buy or claim X subclaims in a larger claim for public facility's. For example, if a server has a mall, it would be nice if players could just go inside the unclaimed subclaim, do /flan claimSubClaim, and they would be able to become co owner on the subclaim for X configured cost. From there, they can claim up to X more subclaims as configured (or just make it 1, but configurability is nice).

Edit: Realistically, cost is just an option, but it would be nice if either in a global config, or just a subclaim config in flan menu, that you could set the cost to claim.

Solution

I dont think this would be to hard to do from a programing perspective depending on how the code is structured (I haven't looked too much at the code base). Just search through the list of co owners in the list of sub claims in the bigger claim, and if they are not in the list, add them to the co owner list. From there, just send a message if they were allowed to or not.

@JustAnotherGhostName JustAnotherGhostName added the enhancement New feature or request label Apr 26, 2023
@JustAnotherGhostName
Copy link
Author

Alternatively, having full claims be purchasable would also work. Just make it where they are added as co owner when they purchase it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant