🏰 Territory

Wiki Documentation


Introduction

The Territory System in nwMVP is a full-scale guild-based territory conquest and ownership system designed to create long-term competitive PvE content.

Territories are controlled through scheduled boss events, where guilds compete by dealing damage to a boss within a defined WorldGuard region. The system does not rely on PvP dominance, but instead focuses on coordination, damage contribution, and sustained guild progression.

This system is deeply integrated with:

  • Boss systems (MythicMobs / EliteMobs)

  • Guild systems

  • Economy systems

  • WorldGuard

  • Regen Zones

  • Buffs, EXP, and reward pipelines


🔑 Key Features

  • Scheduled territory conquest events

  • Boss-based territory capture mechanics

  • Guild damage tracking and ranking

  • Territory maintenance system

  • Buffs, bonuses, and EXP multipliers

  • Region-based utilities and restrictions

  • Deep integration with WorldGuard, guild plugins, and boss plugins


📋 How the Territory System Works

The Territory System revolves around scheduled boss events inside WorldGuard regions.

Territory Lifecycle

  1. Territory event becomes active (scheduled time)

  2. Boss spawns inside the territory region

  3. Guilds enter and fight the boss

  4. Damage is tracked by guild

  5. Boss is defeated

  6. Guild with the highest damage wins

  7. Territory is captured

  8. Maintenance cost is paid (if enabled)

  9. Territory benefits activate

  10. Guild controls the territory until the next event


🗺 Territory Configuration

File Location:

Basic Territory Settings

Explanation

Option
Description

enabled

Enable or disable this territory

display-name

Display name shown in messages, holograms, and GUIs

mode

Territory capture mode (DAMAGE, CAPTURE, DEFENSE)

world

World name where the territory exists

region

WorldGuard region name


🆔 Territory ID

Each territory has a unique UUID generated automatically.

  • Automatically generated on first load

  • Used internally for database tracking

  • Should not be edited manually


⏰ Territory Schedule

Defines when the territory event becomes active.

Supported Formats

  • EVERYDAY

  • Monday

  • Monday,Friday,Sunday

  • Time format: HH:mm-HH:mm

The territory is only active during the scheduled time.


👹Boss Configuration

boss-id

Defines the unique ID of the boss that nwMVP should track and manage.

Usage:

  • MythicMobs → Use the MythicMob ID

  • EliteMobs → Use the file name of the boss without .yml

Example:


spawner-id

Description: Defines the spawner that controls how and where the boss respawns.

This setting is only required when you are using native spawners from:

  • MythicMobs

  • EliteMobs

Spawner ID format depends on the boss plugin:

MythicMobs

Use the Spawner ID defined in MythicMobs:

EliteMobs

Use the location string generated by EliteMobs:

⚠️ This location format must match exactly as defined by EliteMobs.


📊 Hologram Display

Description: Displays a hologram above the boss spawn location.

Important: Holograms only work when spawner-id is defined.

Configuration:

Requires:

  • CMI or DecentHolograms

Supported Placeholders

Placeholder
Description

{bosses_display_name}

Display name of the boss

{boss_name}

Internal boss name

{cooldown}

Remaining respawn cooldown

Note: Boss cooldown timing is fully based on the spawner configuration, not nwMVP.


🎁 Rewards System

This rewards: section is used to give rewards to players after the boss dies.

  • Rewards are given only to players who participated in the fight (e.g., dealt damage / contributed to the boss encounter).

  • If a player did not attack the boss or had zero participation, they will not receive any rewards.

  • The plugin will run the commands you define in each reward category.

For the full reward logic (advanced rules, random rewards, drop table behavior, chances, etc.), please refer to the droptables system documentation.

Supported Reward Types

  • Vault money

  • PlayerPoints

  • CoinsEngine

  • BeastTokens

  • MMOItems

  • Drop Tables

  • Any console command


⚙ Region Settings

region-settings defines how players behave inside a Territory region, both before capture (AVAILABLE) and after capture.

🔹 Some settings apply at all times 🔹 Some apply only during Contest (Boss Alive) 🔹 After capture, many behaviors are handed over to WorldGuard

1️. allow-player-no-guild

Controls whether players without a guild can enter the Territory.

  • true → Non-guild players may enter (but cannot capture)

  • false → Only guild members can enter


2️. titles

Displays a title/subtitle when entering the Territory.

  • Triggered when entering the region

  • Typically shown after successful capture

  • Supports placeholders


3️. max-guilds-per-zone

Limits how many territories a single guild may own.

Prevents guild monopolization.


4️. player-respawn-in-region

Custom respawn points for deaths inside Territory.

  • Random respawn from list

  • Improves flow of Territory fights


5️. sound-theme-in-region

Plays sounds when entering Territory or when boss dies.


6️. blocked-commands

Blocks specific commands inside Territory.

Prevents escaping during fights.

7. allow-pvp

  • falseDisables player-vs-player damage during the contest Ideal if you want a pure PvE boss competition without guilds griefing each other.

  • trueEnables PvP during the contest for PvPvE-style territory wars.

