Command-it 是一个 Fabric 模组,通过新增的游戏规则(Gamerules)和命令,为原版游戏提供服务器端的自定义功能。它还添加了一个传送点(Warps)和家(Homes)系统,默认处于禁用状态,但允许管理员启用。
命令:
/explode <power> [<targetEntity>|<targetPos>] [<createsFire>]
- 使用给定参数在目标实体/位置创建爆炸。
- 当使用目标实体时,该实体将作为爆炸源,从而避免其受到伤害。
/smite <targetEntity>
/freeze <targetEntity> [<ticks>]
/burn <targetEntity> [<ticks>]
/heal <targetEntity> [<amount>]
/enderchest <player>
- 快捷指令: /echest <player>
- 允许管理员查看并修改其他玩家的末影箱。
- 如果游戏规则允许或处于创造模式,你无需管理员权限即可访问自己的末影箱。
/inventory <player>
- 快捷指令: /inv <player>
- 允许管理员查看并修改其他玩家的物品栏。
/animate <player> <itemStack> (需要服务器和客户端安装 JAPI)
- 使用指定物品向指定玩家播放悬浮物品动画。
- 注意:仅当客户端安装了 JAPI 时有效。
传送点与家
/sethome
/home
- 短暂延迟后将玩家传送至家中。
- 如果在延迟期间玩家受到伤害,传送将被取消。
/warp to <name>
/warp create <name> [<pos>] [<hidden>]
- 用于在指定位置或玩家位置创建传送点的管理员命令。
- 名称区分大小写。
- 隐藏的传送点不会出现在传送点列表中。
/warp delete <name>
/warp list [<page>]
/warp cancel
/warps
套装(Kits)
/kit create <name> [<target>]
/kit delete <name>
/kit list [<page>]
/kit give <name> [<target>]
/kit replace <name> [<target>]
修改后的原版命令:
/fenchant <target> <enchantment> [<level>]
- 类似于原版 /enchant 命令,但移除了多项限制,允许非法附魔组合和等级。
游戏规则(Gamerules):
玩家
doPvp [Boolean (默认值:true)]
playersDropHeads [Disabled/Always/OnPlayerKill (默认值:Disabled)]
- 决定玩家死亡时是否掉落头颅。
- OnPlayerKill 要求攻击者必须是玩家实体才会掉落头颅。
playersBreakBlocks [Always/Whitelist/Blacklist/Never (默认值:Always)]
- 决定是否允许玩家破坏方块。
- Whitelist(白名单):仅允许玩家在 "commandit:breakable" 方块标签内的方块中进行破坏。
- Blacklist(黑名单):玩家无法破坏 "commandit:unbreakable" 方块标签内的方块。
playersPlaceBlocks [Always/Whitelist/Blacklist/Never (默认值:Always)]
- 决定是否允许玩家放置方块。
- Whitelist(白名单):仅允许玩家在 "commandit:placeable" 方块标签内的方块中进行放置。
- Blacklist(黑名单):玩家无法在 "commandit:unplaceable" 方块标签内的方块上进行放置。
enableSurvivalEchest [Boolean (默认值:false)]
- 启用后,允许在非管理员状态下使用 /enderchest 命令访问自己的末影箱。
- 使用该命令访问他人的末影箱仍需管理员权限。
传送点与家
ticksToWarp [Integer (默认值:100)]
- 设置在生存模式下,玩家使用 /warp 或 /home 进行传送所需的时间(刻)。
ticksToWarpCreative [Integer (默认值:0)]
- 设置在创造模式下,玩家使用 /warp 或 /home 进行传送所需的时间(刻)。
enableHomes [Boolean (默认值:false)]
- 启用后,允许使用 /home 和 /sethome 命令。
enableWarps [Boolean (默认值:true)]
allowInterdimensionalHomes [Boolean (默认值:false)]
allowInterdimensionalWarps [Boolean (默认值:true)]
红石
doDispensersPlaceBlocks [Boolean (默认值:false)]
pistonPushLimit [Integer (默认值:12)]
- 允许活塞推送比原版更多/更少的方块。
- 默认为原版限制。
- 超过原版限制时动画会出错。由于这不影响游戏玩法,我没有计划修复此动画。
doLodestoneCompassRequireLodestone [Boolean (默认值:true)]
- 禁用后,当连接的磁石被摧毁时,防止磁石指南针疯狂旋转。
维度
disableEndPortals [Boolean (默认值:false)]
disableNetherPortals [Boolean (默认值:false)]
防破坏(Greif Prevention)
doExplosionsBreakBlocks [Boolean (默认值:true)]
- 禁用后,爆炸将不会破坏周围环境,但仍会对实体造成伤害。
doBadSpawnpointsExplode [Boolean (默认值:true)]
- 禁用后,将防止在下界或末地的床以及主世界和末地的重生锚因故意的设计机制而爆炸并杀死玩家。
Command-it is a fabric mod that adds server-side customization of the vanilla game through new Gamerules and Commands. It also adds a warps and homes system that are disabled by default but can be enabled by an operator.
Commands:
/explode <power> [<targetEntity>|<targetPos>] [<createsFire>]
- Creates an explosion at the target entity/position using the given parameters.
- When using a target entity uses that entity as the explosion source preventing them from taking damage.
/smite <targetEntity>
- Summons lightning striking the target entity.
/freeze <targetEntity> [<ticks>]
- Applies freezing ticks to the provided entity.
/burn <targetEntity> [<ticks>]
- Applies fire ticks to the provided entity.
/heal <targetEntity> [<amount>]
/enderchest <player>
- Shortcut: /echest <player>
- Allows admins to view and modify another player's enderchest.
- If permitted by gamerule or in creative you are allowed to access your own enderchest without operator satus.
/inventory <player>
- Shortcut: /inv <player>
- Allows admins to view and modify another player's inventory.
/animate <player> <itemStack> (REQUIRES JAPI ON SERVER & CLIENT)
- Plays the floating item animation to the specified player using the specified item.
- Note: only works if the client has JAPI installed.
Warps & Homes
/sethome
- Saves the players current position as their home.
/home
- Teleports the player to their home after a short delay.
- Warp will be canceled if the player takes damage during the delay.
/warp to <name>
- Begins warping player to destination with the specified name.
/warp create <name> [<pos>] [<hidden>]
- Operator command for creating a warp at the specified position or player's position.
- Names are case sensitive.
- Hidden warps do not appear in the warps lits.
/warp delete <name>
- Deletes a warp from the server.
/warp list [<page>]
- Lists all non-hidden warps on the server.
/warp cancel
- Cancels the player's current warp before teleporting them there.
/warps
Kits
/kit create <name> [<target>]
- Saves the target player's inventory as a kit with the given name.
/kit delete <name>
- Deletes the kit with the provided name from the server.
/kit list [<page>]
- Lists the names of all kits on the server.
/kit give <name> [<target>]
- Gives all items from the kit to the target player.
/kit replace <name> [<target>]
- Replaces the target player's inventory with the items from the kit.
Modified Vanilla Commands:
/fenchant <target> <enchantment> [<level>]
- Similar to the vanilla /enchant command but removes several limitations allowing illegal enchantment combinations and levels.
Gamerules:
Players
doPvp [Boolean (Default:true)]
- Enables / Disables PVP server-wide.
playersDropHeads [Disabled/Always/OnPlayerKill (Default:Disabled)]
- Determines if players drop their head upon death.
- OnPlayerKill requires their attacker to be a player entity to drop their head.
playersBreakBlocks [Always/Whitelist/Blacklist/Never (Default:Always)]
- Determines if players are permitted to break blocks
- Whitelist: only allows players to break blocks in the "commandit:breakable" block tag
- Blacklist: players can not break blocks in the "commandit:unbreakable" block tag
playersPlaceBlocks [Always/Whitelist/Blacklist/Never (Default:Always)]
- Determines if players are permitted to place blocks
- Whitelist: only allows players to place blocks in the "commandit:placeable" block tag
- Blacklist: players can not place blocks in the "commandit:unplaceable" block tag
enableSurvivalEchest [Boolean (Default:false)]
- When enabled allows the use of /enderchest without operator to access your own enderchest.
- Accessing other's ender chests with that command still requires operator status.
Warps & Homes
ticksToWarp [Integer (Default:100)]
- Sets how long it takes for a player to teleport with /warp or /home when in survival mode.
ticksToWarpCreative [Integer (Default:0)]
- Sets how long it takes for a player to teleport with /warp or /home when in creative mode.
enableHomes [Boolean (Default:false)]
- When enabled allows use of /home and /sethome commands.
enableWarps [Boolean (Default:true)]
- When enabled allows use of /warp command.
allowInterdimensionalHomes [Boolean (Default:false)]
- Determines weather players are allowed to warp to their homes accross dimensions.
allowInterdimensionalWarps [Boolean (Default:true)]
- Determines weather players are allowed to warp accross dimensions.
Redstone
doDispensersPlaceBlocks [Boolean (Default:false)]
- Allows dispensers to place blocks instead of spitting them out on the ground.
pistonPushLimit [Integer (Default:12)]
- Allows pistons to push more/less blocks than vanilla.
- Defaults at the vanilla limit.
- Animations break when pushing over the vanilla limit. As it doesn't effect gameplay I have no plans to fix the animation.
doLodestoneCompassRequireLodestone [Boolean (Default:true)]
- When disabled prevents lodestone compass spinning wildly when the connected lodestone is destroyed.
Dimension
disableEndPortals [Boolean (Default:false)]
- Disables use of portals to travel to the End Dimension.
disableNetherPortals [Boolean (Default:false)]
- Disables use of portals to travel to the Nether Dimension.
Greif Prevention
doExplosionsBreakBlocks [Boolean (Default:true)]
- When disabled will cause explosions to not destroy the surrounding environment while still damaging entities.
doBadSpawnpointsExplode [Boolean (Default:true)]
- When disabled will prevent beds in the end or nether, and respawn anchors in the overworld and end from exploding and killing the player with intentional game design.
评论 0
登录后参与评分
还没有评论,来抢沙发吧