A shopkeeper is a type of NPC who players can buy Pixelmon items from in exchange for PokéDollars. Players can also sell Pixelmon items to shopkeepers for PokéDollars, although this amount of PokéDollars will always be less than the PokéDollars required to buy the item from the shopkeeper.
There are several types of shopkeepers, each stocking different types of items. These types are split into two main subcategories.
- Poké Balls, drinks (Fresh Water, Soda Pop, etc.)
- Battle items (X Attack, X Defense, etc.), herbal medicine (Energy Root, Revival Herb, etc.)
Secondary shopkeepers specialize in a single type of Pixelmon item and do not sell any other items unrelated to this specialty. There are three types of secondary shopkeepers.
- Main and secondary shopkeepers are found in Poké Marts, which only spawn within towns. Each Poké Mart always has one main shopkeeper and one secondary shopkeeper.
Shopkeepers do not always sell the same items. Every Minecraft day, they refresh their stocks with a new random selection of items from the possible items they can sell. However, shopkeepers will never change their types.
Shopkeeper prices are not always the same for an item. The shopkeeper may randomly choose to increase or decrease the price of an item by 10% for the day. Some types of shopkeepers also further reduce or increase the prices of certain items compared to other types of shopkeepers. However, the price of the item will never fall below the amount of PokéDollars gained from selling the item to the shopkeeper.
A list of possible items for each type of shopkeeper can be found here.
Pixelmon items can be sold to shopkeepers regardless of which items they stock. A list of selling prices for items can be found here.
Shopkeepers may be spawned and edited with an NPC editor. The shopkeeper type, name, and model can be edited from this interface. The "Refresh Items" button can be used to reload a shopkeeper's stock after changing its type; otherwise, the stock will not change until the beginning of a new Minecraft day.
In order to edit shopkeepers further (such as the items they stock), their JSON files must be edited. In order to access these files, the "useExternalJSONFilesNPCs" setting must be enabled in the pixelmon.hocon file. When Pixelmon is initialized after enabling this setting, a folder named "pixelmon" will appear in the game directory folder, with an "npcs" folder inside of it.
Within the "npcs" folder are several JSON files for editing shopkeepers. More details about the JSON files can be found here.
The following is a video tutorial explaining the basics of shopkeeper editing.
- "spawnPokeMarts": This setting allows Poké Marts to spawn in towns. Disabling this will cause shopkeepers to be unavailable except by spawning them with an NPC editor.
- "useExternalNPCFiles": This setting allows shopkeeper items and prices to be modified with JSON files in the "npcs" folder.