[WIP] PrimeProtect v0.1 - Polygonial Plots! Nested Plots!

Hello everyone!
Here and now, for all you to enjoy, my first plugin for the Sponge API, and it is yet another protection plugin. I know there are already a few of them out there, but still in the vast repository of bukkit plugins, i could not find something that just does the job without interfering with the actual gameplay more than i had liked.

In PrimeProtect, plots can not just be rectangular, but any shape you desire. Just to make it easier to work with the grid-oriented world of Minecraft, edge orientation is limited to steps of 45 degree angle. Additionally, every plot can be subdivided with technically infinitely many nested plots (only limited by config (wip)).

Plot owners can be either a player or a group, with groups having the well known distinction between operators, assistants and members.

PrimeProtect is still heavily under construction, this is just a collection of all parts that are working right now into something that kinda makes sense.

Current features:

  • Plot creation by setting marking each vertex
  • nested plots
  • particle effects showing borders and vertices
  • scoreboard showing vertices while editing
  • rudimentary group management

Planned features:

  • Economy support (Buying, selling plots instead of giving, taxes etc.)
  • much more configuration options on this that are just hard coded at the moment
  • plot snapshots + plot regeneration
  • much finer grained permission system (e.g. giving owners of the parent plot some rights in the nested plot)
  • building a whole compatible around Protection, Regeneration, Inspection, Managment, Economy (PRIME) or sth along those lines.

Usage:

Start claiming a new plot and add vertices using the commands below.
When done adding vertices, and the last vertex correctly connects to the first, you can save it to database.
All new claimed plots are first a vacant plot that can than be given to a player or group by a player owning the parent plot. (This is still a bit weird in wilderness, i know. Just give it to yourself.)

Example:

(i just noticed it might look like the blocks have something to do with functionality. They don’t, they just represent where the immaterial vertices are located)

Commands:

  • /prime plot new/create - Create a new plot or start over
  • /prime plot add - Add a vertex to plot you are creating
  • /prime plot save - Save the plot when you are done
  • /prime plot exit/abort/break - Stop plot creation
  • /prime plot give [player|group] < player/group > - Give plot to a group or player
  • /prime group new < name > - Create a new group
  • /prime group add < group > < player > - Add a player to your group
  • /prime group remove < group > - Remove player from your group
  • /prime group rank < group > < player > [operator|assistant|member] - Rank a player in your group

Source and Download

License:

MIT License

2 Likes

Is there a way to have two plots under the same name that are in two different places? (not overlapping)

Well plots don’t have a name on their own, they just display either the player name or group name of the owner. If this owner has multiple plots, then sure, you could. I would even say thats a pretty normal use case.

If you want to have a custom plot name, just create a group of your own with you as only member.

The only thing is: As groups are currently referred by name, there can’t be two groups with the same name. I am still contemplating whether they should be renamable or not.