Skip to content

Adds a simple command for disabling nether and end portals separately.

License

Notifications You must be signed in to change notification settings

spaceclouds42/DisablePortals

Repository files navigation

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

About

Adds a simple command for disabling nether and end portals separately.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages