Debug Properties Plus
调试属性仅用于调试目的。它们可能会损坏你的世界!只有在你知道自己在做什么的情况下才使用此模组。
这是一个 Minecraft Fabric 模组,它添加了一个便捷的界面,用于在运行时修改 调试属性。该界面可以通过 F3+F7(可在控制设置中更改)以及 Mod Menu 打开。当该模组也安装在服务器上且玩家拥有 OP 权限时,这也允许更改服务器的调试属性。
此外,它还添加了一个 /debugproperties 命令,以便在客户端未安装该模组的情况下也能在服务器上设置属性。
由于调试属性种类繁多,该模组对不同类型进行了区分:
客户端属性:
这些属性会影响客户端的某些行为。这些属性可以全局设置,从而影响所有会话和世界。
- 其中一些属性(主要是调试渲染器)要求玩家拥有 OP 权限。如果缺少权限,会显示警告。
- 其中一些属性在多人游戏中完全无效。如果在服务器上,会显示警告。
全局服务器属性:
这些属性会影响服务器的行为。它们是全局设置的,影响单人游戏中的所有世界,但在服务器上需要单独设置。在服务器上设置它们需要 OP 权限,局域网会话的访客无法更改它们(因为这会影响主机在不同世界中的属性)。
按世界设置的属性:
这些是最危险的属性,因为它们直接影响世界(即意外启用的属性可能会对世界造成持久性损害)。因此,它们是按世界设置的,并且必须为每个世界单独启用。
在世界创建期间,有一个选项可以在世界创建之前设置这些属性。在主菜单中打开 F3+F7 界面时可以设置默认值。要在服务器上设置,它们需要 OP 权限,但可以由局域网会话的访客设置。
无效属性:
一些属性在原版中没有效果,因此完全不处理。
Debug Properties Plus
Debug properties exist for debugging purposes only. They might corrupt your world! Only use this mod if you know what you are doing.
This is a Minecraft fabric mod that adds a convenient UI to modify debug properties
at runtime. The UI can be opened using F3+F7 (can be changed in controls) and using Mod Menu. This also allows changing debug properties
of the server when the mod is also installed on the server and the player has OP permissions.
Additionally, adds a /debugproperties command to set properties on the server, even when the mod is not installed on
the client.
Because debug properties are very diverse, the mod differentiates between different types:
Client properties:
These properties affect some behavior of the client. Those properties can be set globally and then affect all sessions and
worlds
- Some of these properties (mostly debug renderers) require the player to have OP permissions. A warning is shown
when permissions are missing.
- Some of these properties don't work at all in multiplayer. A warning is shown when on a server.
Global server properties:
These properties affect the behavior of the server. They are set globally and affect all worlds in singleplayer, but need
to be set separately on a server. They require OP permissions to set on a server and can't be changed by visitors of a LAN
sessions (as that would affect the properties of the host even in different worlds).
Per world properties:
Those are the most dangerous properties, as they affect the world directly (i.e. an inadvertently enabled property can cause
lasting damage to a world). Therefore, they are set on a per-world basis and have to be enabled seperately for each world.
During world creation, there is an option to set those properties before the world is created. Default values can be set
when opening the F3+F7 menu while in the main menu. To set on a server, they require OP permissions, but they can be set
by visitors of LAN sessions.
Ineffective properties:
Some properties have no effect in vanilla and are therefore not handled at all.
评论 0
登录后参与评分
还没有评论,来抢沙发吧