▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Banned Commands
Banned Commands

Banned Commands

Server mod to prohibit configured commands based on dimension

Оцените первым
169
0

This is a simple mod that prevents commands from being run based on what dimension the player is in, regardless if the player has access to the command through a different permission management mod. Players with a permission level of 2 or more (ops) are exempt from restrictions.

This example config prevents /warp and /rtp from being used in the overworld, as well as any added parameters, such as /warp spawn. This also prevents /spawn from being used in all dimensions by default except for the overworld. The config is read from /config/bannedcommands.json and is automatically created if it does not exist.

{
  "default": {
    "denyMessage": "&cYou cannot use that command here.",
    "commands": [
      "spawn"
    ]
  },
  "minecraft:overworld": {
    "denyMessage": "&cNo teleports in the overworld.",
    "commands": [
      "warp",
      "rtp"
    ]
  }
}

Commands (level 2/op only):

  • /bannedcommands reload : Reloads the config
  • /bannedcommands status : Displays the dimension id and commands listed for that dimension, for debugging purposes

This mod is open source and was created for the Cherry Cobblemon server: https://discord.gg/95mxCabJWf

Партнёрский материал

Как поиграть с друзьями с модом Banned Commands?

Мод Banned Commands куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Banned Commands будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:8 месяцев назад
Обновлён:8 месяцев назад
Главная