Block Ban 图标

Block Ban

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/block-ban-a
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10

平台: paper

标签: game-mechanics management optimization

资源介绍

Block Ban is a Paper plugin created to ban blocks from being placed in certain worlds, or the whole server. The configuration file looks something like this:

default-banned-message: "<red>You cannot place that block!</red>"

worlds:
  # This section is specific to the overworld. Please change if your overworld has a different name.
  world:
    # This is optional, the default banned message will be used if not specified here.
    banned-message: "<red>You cannot place that block!</red>"

    # Leaving this empty is the same as not including this world in the list.
    banned-blocks:
      TNT:
        banned-message: "<red>You cannot place TNT!</red>"

      # No banned message is specified here, so the world's message will be used.
      OBSIDIAN: {}

  # This section contains server-wide block bans.
  __server__:
    banned-blocks:
      TNT:
        banned-message: "<red>You cannot place TNT! In the overworld, this message will be overwritten.</red>"

A minimal version that only bans TNT server-wide would look like this:

default-banned-message: "<red>You cannot place that block!</red>"

worlds:
  __server__:
    banned-blocks:
      TNT: {}

Of course, you may want custom messages for each banned block. That is totally doable, and is why Block Ban should be your plugin for banning blocks. The provided example in the real configuration is more direct than this, and explains everything you need to know when banning blocks.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Coal To Paint

价格:0 墨喵币
下载量:0

查看详情
Cozy Horrors

价格:0 墨喵币
下载量:0

查看详情
AHZNB Modpack

价格:0 墨喵币
下载量:0

查看详情
More Music Disk - Official NetherRP Datapack

价格:0 墨喵币
下载量:0

查看详情