Coder Social home page Coder Social logo

defunctec / crownquest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bitquest/bitquest

0.0 1.0 0.0 43.29 MB

A Minecraft server with Blockchain economy

Home Page: http://bitquest.org

License: Other

Java 97.95% Shell 1.47% Makefile 0.04% Dockerfile 0.54%

crownquest's Introduction

CrownQuest A Minecraft mod that connects the game economics to a Crown or other cryptocurrency nodes. It creates a Crown wallet for every user that connects to the server, plus a common "loot" wallet used for rewards to players when killing mobs.

Players also can purchase land plots and stacks of items, transferring coins to the loot wallet, thus redistributing the spent cryptocurrency within the players.

You can use CrownQuest to host your own Minecraft crypto server.

Important Note

This project is an experiment and not a commercial product, bugs can, and most likely will happen. Please report any bugs to a moderator promptly, to ensure they are fixed. Also note that your wallet is not guaranteed, and you may experience issues with your balance. For this reason, it is highly recommended that you do not deposit large amounts, or anything you do not wish to place at risk by being tied to the server. In addition, if you are caught breaking rules and are banned, you forfeit your access to your server wallet, and all funds tied to it. With this said, rules are non-negotiable, and will be strictly enforced. This server is a fair server, and anyone abusing any system set in place will be punished. Please play fair, have fun, and enjoy the server

Features

Crown Wallet

The CrownQuest server and every player has a bitcoin address. Any player can receive and send bitcoin to any address inside or outside the game. This is useful for buying materials, selling crafts, trading, tipping, etc. A player just joined the server The player can see it's bitcoin balance

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

Player to player transactions

You can send Crown to an external wallet with /transfer:

/transfer <amount> <recipient-bitcoin-address>

Player using transfer command Player notification Player's public transaction

Additionally, players can send Crown to other players via /send:

/send <amount> <username>

Play Bitquest

Official CrownQuest server is not online anymore, but you can host your own server using Docker or Bukkit.

Hosting a CrownQuest server

There are two methods to create a Bitquest server: One involves running a Docker image with everything ready, and the other is to build the plugin from source and adding it to a Spigot instance.

Hosting a Crown or Crowncoin node

A requirement for CrownQuest is a Full Node of Crown Core or Crowncoin Core. Before starting a CrownQuest server make sure you have a fully synched node with RPC access turned on.

Using Docker

You can download the a (https://hub.docker.com/repository/docker/explodi/crownquest)[official CrownQuest docker image]. This image builds a bukkit server with the latest CrownQuest version plugin installed.

You must also have a node running, and the connection info (RPC login, host, port) set in the environment variables. (See: configuration)

Building the CrownQuest Java Plugin

You can build the crownquest Java plugin that you can drop in to a Bukkit server. This will enable all CrownQuest features on your server.

1. Requirements

  1. Java JRE+SDK (Version 1.8)
  2. Maven

2. Compile CrownQuest and generate a JAR file

make -B jar

This will create a CrownQuest.jar in the target folder.

Contributing

Before submitting a pull request, please format the code using checkstyle. To run checkstyle and check if there are warnings:

make -B lint

Running a CrownQuest server with Docker

Tou can use Docker to run a CrownQuest server. There's also an official CrownQuest docker image. The recommended way to configure the image is using a docker-compose.yml file that can link to a directory where the worlds are stored. An example is included here.

Configuration

Before running the server, the following environment variables must be set:

Environment variable Description
CROWNQUEST_ADMIN_UUID Minecraft user ID for the root user
CROWNQUEST_ENV Set to 'production' for a public server
CROWNQUEST_NAME The name of your server
CROWNQUEST_NODE_HOST Host of the Node
CROWNQUEST_NODE_PORT Port of the Node
CROWNQUEST_NODE_RPC_USER Node RPC username
CROWNQUEST_NODE_RPC_PASSWORD Node RPC password

More info

https://crownquest.co/

crownquest's People

Contributors

airiellis avatar altquest avatar andrelaszlo avatar bitcoinjake09 avatar catapim avatar chulini avatar dabtime avatar defunctec avatar dependabot[bot] avatar explodi avatar findbl0k avatar jeje-50 avatar jordigoyanes avatar jorropo avatar juanj avatar kordless avatar masecla22 avatar nullpilot avatar psilupan avatar ragingmouser avatar reappergrimd avatar syrianrue avatar teogorghin avatar theraccoonbear avatar tracker6310 avatar u8iuui11 avatar williamronn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.