更新3.3

This commit is contained in:
boybook
2025-03-18 14:46:12 +08:00
parent e0e8ad3192
commit 481c844a80
11938 changed files with 149901 additions and 23781 deletions

View File

@@ -80,7 +80,7 @@ method in mod.server.component.commandCompServer.CommandCompServer
| 参数名 | <div style="width: 4em">数据类型</div> | 说明 |
| :--- | :--- | :--- |
| cmdStr | str | 指令 |
| playerId | str | 玩家id:可选,如果playerId不设置,则随机选择玩家 |
| entityId | str | 实体Id:可选,如果不设置,则随机选择玩家 |
| showOutput | bool | 是否输出到聊天窗口可选默认False如果为True的话指令正确时才会和聊天框输入原生指令一样输出返回信息。只有当该参数为True的时候会触发OnCommandOutputServerEvent与OnCommandOutputClientEvent |
- 返回值
@@ -89,6 +89,9 @@ method in mod.server.component.commandCompServer.CommandCompServer
| :--- | :--- |
| bool | 命令是否执行成功 |
- 备注
- entityId 为非玩家时即使showOutput为true也不会输出到聊天窗口且OnCommandOutputClientEvent 事件不会被触发
- 示例
```python