EntityPortalLock
Control Entities use Portals, Allows blocking specific entity types from using portals.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
EntityPortalLock
EntityPortalLock
Control Entities use Portals
Command Usage:
| Description | Description | | :--- | :--- | | `/eplock add <Entity Type>` | Add the entity to the list | | `/eplock remove <Entity Type>` | Remove the entity from the list | | `/eplock reload` | Reload the configuration file | | `/eplock list` | List the entity types in the list |
Command Permission: - By default, only server administrators have this permission. ``` entityportallock.admin ```
You can refer to the following URL for Entity Type https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
config.yml ⬇ Prevent Chicken, Cow, Copper_Golem, Pig from using the Portal. ``` EntityTypeList: - CHICKEN - COW - COPPER_GOLEM - PIG ```
The plugin's default configuration block "item" from using Nether Portals. To allow dropped items to use portals, use the following command: This command will remove DROPPED_ITEM from the config file. ``` /eplock remove DROPPED_ITEM ```
If you don't want to block any entities from using portals to teleport, simply configure the following in the config file: ``` EntityTypeList: [] ```