After contest: PvP behavior follows WorldGuard PVP flags.


8. allow-fly

  • falseBlocks flying during the contest (including flight from permissions/plugins) Prevents players from hovering, safe-spotting, or escaping the fight.

  • true → Allows flight during the contest.

After contest: flight behavior is handled by WorldGuard and other server systems normally.


9. allow-enderpeal

  • falseBlocks Ender Pearl usage during the contest Prevents teleport escapes, wall-skipping, and unfair positioning.

  • true → Allows Ender Pearls during the contest.

After contest: usage follows WorldGuard rules and your server setup.


10. force-gamemode

  • Forces players to a specific GameMode (e.g., "SURVIVAL") during the contest. Common reasons:

    • Prevent Creative/Adventure abuse

    • Ensure everyone fights under the same ruleset

Common values:

  • "SURVIVAL"

  • "ADVENTURE"

  • "CREATIVE" (not recommended for contests)

Typical behavior: if a player is in the contest region with a different mode, nwMVP switches them to the configured mode to enforce fairness.

11. disable-items-and-equipment

Contest-only item and equipment restrictions


🏰 Guild Territory Benefits

1. Maintenance System

How It Works

  • After a guild wins the Territory

  • Status becomes WAITING_PAID_MAINTENANCE

  • The Territory is not active yet

  • The guild leader only must pay maintenance

Command

Supported Economies

  • Vault

  • PlayerPoints (pp)

  • CoinsEngine (ce;<currency>)

  • BeastTokens (bt)


2. Buffs & Effects

Behavior

  • Applies only after capture success

  • Removed immediately if territory is lost

  • Optional auto-apply to new guild members

Supported Buff Types

  • MythicLib stats

  • Vanilla potion effects


3️. Cost Bonus (Mob Kill Rewards)

  • Rewards guild members for killing mobs in the territory

  • Supports MythicMobs, EliteMobs, and Vanilla mobs

  • Bosses are excluded


4️. EXP Bonus (Vanilla)

  • Multiplies vanilla EXP gain

  • Applies only to territory owner guild


5️. MMOCore EXP Bonus

  • Requires MMOCore

  • Applies separate multipliers to profession and class EXP

Owner Territory Cost System

owner-territory-settings.cost defines usage fees for territories owned by a guild.

This system charges only players who are NOT members of the owning guild and allows territory owners to control how their land is used.


1️. Allow Other Guild Players to Enter

Behavior

  • If enabled, non-guild players must pay to enter the territory

  • If disabled, non-guild players are completely blocked

  • Cost is charged per entry


2️. Player Events Cost System

This section charges non-guild players for specific actions inside the territory.

Allow Regen Regions

allow-regen-regions defines which territory regions are allowed to use the Regen Zone system for block breaking and crop harvesting.

This setting is only applicable to:

  • block-break

  • crop-harvest

and only works when regen-block-plugin: "nwmvp" is enabled.


How It Works

  • This configuration tells the system which territory regions are permitted to regenerate blocks and crops.

  • The regions listed here must match the region names defined in regenzone.yml.

  • When a player interacts with blocks or crops:

    1. The system checks whether the action occurs inside a territory.

    2. It then checks whether the territory’s region name exists in allow-regen-regions.

    3. If the region is allowed, the action follows the Regen Zone rules.

    4. If not, the action is blocked or charged (depending on configuration).


Important Requirements

  • allow-regen-regions only works with the built-in nwMVP regen system

  • You must set:

  • If you use any other regen plugin (such as UltimateBlockRegeneration, MineXFarmRegen, BlockRegen, etc.):

    • regenzone.yml will NOT work

    • allow-regen-regions will have no effect


Region Matching Logic

To enable Regen Zones successfully:

  • The region name in Territory config must match exactly

  • The region name in regenzone.yml

  • The region name in allow-regen-regions

Example:

✅ Result: Regen Zone works correctly


Behavior Summary

Location
Result

Inside allow-regen-regions

✅ Block break & crop harvest allowed (Regen Zone rules apply)

Outside allow-regen-regions

❌ Block break & crop harvest NOT allowed

Using non-nwMVP regen plugin

❌ Regen Zone (nwMVP) system disabled


Block Break Cost

  • Charges per block destroyed

  • Supports:

    • Vanilla blocks

    • Nexo

    • CraftEngine

    • ItemsAdder

  • If player cannot afford → block break is cancelled


Mob Kill Cost

  • Charges per mob killed

  • Supports:

    • Vanilla mobs

    • MythicMobs

    • EliteMobs

  • Prevents free farming in enemy territories


Fishing Cost

  • Charged every time a fish is caught


Crop Harvest Cost

  • Charges when harvesting crops

  • Supports all vanilla crops

  • Works with regen crop system

  • Supports:

    • Vanilla blocks

    • Nexo

    • CraftEngine

    • ItemsAdder


🎯 Territory Capture Modes

DAMAGE

Highest total guild damage wins.

CAPTURE (Coming Soon)

First guild to reach a damage threshold wins.

DEFENSE (Coming Soon)

Defending guild must hold territory against attackers.

Last updated