- Add auto completion for selection menus by commands
- Add
Requirements
option which uses JavaScript to check the players - Change the structure of two options,
PrimaryAction
andSecondaryAction
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.