Create private areas on your Nukkit server!
Regions is a plugin for Nukkit, that provides useful private system for nukkit server. You can define regions and control access rights to this regions: build or break blocks, accessing to chest, using levers, doors, etc.
- Regions management (create, redefine, configure region flags)
- World editing system (fill areas, replace blocks, copy areas, edit biomes)
- Brushes for easy world editing (set ball or discs, remove blocks, set biome and biome color, smooth biomes, flood fill areas)
- Multilayer undo-system
/region help [page]
/rg help [page]
/rg hlp [page]
Show help.
/select
sel
Toggles selection mode. When selection mode enabled you can use left click (with "empty hand") and right click to select first and second point of future region.
/select pos1
/select p1
/sel pos1
/sel p1
or
/select pos2
/select p2
/sel pos2
/sel p2
Select player location as "point 1" or "point 2"
/region claim [id]
/rg claim [id]
This command is allows players to claim region and become owner of the region. After claiming the region player will become owner of this region.
There's two modes for claiming.
-
Claim pre-defined regions. To enable this modes set paramter of config.yml "claim.claim-only-existing-regions" to true. Players must be able to claim regions predefined by define regions command.
-
Claim any area (limited by volume and allows regions per player value).
/region define <id> [owner1][, owner2\]
/rg define <id> [owner1][, owner2\]
/rg create <id> [owner1\][, owner2\]
/rg d <id> [owner1][, owner2]
Create new region from your selection. This is admin command, usually you don't need to give access to this command to ordinary players
/region redefine <id>
/rg redefine <id>
/rg update <id>
/rg move <id>
Change region's area. Name, owners, members and flags will not change.
/region info
/rg info
/rg i
Show information about region in player location.
/rg info <id>
/rg i <id>
Show information about defined region.
/region list
/rg list
/rg lst
Show list of available regions
/region flag <FLAG> [relation:<Relation] <value>
/region f <FLAG> [rel:<Relation] <value>
/rg flag <FLAG> [rel:<Relation] <value>
/rg f <FLAG> [rel:<Relation] <value>
Add flag to regions. Relations is a modificator that filters players who will be affected by flag (ALL
, OWNER
,
MEMBER
, NOT_MEMBER
, NOT_OWNER
)
Here's list of supported flags:
BREAK
BUILD
CHEST
PVP
LEVER
PLATE
DOOR
TRAPDOOR
GATE
CLAIM
ENTRY
/region flag <FLAG> clear
/rg f <FLAG> remove
/rg f <FLAG> rmv
/rg f <FLAG> delete
/rg f <FLAG> del
Remove flag from region. After deletion default flag configuration will affect to this region.
/region flag <FLAG> default
/rg f <FLAG> default
/rg f <FLAG> standart
Create a new flag that equals to default flag. If server owner change a default parameter this values will not change.
/region setowner <id> <player 1>[, <player2>...]
/rg setowner <id> <player 1>[, <player2>...]
/rg setown <id> <player 1>[, <player2>...]
/rg so <id> <player 1>[, <player2>...]
Set new owner(s) of region. Previous owner will be removed from region
/region addowner <id> <player 1>[, <player2>...]
/rg addowner <id> <player 1>[, <player2>...]
/rg addown <id> <player 1>[, <player2>...]
/rg ao <id> <player 1>[, <player2>...]
Add one or more owners to region.
/region removeowner <id> <player>
/rg removeowner <id> <player>
/rg remowner <id> <player>
/rg remown <id> <player>
/rg ro <id> <player>
Remove defined owner from region.
/region setmember <id> <player 1>[, <player2>...]
/rg setmember <id> <player 1>[, <player2>...]
/rg setmem <id> <player 1>[, <player2>...]
/rg sm <id> <player 1>[, <player2>...]
Set new member(s) of region. Previous members will removed from region
/region addmember <id> <player 1>[, <player2>...]
/rg addmember <id> <player 1>[, <player2>...]
/rg addmem <id> <player 1>[, <player2>...]
/rg am <id> <player 1>[, <player2>...]
Add one or more members to region.
/region removemember <id> <player>
/rg removemember <id> <player>
/rg remmember <id> <player>
/rg remmem <id> <player>
/rg rm <id> <player>
Remove defined member from region.
/set <block>[:<data>]
/blockset <block>[:<data>]
Fill selected area with provided block. You can use block id or block name.
/replace <block1>[:<data1>] <block2>[:<data2>]
/blockreplace <block1>[:<data1>] <block2>[:<data2>]
Scan selected area and replace one type of blocks (block1) to another (block2)
/box <block>[:<data>]
/buildbox <block>[:<data>]
Use selection to build box
/walls <block>[:<data>]
/buildwalls <block>[:<data>]
Use selection to build walls
/copy
Copy selected blocks into a clipboard
/paste
Paste blocks from the clipboard in a world
/biome
/wm
Show information about biome in player location
/biome list
/wm list
Show all available biomes
/biome <biome|color>
/wm <biome|color>
/biome <biome> <color>
/wm <biome> <color>
Set biome or/and grass color for selected area.
Supported biome list could be found use using /biome list
command.
Supported colors: White, Orange, Magenta, Light Blue, Yellow, Lime, Pink, Gray, Light Gray, Cyan, Purple, Blue, Brown, Green, Red, Black. (Space in name of color must be replaced with character "_").
And you can use decimal RGB-values to define color.
Examples:
/biome swamp
/biome swamp red
/biome light_blue
/biome plains 125,100,255
/biome smooth [radius]
/wm smooth [radius]
Smooth color transition between different grass colors.
/brush
Display current brush name and brush settings
/brush give
Give player brush item. Item type, data and name configured at config.yml
/brush <brushType> radius <radius> [<paramter> <value>] ...
Supported brush types:
- BUILD — place a sphere or circle of blocks.
Supported parameters:block <type>[:data]
— block type that will used to create sphereradius <radius>
— radius of spheretype <ball|disk>
— place sphere or circle of blocks
- BREAK — remove blocks from the world
Supported parameters:block <type>[:data]
— block type that will removedradius <radius>
— radius of spheretype <ball|disk>
— remove sphere or circle of blocks
- FILL — fill areas using flood fill algorithm. Fill distance
horizontally limited by radius, but vertically (down) will fall as far as possible
Supported parameters:block <type>[:data]
— block type that will used to placeradius <radius>
— radius of sphere
- BIOME — set biome or/and grass color
Supported parameters:biome <biomeName>
— biome name (spce replaced with "_")color <colorName|r,g,b>
— grass colorradius <radius>
— brush size
- SMOOTH — make grass color transition softer
radius <radius>
— brush sizesize <size>
— matrix size (by default equal to radius)