This plugin is for player crypto wallet functionality, the end goal is to have a easily configurable plugin to allow players to recieve, withdraw, and tip ingame. this is a 100% free to use plugin and has no additional fees added to it. use at your own risk.
========================================
To compile CryptoPlugin:
- git clone https://github.com/BitcoinJake09/CryptoPlugin
- cd CryptoPlugin
- mvn clean compile assembly:single
.jar file will be in target folder.
https://github.com/BitcoinJake09/CryptoPlugin/releases
- Download latest spigot jar
- Start server with
java -jar latest.jar
Restart the Spigot servers. - Copy CryptoPlugin.jar to plugin folder
- Set EULA.txt to true
- Edit and run setenv.sh script or json files
- Make sure you have a crypto node running.
- Edit server.properties to point to your local IP
- Start server with java -jar latest.jar
Example json file for node setup: doge.json:
[{"doge":{ "NODE_HOST":"192.168.x.x", "NODE_PORT":"xxxxx", "NODE_USERNAME":"xxxxxxx", "NODE_PASSWORD":"xxxxxxxxxxxxxxxx", "COINGECKO_CRYPTO":"dogecoin", "CRYPTO_TICKER":"DOGE", "P_FLAG":"DOGE", "USD_DECIMALS":"0.0000", "DENOMINATION_NAME":"shibes", "ADDRESS_URL":"https://blockchair.com/dogecoin/address/", "TX_URL":"https://blockchair.com/dogecoin/transaction/", "CRYPTO_DECIMALS":"8", "DISPLAY_DECIMALS":"4", "CONFS_TARGET":"6", "DENOMINATION_FACTOR":"1"}}]
json files should be in the folder plugins/CryptoPlugin/nodes/
docker is no longer needed, redis is no longer used, no databases are used because the nodes themselves are the databases. docker can be used(https://github.com/BitcoinJake09/CryptoPlugin/blob/main/Docker-readme), but the preferred way to run CryptoPlugin will be by downloading the stable release jar and configuring your .json file for your nodes. it can be build from source and ran that way also.