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

[1.10.2] [Request] Plot System #37

Open
Rasgnarok opened this issue Oct 1, 2016 · 0 comments
Open

[1.10.2] [Request] Plot System #37

Rasgnarok opened this issue Oct 1, 2016 · 0 comments
Assignees

Comments

@Rasgnarok
Copy link

Rasgnarok commented Oct 1, 2016

So, plot systems are pretty central to any town plugin. Basically, once you create a town, Polis Leaders normally want to dissect that entity into smaller 'parts' so that they can invite people and let them have their own 'part' of the town. These are called plots.

Before getting on with this ground-breaking, Polis-rejuvenating idea, let's define some terms:

  • Polis: a town defined by the /polis create [name] command. Has at least a Polis Leader, an HQ and once claimed chunk.
  • Polis Leader: main administrator of the concerned polis. He has all permissions, except when it concerns the breaking/placing/switching inside a claimed plot.
  • Resident: a player who is part of a Polis. Does not need to own a plot.
  • Plot Owner: a Resident who has claimed/bought a plot. Has the permission to break/place/switch within that claim entity as well as setting its name. Can also change the name of the plot.
  • Trustee: a Resident who has been 'trusted' by a Plot Owner to use the plot he owns. He can break/place/switch within that plot, unless denied by the Plot Owner. Cannot set the plot for sale, or change its name.
  • Outsider: a player who is not part of the concerned Polis. By default, has no permissions within said polis.
  • Plot: a 16x16 claim entity within a Polis, defined by a creation command used by the Polis Leader.
  • Embassy: a plot-type that can be claimed by an Outsider. It will act as a plot for its Owner.
  • Shop: a plot-type that can be claimed by a Resident. It will allow for switching within the plot, but not of opening chests, breaking and placing.

Plots are rather simple. They can be chunks, so 16x16, that the town leader selects by doing (while standing in it) /polis setplot [normal/embassy/shop]. That would then register the plot as whatever type it is, which would have different properties attached depending on said type.

Residents in a town could claim these plots, if the Polis Leader (or the Executives) do /polis setplot forsale/fs {price} (if not precised, the price can defer to a default price set in the Polis config file). They could claim it via a simple /polis plotclaim - if they have the money for it. Once claimed, the plot would confer all permissions to it's owner, and display (upon passing through its perimeter) the name of the owner.

That's mostly the gist of it. Of course, other commands should be added to make the system work, like /polis setplot notforsale/nfs; that can be explained once I get your feedback.

Here's a list of other commands that would be useful;

  • /polis setplot trustee [username] - would allow a plot owner to share the plot with another citizen, allowing the latter to break/switch within the perimeter of the plot.
  • polis setplot perm [trustee/resident/outsider] [break/switch/place] [on/off] - would allow to allow/disallow the permission to break, switch or place to whatever group (trustee would be the people trustee'd in the plot, residents the people in the same polis, and outsiders the people outside of the polis.
  • /polis setplot reset - would reset the plot to a 'non-plot' stage; that is, unnamed, not for sale, and not dissected from the polis.
  • /polis settax plot [normal/embassy/shop] [price] - would set the tax for a normal, embassy or shop plot type.
  • /polis setplot name [name] - would alter the display name of a plot upon crossing the perimeter of a plot.

There's probably more in this, I cannot remember - but that's the gist of it.

@hsyyid hsyyid self-assigned this Oct 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants