Access Denied (Legacy)
The Access Denied (Legacy) modification grants administrators full authority over player access to Minecraft dimensions, allowing server owners and modpack developers to thoroughly customize the rules.
This utility enables the complete blocking of specific worlds or allows you to establish a variety of achievement-based preconditions necessary for entering a particular dimension. The customization options are valid for all versions of the modification beginning with 1.0.0-beta.1.
Basic Settings
The main configuration file is located at world/serverconfig/access_denied/configuration.toml and provides the following options:
disabledDimensions: A list of dimensions that are entirely inaccessible.pushBackPlayer: Teleports the player back from the portal if access is denied.consumeItem: Consumes the items specified in theitemKeyscondition upon requirement completion.accessDeniedMessage: A custom message shown to players lacking entry permission.requirementsMessageBuilder: A formatter that assembles the detailed conditions for entry.
Dimension Requirements
You can define detailed requirements a player must satisfy to access a dimension via JSON configuration files, placed within the config/access_denied folder. These files may have any descriptive name composed exclusively of lowercase latin characters without spaces. The dimension parameter is mandatory in each file, denoting the unique identifier of the targeted world. Available prerequisites include achieving an XP level minimum, accumulating total gameplay time, placing or mining a certain number of blocks, possessing designated items within the player inventory, having specified effects, having specified health and death counts, completing accomplishments, successful angling events, quest completion using FTB Quests functionality, and much more. Additionally, you can implement a chance-based final check after all other conditions are met, restrict the entry condition based on biome or world location, and set requirements for slaying hostile creatures or PvP eliminations.
The example below offers a ready template suitable for the Nether dimension.
{
"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"
],
"jumps": 75,
"timesFished": 12,
"ftbQuestIds": [
"questId1",
"questId2"
],
"mobBounties": {
"minecraft:cow": 5,
"minecraft:zombie": 14
},
"blockBounties": {
"minecraft:glass": 10,
"minecraft:end_stone": 64
}
}