Plugin Release Presence - A time based claiming plugin

Download Link
https://github.com/Geolykt/Presence/releases/
Source Code
https://github.com/Geolykt/Presence/
Minecraft Versions
1.18.1
Compatible Java Versions
J16
Presence is a time based claiming plugin. The longer a player is in a chunk - the higher their score in that chunk. The player with the highest score in a chunk owns the chunk.

Right now the plugin is only tested on a very small server, if there are issues I might not be aware of them. Please report those if you encounter them!

Features:
- Claim groups, which is basically a user-defined mega-claim with it's own permissions.
- Per-action permission. The owner of a claim can for example allow any player to harvest crops while denying to place blocks. The owner can even prevent themselves from doing actions if they please to
- A text-based map of claims visible via /claims map
- A minimal scoreboard tracking the scores of the most important players on a scoreboard. Can be toggled via /claims togglesb
- Chat messages can be changed dependent on the player's locale, default-implemented languages are german and english
- Flight in claims owned by the player
- When a chunk is ticked by a player (i.e. the score is increased), there is a chance that another nearby chunk is ticked too (chance is configurable).
- Placeholder API support
- Interactive Text UI
- When moving to another player's claim, the user is notified

API:
The API is mostly safe in concurrent environments and atomic, so spamming the API on another thread is only going to yield minor performance impacts while having minimal chances of race conditions.
The API is freely available as a maven artifact under de.geolykt:presence:1.0.0 at the https://geolykt.de/maven/-repository

Dependencies:
  • Paper 1.18.1 or above, Spigot will not work
  • Java 16 or above

Placeholder documentation:
No Placeholder API exapnsion is required for placeholders and PAPI needn't be installed in order for this plugin to work, though using it might be benificial. All placeholders require the player scope to be known, so they may not always be usable.

- %presence_claimowner%
Obtains the name of the owner of the chunk the player is currently standing on, returns "none" if not applicable

- %presence_ownerpresence%
Obtains the presence of the owner of the chunk the player is currently standing on, returns "0" if not applicable

- %presence_claimsuccessor%
Obtains the name of the follow-up leader of the chunk the player is currently standing on, returns "none" if not applicable

- %presence_successorpresence%
Obtains the presence of the follow-up leader of the chunk the player is currently standing on, returns "0" if not applicable

- %presence_playerpresence%
Obtains the presence the player has on the chunk it is standing on

Quirks (or: why to not use this plugin):
  • No protection against lava & water flow
  • Everyone is able to claim everywhere (except if you are in spectator mode, in that case you are not claiming)
  • To this plugin, everyone is equal - even the operators.
  • This plugin encourages going afk, it could be as much of a curse as it is a blessing however
 
  • Like
Reactions: TOWUK