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]: Buyable chuncks #30

Open
PickyPixelStudio opened this issue Nov 12, 2023 · 3 comments
Open

[Feature Request]: Buyable chuncks #30

PickyPixelStudio opened this issue Nov 12, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@PickyPixelStudio
Copy link

Is your feature request related to a problem?

Hey!

Our players ask if it's possible to make claim buyable.
Like, they start with 10 availlable chunk claim, after some time they wanted more, to expand.

Solution(s)

When they have enought "money" (emerauld, diamond, whatever money...) they have the opportunity to buy more claimable chunk!

Describe alternatives you've considered

Maybe with time played (i'm not a fan of that, but, maybe others!)

Mod Version

1.0.2

Mod Loader Version

1.20.1 - 47.2.0

Mod Loader

Forge

Additional context

To be honest, i just found your mod around Project Odyssey, it's purely awesome! <3

@PickyPixelStudio PickyPixelStudio added the enhancement New feature or request label Nov 12, 2023
@PickyPixelStudio
Copy link
Author

PickyPixelStudio commented Nov 13, 2023

I've an idea on how to make it possible, but it's sounds "weird" for me.

Like i create a lot of roles, each one have one more claim than the previous, and with an buyable tagged item. Giving access to a custom command, that destroy this item, and grant him the role above (+1 claim).

But, i've to know what role he have initialy.

@PickyPixelStudio PickyPixelStudio changed the title [Feature Request]: [Feature Request]: Buyable chuncks Nov 13, 2023
@TraipsingShadow
Copy link

If I may "hijack," so to speak, this request, may I humbly offer my other thoughts regarding this suggestion?

Provide a "price" for each new claim in the form of an item that can be defined in the config files. The simplest way to go about it is adding support for item/mod IDs to be defined in the config files themselves.

For example, we would like the default "currency" to be Netherite Ingots for claiming new lands.

{
  "claimCost": [
    {
      "item": "minecraft:netherite_ingot",
      "costPerChunksClaimed": {
        "0-10": "1",
        "11-30": "5",
        "31-50": "8"
      }
    },
    {
      "item": "minecraft:paper{tag:{display:{Name:\"{\\\"text\\\":\\\"Land Title\\\",\\\"color\\\":\\\"green\\\"}\"},Enchantments:[{id:\"minecraft:loyalty\",lvl:1}]}}",
      "costPerChunksClaimed": {
        "51-75": "1",
        "76-100": "2",
        "101-150": "3"
      }
    }
  ]
}

In this example, there are a number of possibilities presented to us: one, the server administrator can define what item can be used as a cost; two, the server administrator can define the progressive cost of every new chunk claimed; and three, the server administrator can use tags to particularly specify the data of the item to be used.

This allows the flexibility of not needing to hook into an economy mod's API (while it would be remiss not to mention that I would love to see an integration with Lightman's Currency with the ability for Players to purchase claims/chunks using their Team's/Company's Bank Account, but that's a whole other complicated thing) and allowing server administrators to have granular control over the cost as well as the progressive cost of chunk-"buying."

I hope this has given this feature suggestion more credence. I hope the developer team takes a look into this suggestion and considers it!

@Pyrael123
Copy link

I need this as well!!!!! Why hasn't this be implemented?

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

3 participants