-
Notifications
You must be signed in to change notification settings - Fork 89
Region blocks save restore
AreaShop supports saving regions to a schematic file (the ones from WorldEdit) and restoring them later. This functionality is disabled by default, if you want to enable it change enableRestore
in default.yml to 'true'. You can enable the setting for a subset of regions by creating a region group and adding the setting to that or adding the setting inside the file of a region (or use /as setrestore
).
The default configuration (in default.yml, schematicProfile
) is set up to save the region to a file rent-%region%
or buy-%region%
(with '%region%' being the name of the region) when it is added to AreaShop. When the region is rented/bought it is also saved, to have a fresh/empty state to restore later. When the rental is over or the region is sold it will be restored from the file.
In each event listed in the schematicProfile
section you can save to a file and restore from a file. You can for example use just 1 schematic for all regions (or a group of regions) if you want that. To manually trigger one of the actions defined in configuration you can use the /as schemevent
command. This for example allows you to update the save schematic file.
If you have any questions about how to use or modify AreaShop then feel free to message me. You can create a ticket or message me through Spigot or BukkitDev.