CivChestTracker
此 CivianMod 是 ChestTracker 的一个“分支”,专为 CivMC 设计。
为什么?
CivMC 对机器人和模组有相当严格的规定。任何出于任何目的(除已批准的例外情况外)读取任意方块信息的模组均自动违规并可能导致封禁。由于 ChestTracker 会读取容器方块的位置和类型,因此它是非法的。管理员已拒绝授予 ChestTracker(及类似模组)例外许可。因此,唯一的出路是将 ChestTracker 进行分支修改以使其合法化。
你必须启用 /cti 命令,否则 CivChestTracker 将无法正常工作。
什么是 /cti?
这是 Citadel 的一条命令(即 /ctinfo 的缩写),它会通过系统消息告诉你刚刚交互的方块受到何种加固保护(如果有)。该消息还包含方块的位置信息。鉴于该消息数据包是在打开库存数据包之前发送的,CivChestTracker 因此能够重新实现方块交互功能。
更改
以下更改适用于所有模式(无论是否处于“Civ 模式”):
限制
以下更改基于启用了“Civ 模式”这一假设(默认情况下为启用状态):
-
忽略方块交互,转而依赖 /cti 元数据。如果没有启用 /cti,ChestTracker 就无法将库存与方块位置关联起来。
-
忽略方块放置。放置的箱子不会自动添加到 ChestTracker 的数据库中。
-
忽略方块破坏。破坏箱子不会将其从 ChestTracker 的数据库中移除。
-
忽略连接方块。确定容器是否为双层箱的一侧需要读取方块数据,这是被禁止的。不幸的是,这意味着 ChestTracker 会将双层箱的每一侧视为两个独立的容器。
CivChestTracker
This CivianMod is a 'fork' of ChestTracker specifically for CivMC.
Why?
CivMC has some pretty strict rules regarding bots and mods. Mods that read ANY block information for ANY purpose (other than an approved exception) are automatically illegal and bannable. And since ChestTracker reads the container-block location and type, it is thus illegal. The admins have ignored requests to grant ChestTracker (and similar mods) an exception. As such, the only way forward is to fork ChestTracker to make it legal.
You NEED to have /cti enabled or otherwise CivChestTracker cannot function.
What is /cti?
It's a Citadel command (short for /ctinfo) which tells you via system message what reinforcement, if any, is protecting the block you just interacted with. This message also include the block's location. Given that the message packet is sent prior to the inventory-open packet, CivChestTracker is thus able to reimplement block interactions.
Changes
These are changes that apply regardless of "Civ mode":
-
Integrity settings removeOnPlayerBlockBreak and checkPeriodicallyForMissingBlocks are now false by default. Similarly, tooltips have been added to their respective buttons to convey their illegality.
-
Added a block-selection screen, allowing you to 'pick' a block to be removed from ChestTracker's database.
Restrictions
These are changes that assume that "Civ mode" is enabled, which it is by default:
-
Block interactions are disregarded, instead relying on /cti metadata. Without /cti enabled, ChestTracker has no means to associate an inventory with a block location.
-
Block placements are disregarded. Placed chests will not automatically be added to ChestTracker's database.
-
Block breaks are disregarded. Breaking a chest will not remove it from ChestTracker's database.
-
Connected blocks are disregarded. Determining whether a container is one side of a double-chest requires reading block data, which is disallowed. Unfortunately this means ChestTracker will consider each side of a double-chest to be two distinct containers.
评论 0
登录后参与评分
还没有评论,来抢沙发吧