差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
dev:advancedban:layouts.yml [2022/03/09 00:45] Mr_Fang |
dev:advancedban:layouts.yml [2022/03/09 01:19] (当前版本) Mr_Fang |
||
---|---|---|---|
行 4: | 行 4: | ||
已于 '' | 已于 '' | ||
</ | </ | ||
- | <code yaml Messages.yml> | + | <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: | ||
+ | - ' | ||
+ | - ' | ||
+ | - ' | ||
+ | - ' | ||
+ | - ' | ||
+ | - ' | ||
+ | - ' | ||
+ | - ' | ||
</ | </ | ||