# 權限相關 # Permission related permissions: # 擁有權限則可以獲得一些功能 # Some features are available with permission node: # 忽略標籤限制 # 不受到 `item.allowed-tag` 和 `item.disallow-tag` 影響 # Ignore tag restrictions # Not affected by `item.allowed-tag` and `item.disallow-tag` ignore-item-tag-limit: "packetwhitelist.ignore_item_allowed_tag"
# 多少毫秒檢查一次玩家的權限 # 設置為 -1 禁用 # How many millisecond to check player permissions # Set to -1 Disable periodic-millisecond-check: 60000
Configured `item:` -> `allowed-tag:` need add tag `Fireworks.*`, otherwise will not be able to see the state of the fireworks (Requires manual addition)
Configured `item:` -> `allowed-tag:` need add tag `RepairCost`, otherwise it will result in a different price for the anvil on the client and the server. (Requires manual addition)
And configuration description changes (manual replacement required)
Code (YAML):
# 物品有關的配置 # Configuration of item item: # 允許的標籤 # 會轉換非創造模式玩家顯示的一切物品 # 無允許的標籤不會發送給客戶端 # - "*" 表示全部允許 # Allowed Tags # Converts all items displayed by non-creation mode players # No allowed tags will be sent to the client # - "*" means all are allowed allowed-tag: - CustomModelData
- Damage
- HideFlags
- Unbreakable
- Enchantments.*
- StoredEnchantments.*
- display.*
- AttributeModifiers.*
- CanPlaceOn.*
- CanDestroy.*
- BlockEntityTag.Items.
[].Count
- BlockEntityTag.Items.
[].Slot
- BlockEntityTag.Items.
[].id
- BlockEntityTag.Items.
[].tag.display.*
- BlockEntityTag.Patterns.*
- BlockStateTag.*
- Potion
- CustomPotionColor
- CustomPotionEffects.*
- map
- pages.*
- LodestoneDimension
- LodestonePos.*
- SkullOwner.*
# 不允許的標籤 # 如果同個標籤存在於允許和不允許, 則優先不允許 # - "*" 表示全部不允許 # Disallow Tags # If the same tag exists for both allowed and disallowed, then the priority is disallowed # - "*" means all are disallow disallow-tag: