|
|
| ====flags.yml==== | | ====flags.yml==== |
| <syntaxhighlight lang="yaml"> | | <syntaxhighlight lang="yaml"> |
− | #These are Global Settings for Residence. | + | # 以下为领地插件全局设置 |
| Global: | | Global: |
− | # These are world flags that are applied when the player is NOT within a residence. | + | # 以下为领地外应用的世界标记 |
| Flags: | | Flags: |
− | Global: #these are default for all worlds unless specified below, they can be overridden per group | + | Global: # 全局设置,除非在下面定义,否则全部为默认设置(可在组设置内覆盖) |
| use: true | | use: true |
| build: true | | build: true |
|
|
| tnt: true | | tnt: true |
| pvp: true | | pvp: true |
− | WorldNameHere: #here you can set flags for individual worlds, these override Global | + | WorldNameHere: # 你可以在这里为每个世界分别配置标记,优先级高于全局设置 |
| #build: true | | #build: true |
− | # This gives permission to change certain flags to all groups, unless specifically denied to the group. | + | # 以下配置给予所有组更改标记的权限,除非为某个组单独配置 |
| FlagPermission: | | FlagPermission: |
| move: true | | move: true |
|
|
| shop: true | | shop: true |
| bank: false | | bank: false |
− | # This sets GUI items to represent each flag, if not given, then gray wool will be used | + | # 以下设置定义了在可视化界面中每个标记显示的物品样式,未定义则使用灰色羊毛 |
| FlagGui: | | FlagGui: |
| animalkilling: | | animalkilling: |
|
|
| Id: 326 | | Id: 326 |
| Data: 0 | | Data: 0 |
− | # These are default flags applied to all residences from any user group. | + | # 以下为默认应用至所有组的领地标记 |
| ResidenceDefault: | | ResidenceDefault: |
| build: false | | build: false |
|
|
| tp: true | | tp: true |
| explode: false | | explode: false |
− | # These are default flags applied to the residence creator of any group. | + | # 以下为默认应用至创建者的领地标记 |
| CreatorDefault: | | CreatorDefault: |
| build: true | | build: true |
|
|
| shear: true | | shear: true |
| leash: true | | leash: true |
− | # These are default group flags applied to a residence made by a user of any group. | + | # 以下为组内玩家创建领地时默认应用至此组的领地标记 |
| GroupDefault: | | GroupDefault: |
− | #default: #group name | + | #default: # 组名 |
| #build: true | | #build: true |
− | # These are grouped flags, so when using /res pset nickname redstone true, player will get all flags in list, same when setting to false or removing them. | + | # 以下为组标记,当玩家使用 /res pset 昵称 redstone true时,玩家会得到列表内的标记,设置为false亦然 |
| GroupedFlags: | | GroupedFlags: |
| redstone: | | redstone: |
|
|
| - ignite | | - ignite |
| - firespread | | - firespread |
− | ItemList: #this is where you can create blacklists / whitelists | + | ItemList: # 在这里你可以创建黑名单/白名单 |
− | DefaultList: #list name is not important, as long as it is unique. Its good to use a descripive name. | + | DefaultList: # 列表名不重要,只要它是独一无二的,当然具有辨识性的名称更好 |
− | #type of the list, can be blacklist, whitelist, or ignorelist | + | # 列表类型,可为blacklist,whitelist或ignorelist |
| Type: blacklist | | Type: blacklist |
− | #If you want, you can have this list only apply to one world, otherwise it applys to all worlds | + | # 可以根据需要将列表应用于特定世界或所有世界 |
| #World: world | | #World: world |
− | #You can also have the list apply only to one group, otherwise it applys for all groups | + | # 可以根据需要将列表应用于特定组或所有组 |
| #Group: default | | #Group: default |
− | #this is the actual list of material names that this list allows or dissallows | + | # 这是允许/禁止的物品具体名称列表 |
− | #You can look up the material name by item ID in game by typing /res material <id> | + | # 你可以使用/res material <id>来查询对应的物品具体名称 |
− | #Alternativly, you can simply use the item ID in the list, but its less descriptive and harder to see what the list allows or dissallows at a glance | + | # 相对的,你也可以使用数字ID,但这样不方便辨别你到底允许/禁止了些什么 |
| Items: | | Items: |
| - 'BEDROCK' | | - 'BEDROCK' |