Adds info about how to configure the plugin
This commit is contained in:
parent
e233e5d918
commit
37a773511d
22
README.md
22
README.md
@ -8,3 +8,25 @@ restrictions, like denying item dropping, and denying any sell commands within t
|
||||
## Dependencies
|
||||
|
||||
- WorldGuard
|
||||
|
||||
## Configuration
|
||||
|
||||
Add the identifier (name or UUID) of the world you want to specify a region for as a sub-key of clearRegions. Make sure
|
||||
your world identifier is a string list "worldName: []", and add any regions you want to enable inventory clearing for to
|
||||
the list of the world the region belongs to.
|
||||
|
||||
Example config:
|
||||
|
||||
```yaml
|
||||
clearRegions:
|
||||
world:
|
||||
- "creative_building"
|
||||
- "clear"
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```yaml
|
||||
clearRegions:
|
||||
world: [ "creative_building", "clear" ]
|
||||
```
|
@ -2,6 +2,6 @@
|
||||
clearRegions:
|
||||
# The name or UUID of a world. Add any regions that should force inventory clearing as a comma-separated list inside
|
||||
# the square parentheses.
|
||||
world: []
|
||||
world_nether: []
|
||||
world_the_end: []
|
||||
world: [ ]
|
||||
world_nether: [ ]
|
||||
world_the_end: [ ]
|
Loading…
Reference in New Issue
Block a user