Skip to content

EpicBanItemTeam/EpicBanItem

Repository files navigation

EpicBanItem

The sponge plugin for item restriction by checking nbt tags.

通过检查物品 NBT 标签等方式限制物品的 Sponge 插件。

EpicBanItem1

EpicBanItem2

EpicBanItem3

English

Main developer:

Assist developers:

EpicBanItem is now based on Minecraft 1.12.2 and SpongeAPI 7.1.0.

EpicBanItem achieves the goal of item banning by mapping items (and blocks sometimes) to NBT and then checking and updating them. The NBT format mapped to is the same as Command NBT Tags format in Minecraft, instead of the one provided by Sponge. The only difference is, the Count tag will be erased when generating NBT, and only two tags named id and Damage will exist, sometimes togethered with tag.

EpicBanItem uses the method similar to MongoDB for querying and updating NBT. EpicBanItem currently supports most of the operators used in MongoDB for querying and updating.

All the configurations related to EpicBanItem are located in config/epicbanitem/ directory, which contains two files named banitem.conf (used to store rules and related options) and settings.conf (used to store global options). All the commands related to EpicBanItem begin with /ebi. All the permissions related to EpicBanItem begin with epicbanitem.

EpicBanItem is entirely licensed under GPL-3.0 and includes bstats-metrics licensed under LGPL-3.0 for data collection and statistics. The file named config/bStats/config.conf can be edited in order to choose whether to enable data collection and statistics or not.

简体中文

主要开发者:

协助开发者:

EpicBanItem 目前适用于 Minecraft 1.12.2 和 SpongeAPI 7.1.0。

EpicBanItem 通过将物品(有时还包括方块)映射到 NBT,并对其进行检查和更新,以完成物品禁用的目标。物品映射到的 NBT 格式和 Minecraft 中的命令 NBT 标签格式,而非和 Sponge 提供的一致。唯一的区别在于,生成 NBT 时,Count 标签会被抹除,因此只会剩下 idDamage 两个标签,有时还会有 tag 标签。

EpicBanItem 使用类似于 MongoDB 的方式检索更新 NBT。EpicBanItem 目前已经支持了 MongoDB 中大多数用于检索和更新的运算符

和 EpicBanItem 有关的配置文件位于 config/epicbanitem/ 目录下,其中包含 banitem.conf(用于存储规则及相关选项)和 settings.conf(用于存储全局配置)两个文件。所有和 EpicBanItem 的命令均以 /ebi 开头。所有和 EpicBanItem 有关的权限均以 epicbanitem 开头。

EpicBanItem 整体使用 GPL-3.0 协议授权,其中包含了使用 LGPL-3.0 协议授权bstats-metrics,用于数据收集和统计。使用者可自行编辑名为 config/bStats/config.conf 的文件选择是否开启数据收集和统计。