Compatibility
Minecraft: Java Edition
1.21–1.21.5
1.20.x
1.19.x
1.18.x
Platforms
Supported environments
Creators
Details
Licensed ARR
Published 2 years ago
Updated last month
Access Denied
Access Denied allows server owners and modpack developers to have complete control over players' access to dimensions.
This mod's extensive customizability allows you to either disable certain dimensions entirely, or setup various requirements the players must complete before being able to access that specific dimension.
Warning
This description only works for versions from 6.0.0
upwards.
Configuration
Access Denied has a general configuration, located at these locations based on the loader:
- NeoForge:
config/access_denied/configuration.toml
- Forge:
world/serverconfig/access_denied/configuration.toml
In this configuration, you can customize:
disabledDimensions
--> List of dimensions (can be left empty) that players cannot access at all.pushBackPlayer
--> Option to push the player outside of the portal when they cannot enter the dimension.
Dimension Requirements
Let's move on to setting up the Dimension Requirements.
Access Denied provides a vast amount of optional requirements that can be added:
- REQUIRED:
dimension
= Registry name of the dimension blocksBroken
= Amount of blocks that must be minedblocksPlaced
= Amount of blocks that must be placedxpLevel
= Level of experience requiredplayerKills
= Amount of player kills requiredmobKills
= Amount of entity kills required (Does not count players)playTime
= Amount of seconds of playtime requireditemsKey
= List of itemsthe player must have in their inventoryeffects
= List of effectsthe player must have activehealth
= The health the player must havedeaths
= The amount of deaths the player must havechance
= Additional chance to get into the dimension if the rest of the requirements are metadvancements
= List of advancements the player must have completed
These requirements must be placed inside a json file (can be named anything you want, but no spaces or capital letters) inside of the folder config/access_denied
.
Here's an example:
nether.json
{
"dimension": "minecraft:the_nether",
"blocksBroken": 35,
"blocksPlaced": 70,
"xpLevel": 30,
"playerKills": 3,
"mobKills": 10,
"playTime": 300,
"itemsKey": [
"minecraft:diamond",
"minecraft:netherite_sword"
],
"effects": [
"minecraft:strength",
"minecraft:invisibility"
],
"health": 20,
"deaths": 1,
"chance": 50,
"advancements": [
"minecraft:story/follow_ender_eye",
"minecraft:adventure/kill_a_mob"
]
}
Requirements Builder
On our website there is a page to setup the requirements you want in a user friendly way! Try it out!