Add force-remove command for Multiverse inventory groups
This commit is contained in:
11
README.md
11
README.md
@@ -28,12 +28,12 @@ silently replace that inventory.
|
||||
mvn clean package
|
||||
```
|
||||
|
||||
The finished plugin is `target/AntiInventories-1.0.0.jar`.
|
||||
The finished plugin is `target/AntiInventories-1.1.0.jar`.
|
||||
|
||||
## Install
|
||||
|
||||
1. Back up the Multiverse-Inventories data directory.
|
||||
2. Put `AntiInventories-1.0.0.jar` in the server's `plugins` directory.
|
||||
2. Put `AntiInventories-1.1.0.jar` in the server's `plugins` directory.
|
||||
3. Make sure Multiverse-Core and Multiverse-Inventories are installed.
|
||||
4. Start the server.
|
||||
5. Edit `plugins/AntiInventories/config.yml`, or use the commands below.
|
||||
@@ -44,12 +44,19 @@ The finished plugin is `target/AntiInventories-1.0.0.jar`.
|
||||
| --- | --- |
|
||||
| `/antiinv add <world>` | Add a bypass world |
|
||||
| `/antiinv remove <world>` | Remove a bypass world |
|
||||
| `/antiinv forceremove <world>` | Remove the world from every explicit Multiverse-Inventories group and AntiInventories, then reload both plugins |
|
||||
| `/antiinv list` | Show bypass worlds and direction |
|
||||
| `/antiinv reload` | Reload `config.yml` |
|
||||
|
||||
The aliases `/antiinventories`, `/antiinv`, and `/ai` are available. Commands
|
||||
require `antiinventories.admin`, which defaults to server operators.
|
||||
|
||||
`/antiinv list` also shows a clickable **Force remove** control beside each
|
||||
bypass world. It places the force-removal command in chat for confirmation.
|
||||
If a world belongs to a Multiverse-Inventories group through a wildcard or
|
||||
regular expression, the command stops atomically and reports that pattern
|
||||
instead of changing it and potentially removing other worlds.
|
||||
|
||||
## Direction setting
|
||||
|
||||
`bypass-direction` controls which crossings are ignored:
|
||||
|
||||
Reference in New Issue
Block a user