跳到正文

Dimension Blocker

作者:MimStar_

A simple mod to block the access to dimensions!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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 _”dimensionblocker_translations.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"
  }
}

常见问题

Dimension Blocker 支持哪些 Minecraft 版本?

Dimension Blocker 支持 Minecraft Java 版 1.20.1–1.21.8,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Dimension Blocker 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

MimStar_ 的其他作品

查看全部 →