ModsJava
PortalRestrictions
Java mod listed for Minecraft 1.18. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotEver wanted to just restrict Nether? Or maybe, you're sick of people getting to The End too fast? Well, I've got you covered.
PortalRestrictions allows you to restrict the accessibility of Nether and End portals.
NB! Restriction duration can only be specified in days at this time.
Restriction Targets:
- END_PORTAL
{ Restriction affects end portals.
- NETHER_PORTAL
{ Restriction affects nether portals.
Restriction Types:
- DISALLOW_CREATE_PORTAL
{ Restricts portal creation. GLOBAL ONLY!
- DISALLOW_ENTER_PORTAL
{ Restricts portal entry. Supports targeted players.
Restriction Contexts:
- RESTRICT_GLOBAL
{ Restriction affects everyone and everything.
- RESTRICT_PLAYERS
{ Restriction affects selected players. Not applicable to portal creation.
Commands
/viewrestriction <restrictionTarget>
Shows the information for the restriction under this target.
/setrestriction <restrictionTarget> <restrictionType> <restrictionDurationInDays> <restrictionContext>
Note: If the restriction you're setting has the RESTRICT_PLAYERS context, you don't have to specify it. Instead, type in the players you want to restrict.
Example: /setrestriction END_PORTAL DISALLOW_ENTER_PORTAL 2 Steve Alex Mike
(assuming these players are online)
/viewrestriction <restrictionTarget>
Shows the information for the restriction under this target.
/removerestriction <restrictionTarget>
Removes the restriction under this target.
PortalRestrictions allows you to restrict the accessibility of Nether and End portals.
NB! Restriction duration can only be specified in days at this time.
Restriction Targets:
- END_PORTAL
{ Restriction affects end portals.
- NETHER_PORTAL
{ Restriction affects nether portals.
Restriction Types:
- DISALLOW_CREATE_PORTAL
{ Restricts portal creation. GLOBAL ONLY!
- DISALLOW_ENTER_PORTAL
{ Restricts portal entry. Supports targeted players.
Restriction Contexts:
- RESTRICT_GLOBAL
{ Restriction affects everyone and everything.
- RESTRICT_PLAYERS
{ Restriction affects selected players. Not applicable to portal creation.
Commands
/viewrestriction <restrictionTarget>
Shows the information for the restriction under this target.
/setrestriction <restrictionTarget> <restrictionType> <restrictionDurationInDays> <restrictionContext>
Note: If the restriction you're setting has the RESTRICT_PLAYERS context, you don't have to specify it. Instead, type in the players you want to restrict.
Example: /setrestriction END_PORTAL DISALLOW_ENTER_PORTAL 2 Steve Alex Mike
(assuming these players are online)
/viewrestriction <restrictionTarget>
Shows the information for the restriction under this target.
/removerestriction <restrictionTarget>
Removes the restriction under this target.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.18
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
PortalRestrictions is a free Minecraft Java mod. Compatible with Minecraft 1.18. Downloaded 76 times (via Spigot). Download it and open it directly in the game.