Importing
Bringing Shops Over
/xshop import shopguiplus
/xshop import economyshopgui
/xshop import essentials
/xshop import shopguiplus plugins/ShopGUIPlus-old # another folder
XShop reads the other plugin's files where it keeps them, or the folder or file you name, from the server's folder and never outside it. Nothing of the other plugin is changed, and nothing of yours is overwritten: a shop whose name is taken here is imported under another, blocks_2. The report says how many shops and products came over, and lists what could not, line by line, the first fifteen in chat.
| Source | Read from |
|---|---|
shopguiplus | plugins/ShopGUIPlus/: its shops/ folder, and shops.yml |
economyshopgui | plugins/EconomyShopGUI/: its shops/ folder, with the titles and icons of sections/ |
essentials | plugins/Essentials/worth.yml |
Each imported shop is an ordinary shop file afterwards. Run the audit on it: a price list made for another plugin was never checked for loops.
Both plugins may answer to /shop and /sell. While you compare, turn XShop's off with commands.<name>.enabled; once you are done, remove the old plugin.
From ShopGUI+
- Each shop becomes a file, its
nameits title, with the colour codes turned into MiniMessage. - An item entry becomes a product of that item, or an exact item when it has a name, a lore or enchantments, or a spawner when it is one with a mob.
- A command entry becomes a command product,
%player%written{player}. Other kinds of entry have no equivalent and are listed in the report. buyPriceandsellPricebecome the prices,-1meaning none; the item'squantitybecomes the lot;slotandpagestay where they were.
From EconomyShopGUI
- Each section file of
shops/becomes a shop, with the title and the icon its file insections/gives it. - The items of every page become products, with their
buyandsell, theirstack-sizeas the lot, and their slot on their page. - A name, a lore or enchantments make an exact item; a
spawner-typemakes a spawner;give-commandsandbuy-commandsmake a command product.
From Essentials
The worth section of Essentials says what each item sells for, under names without their underscores (acaciaboat). It becomes a hidden shop named worth that only buys: /sell then pays what it used to. For an entry of the old data values, before 1.13, the plain variant is taken. A name this server does not know is listed in the report.