Skip to main content

Configuration Reference

This page provides an exhaustive guide to all settings available in plugins/MapArtLandRental/config.yml.


Full Default Configuration​

database:
type: sqlite
sqlite:
file: mapart.db
mysql:
host: localhost
port: 3306
database: mapart
username: mapart
password: ""
worker-threads: 2
maximum-pool-size: 4

economy:
enabled: true
provider: vault

rental:
initial-days: 7
extension-days: 7
maximum-total-days: 60
grace-period-hours: 24
expiration-check-seconds: 60

gui:
# Prefer Native Dialog on Java Edition
dialog: true
# Bedrock Edition UI. 'rich' prefers Rich UI, 'default' prefers standard form
bedrock: rich

# 0 means unlimited
limits:
projects-per-owner: 0
leases-per-project: 0
active-leases-per-player: 0

world:
name: mapart_world
create-if-missing: true
void-generator: true
base-y: 64
base-material: SMOOTH_STONE
suppress-mob-spawn: true
fixed-weather: true
fixed-time: 6000
suppress-fire: true
suppress-explosion-damage: true

protection:
# Work buffer width added around the map art canvas
lease-buffer: 16

reset:
chunks-per-tick: 1
blocks-per-region-task: 4096

plot-types:
"128":
enabled: true
size: 128
initial-price: 5000
extension-price: 3000
origin-x: -64
origin-z: -64
stride-x: 256
stride-z: 0
"256":
enabled: true
size: 256
initial-price: 10000
extension-price: 6000
origin-x: -64
origin-z: 100032
stride-x: 512
stride-z: 0
"512":
enabled: true
size: 512
initial-price: 20000
extension-price: 12000
origin-x: -64
origin-z: 300480
stride-x: 1024
stride-z: 0
"1024":
enabled: true
size: 1024
initial-price: 40000
extension-price: 24000
origin-x: -64
origin-z: 700352
stride-x: 2048
stride-z: 0
"2048":
enabled: true
size: 2048
initial-price: 80000
extension-price: 48000
origin-x: -64
origin-z: 1501120
stride-x: 4096
stride-z: 0

Detailed Section Breakdown​

database​

Specifies persistent storage settings. Database migrations run automatically during startup.

FieldDefaultDescription
typesqliteDatabase engine to use: sqlite or mysql.
sqlite.filemapart.dbFile name for the SQLite database.
mysql.hostlocalhostMySQL server host name.
mysql.port3306MySQL server port number.
mysql.databasemapartDatabase schema name.
mysql.usernamemapartConnection username.
mysql.password""Connection password.
mysql.worker-threads2Number of asynchronous worker threads for database queries.
mysql.maximum-pool-size4Maximum HikariCP connection pool size.

economy​

FieldDefaultDescription
enabledtrueWhether to charge players for plot rentals and extensions. If false, rentals are free.
providervaultEconomy adapter. Currently supports vault.

rental​

FieldDefaultDescription
initial-days7Duration (in days) granted on initial lease creation.
extension-days7Additional duration (in days) granted per extension.
maximum-total-days60Maximum cumulative lease lifetime from initial start date. Extensions beyond this cap are rejected.
grace-period-hours24Grace period duration (in hours) after expiration before reset begins.
expiration-check-seconds60Interval (in seconds) between automated lease expiration checks.

gui​

Controls UI presentation preferences via NegiLib.

FieldDefaultDescription
dialogtruePrefers Native Dialog on Java Edition with automatic fallback to Inventory GUI. If false, always uses Inventory GUI.
bedrockrichForm style for Bedrock Edition players via Geyser. rich prefers Rich Form with fallback to standard, while default always uses standard form.

limits​

Operational caps per owner, project, or player. Setting any limit to 0 disables it (unlimited).

FieldDefaultDescription
projects-per-owner0Maximum projects a player can own concurrently.
leases-per-project0Maximum concurrent leases allowed under a single project.
active-leases-per-player0Maximum concurrent active leases a player can hold across all projects.

world​

Configures the dedicated map art production world.

FieldDefaultDescription
namemapart_worldName of the dedicated map art world.
create-if-missingtrueWhether to automatically create the world if it does not exist.
void-generatortrueUses an empty void chunk generator.
base-y64Y coordinate of the surface floor. Bedrock is generated at base-y - 1.
base-materialSMOOTH_STONEMaterial for the surface floor. Case-insensitive and supports the minecraft: namespace.
suppress-mob-spawntruePrevents hostile and passive mob spawning.
fixed-weathertrueLocks weather to clear skies.
fixed-time6000Locks in-game time (6000 corresponds to noon).
suppress-firetrueDisables fire spread and burn out.
suppress-explosion-damagetrueDisables explosion block destruction.

protection​

FieldDefaultDescription
lease-buffer16Width (in blocks) of the buildable work buffer added equally around the central Map Bounds.

reset​

Controls rate limits for chunk section resets to avoid server lag spikes.

FieldDefaultDescription
chunks-per-tick1Maximum number of chunks scanned or processed per tick.
blocks-per-region-task4096Maximum blocks updated per region reset task.

plot-types​

Defines available plot dimensions, pricing, and grid layout coordinates.

KeyDescription
enabledWhether this plot size is available for rental (true / false).
sizeCanvas dimension in blocks (128, 256, 512, etc.).
initial-priceInitial lease cost when economy is enabled.
extension-priceCost per lease extension when economy is enabled.
origin-x, origin-zNorthwest corner coordinates of plot index 0. Must align with vanilla map boundaries.
stride-x, stride-zStep offset to adjacent plots. Must be larger than size + 2 * lease-buffer.