Worlds¶
Manages per-world rules and profiles (pvp on world_pvp and peaceful on world_peaceful by default) including difficulty, PvP, pranks permission, keep-inventory, respawn target, world border, claim/lock limits, item transfer rules, and linked Nexus chat/tab/death profile IDs.
Summary¶
- Plugin:
ZellysGuard - Configuration file:
modules/worlds/config.yml - Default
enabledstate:true - Commands: Edited in
modules/worlds/config.yml, reloaded via/zg reload, and exposed inside/zg config. - Permissions:
zguard.admin/zguard.admin.owner - Interfaces (Menus / Dialogs / Bedrock Forms): Admin config viewer (
/zg config) for world settings. - Storage:
modules/worlds/config.yml
Limits and verification status¶
WorldProfileService exposes world rules and Nexus profile links; optional Multiverse-Core world alias lookup in Nexus uses reflection with mock unit tests and is not verified against a real Multiverse-Core jar.
Configuration keys (modules/worlds/config.yml)¶
| Key | Type | Default | Description |
|---|---|---|---|
config-version |
integer |
1 |
World profile schema version |
enabled |
boolean |
true |
Master toggle for world profile service |
worlds.pvp.enabled |
boolean |
true |
Whether the pvp world profile is active |
worlds.pvp.world |
string |
world_pvp |
Target Bukkit world name |
worlds.pvp.alias |
string |
PvP |
Display alias |
worlds.pvp.environment |
string |
NORMAL |
Dimension (NORMAL, NETHER, THE_END) |
worlds.pvp.difficulty |
string |
HARD |
World difficulty |
worlds.pvp.game-mode |
string |
SURVIVAL |
Default game mode |
worlds.pvp.pvp |
boolean |
true |
PvP combat toggle |
worlds.pvp.allow-pranks |
boolean |
true |
Allow prank commands (/zg prank, /zn prank) |
worlds.pvp.keep-inventory |
boolean |
false |
Keep inventory on death |
worlds.pvp.respawn-world |
string |
world_pvp |
Respawn world name |
worlds.pvp.spawn.x |
integer |
0 |
Spawn X (worlds.pvp.spawn) |
worlds.pvp.spawn.y |
integer |
64 |
Spawn Y |
worlds.pvp.spawn.z |
integer |
0 |
Spawn Z |
worlds.pvp.spawn.yaw |
integer |
0 |
Spawn yaw |
worlds.pvp.spawn.pitch |
integer |
0 |
Spawn pitch |
worlds.pvp.border.size |
integer |
10000 |
World border diameter (worlds.pvp.border) |
worlds.pvp.border.center-x |
integer |
0 |
World border center X |
worlds.pvp.border.center-z |
integer |
0 |
World border center Z |
worlds.pvp.claims.enabled |
boolean |
true |
Claims toggle (worlds.pvp.claims) |
worlds.pvp.claims.max-claims |
integer |
4 |
Max claims per player |
worlds.pvp.claims.max-size |
integer |
64 |
Max claim side length |
worlds.pvp.blockprot.enabled |
boolean |
true |
BlockProt locking toggle (worlds.pvp.blockprot) |
worlds.pvp.blockprot.max-locks |
integer |
64 |
Max locks per player |
worlds.pvp.chat-profile |
string |
pvp |
Linked Nexus chat profile |
worlds.pvp.tab-profile |
string |
pvp |
Linked Nexus tab profile |
worlds.pvp.death-profile |
string |
pvp |
Linked Nexus death profile |
worlds.pvp.resource-pack-profile |
string |
java-test |
Resource pack profile name |
worlds.pvp.item-transfer.allow-from |
list |
[peaceful] |
Source profiles allowed (worlds.pvp.item-transfer) |
worlds.pvp.item-transfer.allow-to |
list |
[peaceful] |
Destination profiles allowed |
worlds.pvp.item-transfer.tax |
integer |
0 |
Item transfer tax percentage |
worlds.pvp.economy-profile |
string |
none |
Economy profile (none at initial launch) |
worlds.peaceful.enabled |
boolean |
true |
Whether the peaceful world profile is active |
worlds.peaceful.world |
string |
world_peaceful |
Target Bukkit world name |
worlds.peaceful.alias |
string |
Peaceful |
Display alias |
worlds.peaceful.environment |
string |
NORMAL |
Dimension (NORMAL, NETHER, THE_END) |
worlds.peaceful.difficulty |
string |
HARD |
World difficulty |
worlds.peaceful.game-mode |
string |
SURVIVAL |
Default game mode |
worlds.peaceful.pvp |
boolean |
false |
PvP combat toggle |
worlds.peaceful.allow-pranks |
boolean |
false |
Allow prank commands |
worlds.peaceful.keep-inventory |
boolean |
true |
Keep inventory on death |
worlds.peaceful.respawn-world |
string |
world_peaceful |
Respawn world name |
worlds.peaceful.spawn.x |
integer |
0 |
Spawn X (worlds.peaceful.spawn) |
worlds.peaceful.spawn.y |
integer |
64 |
Spawn Y |
worlds.peaceful.spawn.z |
integer |
0 |
Spawn Z |
worlds.peaceful.spawn.yaw |
integer |
0 |
Spawn yaw |
worlds.peaceful.spawn.pitch |
integer |
0 |
Spawn pitch |
worlds.peaceful.border.size |
integer |
10000 |
World border diameter (worlds.peaceful.border) |
worlds.peaceful.border.center-x |
integer |
0 |
World border center X |
worlds.peaceful.border.center-z |
integer |
0 |
World border center Z |
worlds.peaceful.claims.enabled |
boolean |
true |
Claims toggle (worlds.peaceful.claims) |
worlds.peaceful.claims.max-claims |
integer |
8 |
Max claims per player |
worlds.peaceful.claims.max-size |
integer |
64 |
Max claim side length |
worlds.peaceful.blockprot.enabled |
boolean |
true |
BlockProt locking toggle (worlds.peaceful.blockprot) |
worlds.peaceful.blockprot.max-locks |
integer |
128 |
Max locks per player |
worlds.peaceful.chat-profile |
string |
peaceful |
Linked Nexus chat profile |
worlds.peaceful.tab-profile |
string |
peaceful |
Linked Nexus tab profile |
worlds.peaceful.death-profile |
string |
peaceful |
Linked Nexus death profile |
worlds.peaceful.resource-pack-profile |
string |
java-test |
Resource pack profile name |
worlds.peaceful.item-transfer.allow-from |
list |
[pvp] |
Source profiles allowed (worlds.peaceful.item-transfer) |
worlds.peaceful.item-transfer.allow-to |
list |
[pvp] |
Destination profiles allowed |
worlds.peaceful.item-transfer.tax |
integer |
0 |
Item transfer tax percentage |
worlds.peaceful.economy-profile |
string |
none |
Economy profile (none at initial launch) |