Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 2.35 KB

README.md

File metadata and controls

63 lines (48 loc) · 2.35 KB

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:

  1. git clone https://github.com/BitcoinJake09/CryptoPlugin
  2. cd CryptoPlugin
  3. mvn clean compile assembly:single

.jar file will be in target folder.

Stable Release Jar:

https://github.com/BitcoinJake09/CryptoPlugin/releases

To run compiled Jar:

  1. Download latest spigot jar
  2. Start server with java -jar latest.jar Restart the Spigot servers.
  3. Copy CryptoPlugin.jar to plugin folder
  4. Set EULA.txt to true
  5. Edit and run setenv.sh script or json files
  6. Make sure you have a crypto node running.
  7. Edit server.properties to point to your local IP
  8. 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.