# Oraxen 指令

## Oraxen基本信息

所有的oraxen命令都以相同的标签开始。这个标签oraxen，有几个别名，所以如果你不想每次都输入/oraxen，你也可以使用/oxn甚至/o 。 在本教程中，我们将使用/o，因为它是最短的, 但如果这个命令已经被其他插件使用，或者你因为任何原因不能使用它, 只需用/oxn或/oraxen替换以/o开头的命令

## 获取物品

### 测试指令

这种方法的主要好处是可以让你同时看到所有的物品，因此效率更高（你只需要点击一个物品就可以让它出现在你的库存中）。但是你不能用它来自动把物品给另一个玩家（比如从商店里拿）

#### 使用:

```yaml
/o inv # 打开包含Oraxen项目的列表，按文件排序。
/o inv all # 打开包含Oraxen所有物品的目录。
```

#### 权限:

```yaml
oraxen.command.inv.view # 允许查看列表
oraxen.command.inv.give # 允许从列表中获取物品
oraxen.command.inv.* # 给你之前的两个权限
```

### 想要给他们Oraxen的物品

这个命令主要是在你想把一个物品给另一个玩家或者你想自动给予时有用。如果这个命令的玩家目标的背包已满，物品将会掉落在地上!

#### 使用:

```yaml
/o give <player> <item> # 给予玩家一件Oraxen物品
/o give <player> <item> <amount> # 给予玩家一定数量的Oraxen物品
```

#### 权限:

```yaml
oraxen.command.give # 允许你使用/o give 
```

## 修复物品

这个命令可以用来修复你手中持有的物品。你可以配置插件只修复使用oraxen自定义耐久度和vanilla耐久度的物品

#### 使用:

```yaml
/o repair # 维修您手中持有的oraxen物品
```

#### 权限:

```yaml
oraxen.command.repair.hand # 允许使用/o repair命令
```

### 修复您背包中的所有Oraxen物品

#### 使用:

```yaml
/o repair all # 修复您的所有物品（在您的背包中）
```

#### 权限:

```yaml
oraxen.command.repair.all# 允许使用/o repair all命令
```

{% hint style="info" %}
`oraxen.command.repair.all` 会让你同时获得这2个权限
{% endhint %}

## 管理合成表

这个命令可以让你使用配方生成器直接从游戏中添加新的配方到配置中。有关如何使用它的更多信息，请参见Oraxen 配方设置

![合成表配方展示使用:/o recipe show all](/files/-MIP0pFG4PoFDWHCCOyK)

#### 使用:

```yaml
/o recipe builder <builder> # 创建一个类型为<builder>的合成表配方生成器，并打开它。
/o recipe save <name> # 保存您的合成表配方，名称为<name>
/o recipe save <name> <permission> # 都一样，但权限为<permission>
/o recipe show all # 向您展示加载的合成表配方
/o recipe show <recipe> # 给你查看一个合成表配方
```

#### 权限:

```yaml
oraxen.command.recipes # 允许您通过/o recipes 创建新的合成表配方
```

## Oraxen 材质包

这个命令可以让你与Oraxen材质包进行下载：发送配置好的材质包或者从网上下载或者直接通过游戏加载。

#### 使用:

```yaml
/o pack send # 通过游戏直接给你发Oraxen材质包
/o pack send <player> # 通过游戏直接将材质包发送给<player>
/o pack get # 向您发送配置好的材质包
/o pack get <player> # 发送给<player>配置好的材质包
```

#### 权限:

```yaml
oraxen.command.pack # 允许您使用/o pack
```

## 重新加载

此命令允许您快速地重新加载Oraxen配置，而不会导致错误（您不能使用plugman重新加载Oraxen）。但是，需要注意的是，目前还不能重新装载使用Oraxen创建的初始配置

#### 使用:

```yaml
/o reload # 重新加载物品配置，重新加载合成表配方配置，重新生成材质包并上传。
/o reload items # 重新加载物品配置
/o reload pack # 生成材质包并上传
/o reload recipes # 重新加载合成表配方配置
```

#### 权限:

```yaml
oraxen.command.reload # 允许您使用/o reload
```

## 调试BUG

我希望你永远不要使用它，但是如果你的Oraxen出现了错误，作者可能会要求你执行这个命令来获取更多的安装信息。

#### 使用:

它将取决于具体情况，并且经常会随着Oraxen的更新而改变，作者将解释一切

#### 权限:

```yaml
oraxen.command.debug # 允许您使用/o debug
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://3504743864.gitbook.io/oraxen-wiki/shi-yong/untitled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
