1
mirror of https://github.com/CarmJos/UserPrefix.git synced 2026-06-04 23:43:29 +08:00

添加折叠

This commit is contained in:
2021-12-20 18:52:42 +08:00
parent 46fb39d7bb
commit b8d6862b17
2 changed files with 57 additions and 12 deletions
+16
View File
@@ -109,6 +109,10 @@ type `/papi info UserPrefix` to see all the placeholders.
Notice: The default configuration is based on Chinese. You can find
the [English Version here](https://github.com/CarmJos/UserPrefix/blob/master/src/main/resources/en_US/config.yml).
<details>
<summary>Click to see plugin configuration</summary>
```yaml
version: ${project.version} # DO NOT EDIT IT
@@ -195,8 +199,13 @@ defaultPrefix:
- "§a✔ Selected"
```
</details>
### [Messages Configuration](https://github.com/CarmJos/UserPrefix/blob/master/src/main/resources/en_US/messages.yml) (messages.yml)
<details>
<summary>Click to see messages configuration</summary>
```yaml
selected:
- "&7You have selected the &f%(name) &7as current prefix."
@@ -220,12 +229,17 @@ list-value:
```
</details>
### [Prefixes Configuration](https://github.com/CarmJos/UserPrefix/blob/master/src/main/resources/en_US/example-prefix.yml) (/prefixes/*.yml)
All prefixes are separate configuration files, stored in the `<Data Folder>/prefixes/` for easy management.
Some symbols in file name may affect reading, please avoid using them.
<details>
<summary>Example prefix configuration.</summary>
```yaml
# identifier [Necessary]
# This will be used for data-storage.
@@ -299,6 +313,8 @@ itemNoPermission:
- "§e✯ Buy the VIP to use it!"
```
</details>
## Support and Donation
This project is support by the [YourCraft(你的世界)](https://www.ycraft.cn) .