Skip to content

Ranks System

CJ Burkey edited this page Aug 1, 2020 · 4 revisions

Ranks allow different users to claim up to different numbers of chunks. For example, a Member might be able to claim 10 chunks but a VIP might be able to claim 25.

Ranks File

The ranks file can be found within the ClaimChunk data folder: (0.0.22 and prior) <SERVER FOLDER>/plugins/ClaimChunk/data/ranks.json or (0.0.23 and later) <SERVER FOLDER>/plugins/ClaimChunk/ranks.json. The ranks are simply an array of objects containing the rank name and the number of maximum chunks. By default, the file will be filled with the following example:

[
  {
    "name": "anotherRandomExampleRank",
    "claims": 200
  },
  {
    "name": "someRandomExampleRank",
    "claims": 100
  }
]

In this case, the rank anotherRandomExampleRank may claim up to 200 chunks while someRandomExampleRank may only claim 100. Users who are part of neither rank will be able to claim however many chunks are allotted by default in the config and users who are (for some reason) in multiple ranks will be able to claim however many chunks the largest rank can claim. In this example, a cross-rank user would be able to claim 200 because it's larger than 100.

Granting Ranks

Users are put into ranks with the permission claimchunk.claim.<RANK NAME>. For example: claimchunk.claim.someRandomExampleRank would allow the player to claim up to 100 chunks.

Enjoy My Plugins?

If you enjoy what I do, consider donating! It keeps me motivated and developing plugins and mods for Minecraft!

If you wish to make a donation, you may do so HERE, through PayPal. You won't receive anything special for donating, other than the feeling of happiness that a programmer has just become inspired by your kindness.

Thank you for your consideration :)

Clone this wiki locally