Skip to content

Placeholder API Integration

CJ Burkey edited this page Jan 30, 2022 · 4 revisions

ClaimChunk provides the following placeholders for clip's Placeholder API when it is detected:

  • %claimchunk_my_name% yields the display name for this player's chunks.

Note: this is set via the /chunk name [NAME] command. /chunk name can be used to clear the custom name and revert to your username.

  • %claimchunk_my_claims% yields the number of chunks you have claimed across all worlds.

  • %claimchunk_my_max_claims% yields the total number of chunks that this player will be able to claim.

  • %claimchunk_my_remaining_claims% yields the number of chunks that this player will be able to claim before they hit their limit.

Note: defined by the config default and the ranks system.

  • %claimchunk_am_trusted% yields the following messages from the messages.json file:

    • placeholderApiUnclaimedChunkOwner when the player is in an unclaimed chunk.
    • placeholderApiTrusted or placeholderApiNotTrusted depending on whether they are trusted.
  • %claimchunk_current_owner% yields the username of the player that owns the chunk in which this player stands, or placeholderApiUnclaimedChunkOwner if the chunk is unowned.

  • %claimchunk_current_name% yields the chunk display name of the player that owns the chunk in which this player stands, or placeholderApiUnclaimedChunkOwner if the chunk is unowned.

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