Parser

The parser is a module of dailyShop that allows to edit the items of a shop with yaml instead of the in-game GUI that can be tedious specially with large amount of items.

Installation

The installation is simple. Download the lastest version of the parser module here. Drop it into your plugins folder and restart the server. The parser is already implemented inside DailyShop on newer versons. A new folder called parser will be created on the dailyShop folder.

The parser will only work on the premium version

Usage

The usage of the module is really straigforward and is done throught the command /dailyShop parser. This command has two options, parse and convert.

Convert

This option takes one argument and is the shop name and will convert all the items of that shop into a human-readable format in a .yml inside the parser folder. For example /dailyShop parser convert test will convert all the items of the shop test and create a new file called test.yml.

Parse

This option takes one argument and is the name of the .yml you want to parse back into items and add them to your shop. For example /dailyShop parser convert test will convert all the items inside the file test.yml.

When items are parsed back, all the previous items that were on the shop will be replaced.

The argument on the parse option is not the one that determines to which store the items will be added, but rather the shop field inside the .yml file being parse.

Format

Please check Format to learn the yaml format and all the options available.

Last updated