-
Notifications
You must be signed in to change notification settings - Fork 5
Quick Start: Local Mining
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.
Download XMRig binary from https://github.com/xmrig/xmrig/releases .
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 ..."
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.
Change start command in the miner policy to the one that's provided by your mining pool.