游戏内的一些规则命令

规则名称 规则代码 规则Bool变量 规则解释
自动爬坡权限
/addrule Player AutoWalkupBlock [true|false]

ture: 允许自动

false: 禁止自动

正常规则:规定玩家是否允许系统自动帮玩家爬上 高度为一格的方块

规则实例:/addrule Player AutoWalkupBlock false

方块摆放权限
/addrule Player CanPlace [方块名A] [方块名B,方块名B1,方块名B2, ...]

方块名A: 一般表示玩家手中/背包中的方块

方块名B: 一般表示游戏场景中的固定方块,若有多个可以用英文逗号分隔

方块名可以用BlockID或者是BlockName

正常规则:规定玩家只能将 方块名A 方块放置在 方块名B 上面

规则实例:/addrule Player CanPlace Lever Glowstone,62

规则解释:在此游戏中,拉杆机关只能放在萤石或草方块(id==62)上面

方块销毁权限
/addrule Block CanDestroy [方块名1,方块名2,方块名3, ...] [true|false]

ture: 允许销毁

false: 禁止销毁

允许玩家在此世界中销毁 [某方块] 并自动获得被销毁的物品,若有多个可以用英文逗号分隔。
跳跃功能权限
/addrule Player CanJump [true|false]

ture: 允许跳跃

false: 禁止跳跃

规定玩家在此世界中是否可以跳跃
连跳功能权限
/addrule Player CanJumpInAir [true|false]

ture: 允许连续跳跃

false: 禁止连续跳跃

规定玩家在此世界中是否可以连续跳跃
跳跃速度设置
/addrule Player JumpUpSpeed [数字]
*数字:*可填1-99任意数字 向上跳跃速度(默认是6.5)
重力速度设置
/gravity [数字]
*数字:*可填1-99任意数字 游戏中的重力设置(默认是9.18)
人物密度设置
/density [数字]
*数字:*可填1-99任意数字 游戏中的人物密度设置(默认是1.2)
人物速度设置
/speedscale [数字]
*数字:*可填1-99任意数字 游戏中的人物相对速度设置(默认是1)
摄影机摇摆设置
/viewbobbing [true|false]

ture: 允许摄影机摇摆

false: 禁止摄影机摇摆

规定玩家在此世界中的摄影机是否会跟随玩家的移动而摇摆
点击范围设置
/addrule Player PickingDist [数字]
*数字:*可填1-99任意数字 鼠标点击范围(默认是6格)
游戏模式设置
/mode [game|editor]

game: 探险模式

game: 创造模式

锁定游戏模式,无法用G切换

游戏模式1:探险模式

游戏模式2:创造模式

Comments

Topic revision: r6 - 2014-02-24 - WangRui
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback