-
Notifications
You must be signed in to change notification settings - Fork 0
Plot definition features
Important
Plot definitions are an upcoming feature in the v1.24 update of Plots!
They aren't available in previous versions.
Note
This wiki page just lists the already present features that may used to make own plot definitions.
For most server owners it won't be helpful.
Plot definition features define single parts of behaviour that can be combined to get the full behaviour that a plot definition can use.
For example, the rentable definition uses the Rentable feature to allow renting which will expire after some time.
Most implementations have to implement most methods by themself, for example the renting logic if they implement the Rentable feature.
The Rentable feature allows plots to be temporarily claimed by players.
They will be freed after the rent timer expires.
While implementations should use some kind of config, it's permissible to use hardcoded values.
Warning
Any player will instantly lose access to any containers and houses, as soon as the rent is considered expired!
The Sellable feature allows plots to be sold to any other player.
Warning
The previous owner and any members will instantly lose access to the plot as soon as any player has bought the plot!
While the name may be a little bit confusing, the Unclaimable feature allows plots to be given back or sold back to the server, depending if the plot has a plot price or not.
Warning
The previous owner and any members will instantly lose access to the plot as soon as it's given back to the server!
The Sandbox feature disables any protection and allows anybody to build on such plots.
It's advised to combine it with the Public feature as claiming isn't useful without any protection.
Caution
Such plots could be fully griefed, so no player should build anything important here!
And such plots should be watched to prevent any illegal or abusive behaviour by players.
The Public feature disallows claiming and also setting the owner with setowner subcommand.
Important
The Has To Be Bought feature was added in the v1.25 update of Plots!
It isn't available in previous versions.
The Has To Be Bought feature forces plot pricing on corresponding plots, otherwise they can't be claimed. The setowner subcommand may ignore this feature.
Note
If plot pricing is disabled in config, plots with this feature will become unclaimable!
The Limit Accessible feature defines actions that are permissible on such plots that would otherwise be blocked in the plot world.
On the other hand it may block actions that would otherwise be allowed in the plot world.
Warning
This feature can't be used to allow building but it may be used to allow access to containers.
The Property Regulatable feature defines properties that may be changed on such plots. If an attempt is done to change a property that isn't defined in this feature, it won't change this property on such plots.
Caution
It's permissible to allow EVERYONE_BUILD to be changeable in this feature but this property may result in a plot that could be fully griefed by anyone!
The Uncreatable feature disallows the creation of such plots with ingame commands.
They can only be created with PlotsAPI. This feature is intended to be used with other plugins that want to make plots where their content isn't blocked by the plot world protection.
The Memory Only feature prevents any saving of its plots to disk.
Such plots will only exist until Plots reloads, the server is reloading or the server is restarting.
This feature is intended to be used with other plugins that want to make "compatibility" plots that shouldn't be persistent.
Caution
While it may be possible to create and claim such plots (if not otherwise prevented), they shouldn't be used as such as they will disappear as soon as Plots is unloading all plots!
The Owner Setable feature allows setting the owner with the setowner subcommand.
The subcommand may not check if the new owner has the required permission, but it will check if the player may have already reached the plot limit.
Note
The targeted plot has to be free to be able to set the owner.