差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 后一修订版 | 前一修订版 | ||
|
dev:advancedban:layouts.yml [2022/03/09 00:40] Mr_Fang 创建 |
dev:advancedban:layouts.yml [2022/03/09 01:19] (当前版本) Mr_Fang |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Layouts.yml ====== | ====== Layouts.yml ====== | ||
| + | <WRAP info 100%> | ||
| + | **合并至服务器**\\ | ||
| + | 已于 '' | ||
| + | </ | ||
| + | <code yaml Layouts.yml> | ||
| + | # The default layouts are in the Message.yml file! | ||
| + | |||
| + | # Message-Layouts can not only be used for bans but also for mutes and warns | ||
| + | # Currently available variables: | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # %ID% - Displays the punishment ID (i.e. first punishment = 0, second punishment = 1, third punishment = 2, etc.) | ||
| + | # | ||
| + | # For warns you have also the variable %COUNT% which will be | ||
| + | # replaced with the current amount of warns the player already received | ||
| + | # Example usage: /ban Leoko @ExampleLayout | ||
| + | Message: | ||
| + | Hacking: | ||
| + | - '& | ||
| + | - '& | ||
| + | - '& | ||
| + | - "& | ||
| + | - "& | ||
| + | - "& | ||
| + | - "& | ||
| + | - '& | ||
| + | - '& | ||
| + | - "& | ||
| + | - "& | ||
| + | ExampleLayout: | ||
| + | - ' | ||
| + | - '& | ||
| + | - '& | ||
| + | - "& | ||
| + | - "& | ||
| + | - "& | ||
| + | - '& | ||
| + | - '& | ||
| + | - "& | ||
| + | - "& | ||
| + | ExampleLayout2: | ||
| + | - ' | ||
| + | - '& | ||
| + | - "& | ||
| + | - "& | ||
| + | |||
| + | # You would use this time-layout for example like this: "/ | ||
| + | # Or with "/ | ||
| + | # You can also combine this with MessageLayouts like "/ | ||
| + | Time: | ||
| + | ExampleLayout: | ||
| + | - ' | ||
| + | - ' | ||
| + | - ' | ||
| + | - ' | ||
| + | - ' | ||
| + | - ' | ||
| + | - ' | ||
| + | - ' | ||
| + | </ | ||