> For the complete documentation index, see [llms.txt](https://spintowin.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spintowin.superiormc.cn/jian-ti-zhong-wen-2/ji-ben-xin-xi/zhi-ling-quan-xian-jie-dian.md).

# ⌨️指令与权限

主指令为 `/spintowin`，可使用 `/s2w` 作为别名。

## 帮助

`/spintowin help`：查看插件帮助。

## 打开 UI

`/spintowin open <uiName> [playerName]`：打开指定转盘。UI 名称为配置文件名，不含 `.yml`。

* 使用指令需要 `spintowin.use.open`。
* 为自己打开指定 UI，需要 `spintowin.use.open.<uiName>` 或 `spintowin.use.open.*`。
* 为其他玩家打开 UI，需要 `spintowin.admin.open`。
* 控制台使用时必须提供在线玩家名称。

## 重载配置

`/spintowin reload` 或 `/s2w reload`：重载配置，需要 `spintowin.admin.reload`。

更新 JAR 后需要重启服务器，配置重载不会加载新的 Java 代码。

## 重置

`/spintowin reset <uiName> [playerName]`：重置指定 UI 的玩家抽奖记录；不填写玩家名称时重置自己。

* 使用指令需要 `spintowin.use.reset`。
* 为自己重置指定 UI，需要 `spintowin.use.reset.<uiName>` 或 `spintowin.use.reset.*`。
* 为其他玩家重置需要 `spintowin.admin.reset`。
* 控制台使用时必须提供在线玩家名称。

## 相关功能指令

* `/s2w save <saveItemID>`：保存手持物品，见[保存物品](https://spintowin.superiormc.cn/jian-ti-zhong-wen-2/gong-neng/saved-item.md)。
* `/s2w generateitemformat`：将手持物品解析到 `generated-item-format.yml`，见[自定义物品匹配](https://spintowin.superiormc.cn/jian-ti-zhong-wen-2/gong-neng/custom-item-match-method.md)。
