Flan (Forge)

Flan (Forge)

85.5k Downloads

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

JustAnotherGhostName opened this issue ยท 1 comments

commented

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.

commented

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