Disable Portals

Disable Portals

Mod

A simple mod that allows for the disabling of nether portals and end portals.

Server Utility

375 downloads
8 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Disable Portals

A simple mod that allows for the disabling of nether portals and end portals. It adds the disableportals command for all operators.


screenshot example screenshot example

Command Usage

disableportals reloadConfig - reloads the config file, located in config/DisablePortals.json

disableportals (netherAllowed|endAllowed|endGatewaysAllowed) (true|false) - sets the selected dimension's portals to work or not to work.Ex: disableportals endAllowed false will turn off end portals.

Config Usage

A config file (config/DisablePortals.json) will auto generate and look like this

config file screenshot

By default, no portals are disabled. To disable nether portals through the config, set disableNetherPortals to true. If you make changes to the config while the game is running, you will have to run disableportals reloadConfig for the changes to take effect.


Fabric API Badge

Join the Discord for support

Details

Licensed LGPL-3.0-only
Published 4 years ago
Updated 4 years ago