Disable Portals
A modification that provides the ability to disable portals to different dimensions. With this utility, server administrators can manage access to portals to the Nether and the End.

Command Usage
For managing functionality, the disableportals command is available, which can be used by server operators:
disableportals reloadConfig- reloads the configuration file from theconfig/DisablePortals.jsonfolderdisableportals (netherAllowed|endAllowed|endGatewaysAllowed) (true|false)- enables or disables portals to the specified dimension. For example, the commanddisableportals endAllowed falsewill block all portals to the End
Configuration via Config File
On first launch, a configuration file config/DisablePortals.json is automatically created:

By default, all portals are active. To disable portals to the Nether through configuration, set the disableNetherPortals parameter to true. If you make changes to the configuration while the game is running, you must execute the disableportals reloadConfig command to apply the changes.