Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Quick Start: Local Mining

Alan_Richard edited this page Jun 2, 2021 · 5 revisions

MinerHat makes use of your Minecraft server's spare time to mine cryptocurrency for you.

This tutorial shows you how to mine Monero(XMR) with XMRig on your server.

STEP 1

Download XMRig binary from https://github.com/xmrig/xmrig/releases .

STEP 2

Be sure you've started your server at least once after putting EusMinerHat in your plugin folder. And then put the XMRig executable into ./plugins/EusMinerHat/miner/xmrig.

If your server is running Windows, change your miner policy (at ./plugins/EusMinerHat/miner/xmrig.json) by adding extension name to the first arg in the start command: "startCommand": "xmrig -o ...""startCommand": "xmrig.exe -o ..."

STEP 3

Run minerhatadmin reload, then minerhatadmin start in the console to see if the miner works.

If you did it right, you would see the following output:

[EusMinerHat] Started mining
[EusMinerHat] The miner has been launched.

STEP 4

Change start command in the miner policy to the one that's provided by your mining pool.

Clone this wiki locally