What is this mod?
Dimension Blocker is a server-side mod that adds new commands to block access to dimensions on your server! This mod only block access through portals and teleportation but not with /execute, so admins have still a way to teleport to restricted dimensions.
What new commands?
Here is the list :
- /blockdimension [dimension_name] : Block the dimension provided.
- /unblockdimension [dimension_name] : Unblock the dimension provided.
- /languagedimension [language] : Change the language used by the mod for the player.
- /getdimensionpermission [dimension_name] : Get the permission name linked to the dimension (you can click on it to copy to the clipboard), add it to a group or a player with your permissions mod to allow the access in a specific dimension.
What is the translations system?
A config file _"dimensionblockertranslations.json" is automatically generated on server start, you can add translations as below that your players can use with the /languagedimension command (here i added a french translation):
{
"en": {
"dimension_cancel": "You can\u0027t teleport to this dimension.",
"blockdimension_success": "Dimension is now blocked!",
"blockdimension_failure": "Dimension is already blocked.",
"unblockdimension_success": "Dimension is no longer blocked!",
"unblockdimension_failure": "Dimension is not blocked.",
"dimensionlanguage_success": "DIMENSION language changed!",
"dimensionlanguage_failure": "Error : The language provided is invalid.",
"version": "1"
},
"fr": {
"dimension_cancel": "Vous ne pouvez pas vous téléporter dans cette dimension.",
"blockdimension_success": "La dimension est maintenant bloquée !",
"blockdimension_failure": "La dimension est déjà bloquée.",
"unblockdimension_success": "La dimension n'est plus bloquée !",
"unblockdimension_failure": "La dimension n'est pas bloquée.",
"dimensionlanguage_success": "La langue de la dimension a été modifiée !",
"dimensionlanguage_failure": "Erreur : La langue fournie est invalide.",
"version": "1"
}
} How to Install Dimension Blocker (Mod)
Dimension Blocker by MimStar_ is verified for Fabric across Minecraft versions 1.20.1, 1.21.1, 1.21.5, 1.21.6, 1.21.7, 1.21.8 (latest release: 1.1.0, file size: 36 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21.1, 1.21.5, 1.21.6, 1.21.7, 1.21.8) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Dimension Blocker file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Added permissions system to still allow players to teleport into a dimension if they have the right permission
- Added /getdimensionpermission
- Added permissions system to still allow players to teleport into a dimension if they have the right permission
- Added /getdimensionpermission
- Added permissions system to still allow players to teleport into a dimension if they have the right permission
- Added /getdimensionpermission
- Added permissions system to still allow players to teleport into a dimension if they have the right permission
- Added /getdimensionpermission
- Added permissions system to still allow players to teleport into a dimension if they have the right permission
- Added /getdimensionpermission
- Added permissions system to still allow players to teleport into a dimension if they have the right permission
- Added /getdimensionpermission