kordless / bitquest

A Minecraft server with Bitcoin economy

Home Page:http://bitquest.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BitQuest

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

How it works?

Everyone have a wallet

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. A player just joined the server The playercan see it's bitcoin balance 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.

Everyone can get loot

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. A player got loot

Everyone can send money anywhere

To send transactions players can press t to open minecraft's command line and type:

/transfer <recipient-bitcoin-address>

Player using transfer command 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.

Player notification Player's public transaction 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

Server address should be ideally always with bitcoin to transfer loot constantly to players. This address is also used to receive donations.

About the back-end technology

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.

Installation

OSX

Framework

You can use eclipse or intellij to open and modify this project

Installing Dependencies

$ brew install gradle
  • Install redis running
$ brew install redis

Compile project

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.

Run server in localhost

Spigot

  • 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 to spigot/plugins/
  • Run spigot again to run the server with bitquest plugin
$ java -jar spigot-1.8.8-R0.1-SNAPSHOT.jar

Redis

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

Adding localhost as server

More info about BitQuest at https://bitquest.co/

About

A Minecraft server with Bitcoin economy

http://bitquest.co

License:Other


Languages

Language:Java 100.0%