- Supports api v7.0.0 (for Minecraft 1.12.x)
- Fix a mistake in the codes that players cannot open menus by commands because of the wrong permission judgement
VirtualChest v0.4.x is not compatible with the configuration files based on v0.3.x, and if you are able to upgrade your configurations to v0.4.x, there are some changes which should be mentioned:
Position-X-X
becomesSlotX
now, andPosition-1-1
corresponds withSlot0
,Position-9-6
corresponds withSlot53
, etc.RequiredBalances
,RequiredPermissions
, andRejectedPermissions
are not available now, which should be replaced byRequirements
PrimaryRequiredItem
,PrimaryAction
, andKeepOpen
are combined (altogether withSecondaryRequiredItem
andSecondaryAction
), and they are all available in thePrimaryAction
section. For example:
// in v0.3.9
KeepOpen = true
PrimaryAction = "cost-item: 9; cost: -8"
PrimaryRequiredItem {
ItemType = "minecraft:wheat"
Count = 9
UnsafeDamage = 0
}
// in v0.4.0
PrimaryAction {
Command = "cost-item: 9; cost: -8"
HandheldItem {
ItemType = "minecraft:wheat"
Count = 9
UnsafeDamage = 0
}
KeepInventoryOpen = true
}
For more information, please refer to the wiki.