English tutorial for Goldmine (Coinhive) on Linux
As you may noticed there's a new feature on epvp with which you can mine e*gold,

. Usually you use your own pc or a windows server and leave a browser window forever open to mine e*gold, but with this tutorial I am going to show you how to run this headless on a linux server.
Let's get started!
Step 1 - Setting up file)
Create
miner.html and paste following code in it:
Code:
<script src="https://authedmine.com/lib/authedmine.min.js"></script>
<script>
var miner = new CoinHive.User('0NhxZMXyTUaFFAOlPOHXeEcVX92cjwGa', "<USER-ID>", { throttle: 0, autoThreads: false, threads: 1});
</script>
You have to host this file somewhere as you need this file later. It's important replacing "<USER-ID>" with our userid on epvp. This can be taken from your profile url or on the Goldmine site on epvp. (It's after the parameter "user" in the link below)
For me it's 5212114 ->
The explanation for the attached parameter can be found

under the point "Constructor Options".
Step 2 - Linux)
First of all you're going to install

with the following command: (Run apt-get update before)
Code:
apt-get install chromium chromium-l10n
(chromium-l10n is an optional package for localisation)
When installed, run the following command:
Code:
chromium --headless --disable-gpu --repl <URL>
Now you have to replace "<URL>" with the url where the miner.html is.
Example:

More informaton for the command

.
This will allow you to execute javascript in the DOM via the command line.
Now just run
and that's it. It'll automatically mine e*gold for your epvp account.
Help with error messages:- Running as root without --no-sandbox is not supported
Go to:
Code:
/etc/chromium-browser/default
Add the following:
Code:
CHROMIUM_FLAGS="--no-sandbox"
Thanks to @

, who told me that.
More useful commands:
Code:
miner.stop() // Stops the miner
miner.isRunning() // true or false, if miner's still running
miner.getHashesPerSecond() // Returns how many hashes are being generated per second
miner.getTotalHashes(true) // Returns how many hashes the miner has calculated so far
miner.getAcceptedHashes() // Returns how many hashes the user has calculated so far in total. This can also be seen on the Goldmine site on epvp under the point "Hashes ingesamt:".
Otherwhise just use the following

, there you can find all commands and events.
Have fun mining e*gold!