BitQuest is an initiative to make a Bitcoin-denominated Minecraft server with MMORPG elements, as the form of a plugin. To play the last version of BitQuest go to Multiplayer->Add Server
and add this server address
beta.bitquest.co
The BitQuest server and every player and have it's own bitcoin wallet with one address. Any player can receive and send bitcoin to any address (even outside the game) making on-chain transactions.
Thanks to the open nature of bitcoin players can even watch it's transaction history looking for they address in any blockchain explorer like Insight or Blockchain.Info.
Every time a player kills an enemy (mob) there is a chance to get loot. If that is the case the server makes a transaction directly from the server address to the player address and the player is notified.
To send transactions players can press t
to open minecraft's command line and type:
/transfer <recipient-bitcoin-address>
This will make a bitcoin transaction to the recipient's address. That address could be the player personal one, another BitQuest player's one, the server's one or any other.
Players can also send money using email instead of a bitcoin address using:
/transfer <recipient-email>
With this method the recipient will receive an email notifying that a bitcoin transaction has been made to a XAPO wallet linked to his email.
Server address should be ideally always with bitcoin to transfer loot constantly to players. This address is also used to receive donations.
All persistent data is saved in a redis database so the server can respond as quick as possible. All transactions in the game are on-chain using Blockcypher's microtransactions API or in case of player-to-email XAPO API.
Everybody is welcome to contribute. :D
Here are the instructions to modify, install and run the server as localhost.
You can use eclipse or intellij to open and modify this project
- Be sure you have installed the last version of java version
- Install brew
- Install gradle running
$ brew install gradle
- Install redis running
$ brew install redis
To compile project go to the bitquest directory and run
$ ./gradlew shadowJar
This will generate a new file at bitquest/build/libs/bitquest-all.jar
that you can use as a plugin in your localhost minecraft server.
- Make a new directory called
spigot
and download there the last BitQuest's spigot . - Go to this directory and run spigot
$ java -jar spigot-1.8.8-R0.1-SNAPSHOT.jar
If is the first time this will generate a bunch of files and directories.
- Open
spigot/eula.txt
and change
eula=false
to
eula=true
- Run spigot again
$ java -jar spigot-1.8.8-R0.1-SNAPSHOT.jar
Now you should have a new directory spigot/plugins/
- Close the server with
cmd + C
- Copy or move
bitquest/build/libs/bitquest-all.jar
tospigot/plugins/
- Run spigot again to run the server with bitquest plugin
$ java -jar spigot-1.8.8-R0.1-SNAPSHOT.jar
In the bitquest directory
- Run the redis server
$ redis-server
Now you will be able to enter to your localhost bitquest minecraft server adding localhost
as server
More info about BitQuest at https://bitquest.co/