timbo2040 / AntiPortals

This plugin allows you to enable and disable portal travel. 1.20.4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AntiPortal

This plugin has 2 commands, /enableportals and /disable portals. If portals are disabled, the PlayerPortalEvent is simply canceled. If they are enabled with the command, then it will not be canceled.

I personally wanted to allow End Gateways, but if you do not want to, then simply remove the if statement at line 43 and put the contents in the if (portalUsageEnabled) statement.

This plugin is far from perfect, so if you are actively using it and are annoyed with a bug, open an issue and I will resolve it :)

About

This plugin allows you to enable and disable portal travel. 1.20.4.


Languages

Language:Java 100.0%