Skip to content

TheMagicalPoof/minecarft_heads_parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minecraft-heads.com custom heads parser

Description

This utility parse a Custom heads data, for importing to Wandering Trades minecraft plugin.

Parse scope:

Launch

To run this script, you need to follow these steps:

for Windows

  1. make sure that you have installed 3.x.x Python version, and pip.
  2. execute command pip install -r requirements.txt in cmd.
  3. run start.bat file and wait.
  4. after finish parsing heads.yml will be created.

Change settings:

Edit config.ini file, to configure parser.

  1. [parser] scope_url = https://minecraft-heads.com/custom-heads

  2. [parser] requests = 16

    • number of concurrent requests to the server.
  3. [buy_price] material = DIAMOND

    • Resource for which you can buy a head, you can use:
    • EMERALD, DRAGON_EGG, GRASS, GOLD_INGOT and etc.
  4. [buy_price] amount = 3:10

    • payment resource amount, number 6 equal 6
    • 5:10 is equal of range from 5 to 10.
  5. [wandering_trader] heads_chance = 1

    • the chance that the seller will trade heads, 0.3 equal 30%
  6. [wandering_trader] heads_amount = 2:5

    • number of heads seller shows at one time, 2:5 equal from 2 to 5 heads

To integrate into "Wandering Trades" plugin you need:

  1. After parsing, copy heads.yml file to you_server/plugins/WanderingTrades/trades/ catalog.
  2. Use /wt reloadcommand - for reload plugin settings in you server.
  3. Use /wt summon heads ~ ~ ~ command for summon test NPC.

About

This utility parse a "Custom heads" data, for importing to "Wandering Trades" minecraft plugin.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors