ShareEnderChest
一个简单的 Fabric 模组,为所有玩家提供共享库存,可通过末影箱访问。
要正常运行,该模组必须安装在服务器上。如果安装在客户端上,则会启用额外功能。
有以下几种方式可以打开共享末影箱:
-
Shift+右键点击 末影箱子块 [潜行 + 使用]
-
手持末影箱时 右键点击 [使用物品]
-
在背包中 Ctrl+点击 或 Alt+点击 末影箱物品
选项 3 需要服务器和客户端都安装了该模组。
容量:54 个槽位(与双格储物箱相同)
每 5 分钟自动保存一次,以防崩溃导致库存丢失。
配置
从版本 2.0.0 开始,会在 config 目录中创建一个新的配置文件 shareenderchest.json。这允许服务器管理员修改模组的某些方面。
autosaveSeconds - 自动保存箱子内容的间隔时间(默认值:300)
requireSneak - 开启共享末影箱时需要潜行(默认值:true | 警告:如果设置为 false,你将无法访问原版末影箱!)
inventoryRows - 共享箱子中的库存行数(默认值:6 | 范围:1 到 6 | 警告:减少此值可能导致物品丢失,请谨慎编辑)
openInHand - 允许从玩家手中打开末影箱(默认值:true)
openFromInventory - 允许从玩家背包中打开末影箱(默认值:true)
playOpenSound - 播放末影箱打开音效(默认值:true)
inventoryName - UI 中显示的共享末影箱名称(默认值:Shared Ender Chest)
ShareEnderChest
A simple Fabric mod that provides a shared inventory for all players, accessible using an Ender Chest.
To function, the mod is required on the server. Additional features are enabled if installed on the client.
There are multiple ways to open the Shared Ender Chest:
-
Shift+Right-click an Ender Chest block [Sneak + Use]
-
Press Right-click with an Ender Chest in your hand [Use Item]
-
Ctrl+Click or Alt+Click an Ender Chest item in your inventory
Option 3 requires the mod to be present on both server and client.
Size: 54 slots (same as a double chest)
An autosave is performed every 5 minutes to protect the inventory in case of a crash.
Configuration
Starting with version 2.0.0, a new config file shareenderchest.json is created in the config directory. This allows server owners to modify a few aspects of the mod.
autosaveSeconds - interval to autosave the chest contents (default: 300)
requireSneak - require sneaking to open the shared ender chest (default: true | warning: if set to false, you cannot access the vanilla ender chest!)
inventoryRows - number of inventory rows in the shared chest (default: 6 | range: 1 to 6 | warning: reducing this value can cause loss of items, edit with caution)
openInHand - allow opening ender chest from the player's hand (default: true)
openFromInventory - allow opening ender chest from the player's inventory (default: true)
playOpenSound - play the ender chest opening sound (default: true)
inventoryName - the name of the shared ender chest displayed in the ui (default: Shared Ender Chest)
评论 0
登录后参与评分
还没有评论,来抢沙发吧