Mines
Creating mines
Mines can be created using Hytale’s built-in selection tool.
Typical flow:
- Select region
- Create mine using the
/mine create <id> <name>command - Choose blocks and distribution
/mine setpattern <id> <pattern>
Block distribution
To change the block that spawn in a mine use the following command
/mine setpattern <id> <pattern> <pattern> is a comma separated list of blocks with optional weights.
FoxPrison currently uses the default weighted pattern, see below for an example pattern.
50%Cloth_Block_wool_Black,50%Cloth_Block_wool_pink_light
Setting mine requirements
To set the required rank for a mine you have to set each rank it's not ordered this is so you can prevent players from accessing previous mines if you want to. To set the required rank for a mine use the following command
/mine setrank <id> <ranks>
<ranks> is a comma separated list of ranks that can access the mine, for example:
/mine setrank 1 a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
Changing mine spawnpoint
To change the spawnpoint of a mine use the following command
/mine setspawn <id>
this will set the spawn to you current position and rotation, so make sure to stand in the right place and look in the right direction before running the command.
Adding more regions
If you want more complex mine shapes (so not just a simple square), you can add multiple regions to a single mine.
- Select an additional region
- Add it to the mine with one of these commands:
/mine region add <id>
There’s currently no way to remove a single region from a mine, so be careful when adding them. If you add the wrong region by mistake, you can reset all regions with:
/mine region clear <id>