Installation Guide

Follow these steps to install CryptocurrencyMC on your Minecraft server.

Prerequisites

Server Requirements

Requirement Version/Details
Minecraft Server Paper or Spigot 1.21+
Java Java 21 or higher
Memory At least 1GB RAM allocated
Internet Connection Required for API access

Required Dependencies

⚠️ Important: CryptocurrencyMC requires Vault and an economy plugin to function. The plugin will not load without these dependencies.

1. Vault

Download Vault from SpigotMC:

2. Economy Plugin

Choose one of these popular economy plugins:

Optional Dependencies

PlaceholderAPI (Optional)

For placeholder support in other plugins:

Installation Steps

Step 1: Download the Plugin

  1. Download the latest Cryptocurrency-1.0-SNAPSHOT.jar from the releases page
  2. Or build from source using Maven: mvn clean package

Step 2: Install Dependencies

  1. Download and install Vault
  2. Download and install an economy plugin (e.g., EssentialsX)
  3. (Optional) Download and install PlaceholderAPI

Step 3: Upload to Server

  1. Stop your Minecraft server
  2. Place all plugin JAR files in the plugins/ folder
  3. Ensure your file structure looks like this:
server/
├── plugins/
│   ├── Vault.jar
│   ├── EssentialsX.jar
│   ├── PlaceholderAPI.jar (optional)
│   └── Cryptocurrency-1.0-SNAPSHOT.jar
├── world/
└── server.jar

Step 4: Start the Server

  1. Start your Minecraft server
  2. Watch the console for any errors during plugin loading
  3. Look for the message: [Cryptocurrency] Plugin enabled successfully!
💡 First Run: On first startup, the plugin will create a default configuration file at plugins/Cryptocurrency/config.yml and a wallet storage file at plugins/Cryptocurrency/wallets.yml.

Step 5: Verify Installation

Join your server and run these commands to verify everything works:

/crypto price BTC
/crypto market
/crypto balance
✅ Success! If you can see cryptocurrency prices, the plugin is working correctly.

Building from Source

If you want to build the plugin from source code:

Prerequisites

Build Instructions

  1. Clone the repository:
git clone https://github.com/MatisseAD/CryptocurrencyMC.git
cd CryptocurrencyMC
  1. Build with Maven:
mvn clean package
  1. Find the compiled JAR:
target/cryptocurrency-1.0-SNAPSHOT.jar
  1. Copy the JAR to your server's plugins/ folder

Troubleshooting

Plugin Won't Load

Symptoms: Plugin appears red in /plugins or doesn't load at all.

Solutions:

Price Fetching Fails

Symptoms: Commands show "Failed to fetch price" errors.

Solutions:

Vault Not Found

Symptoms: Error message about Vault not being found.

Solutions:

Wallets Not Persisting

Symptoms: Player balances reset after server restart.

Solutions:

Permission Errors

Symptoms: Players can't use commands despite having permission.

Solutions:

Updating the Plugin

Update Procedure

  1. Backup Your Data: Copy plugins/Cryptocurrency/ to a safe location
  2. Stop the Server: Gracefully shut down your server
  3. Replace the JAR: Delete the old plugin JAR and add the new one
  4. Start the Server: Start your server and check for any config changes
  5. Check Config: Review config.yml for any new options
  6. Reload: Use /crypto reload if needed
⚠️ Config Changes: New versions may add new configuration options. Always check the config file after updating to take advantage of new features.

Next Steps

Now that you have the plugin installed, here's what to do next: