NexCrypto
NexCrypto is a powerful, customizable economy plugin that integrates cryptocurrency-like features into the game. Players can use two types of currencies: NexCoin (similar to USD) and NexCrypto (similar to Bitcoin). This plugin allows players to earn currency, invest in the economy, and experience market volatility, just like in real-world crypto markets.
With a fully customizable economy system, players can adjust rates, make investments, and track their progress in real-time. The plugin also supports PlaceholderAPI integration, making it easy to display essential economy data in-game.
Features:
- Dual Currency System:
- NexCoin: The stable in-game currency.
- NexCrypto: A more volatile currency, similar to cryptocurrency.
- Customizable Economy Settings:
- baseRate: The initial exchange rate for currency conversion (default: 1.05).
- volatilityFactor: Controls the volatility of NexCrypto (default: 1.0).
- profitChance: The chance for players to profit from investments (default: 0.5).
- lossFactor: The potential for loss during investments (default: 0.5).
- NexCryptoToUSDRate: The conversion rate from NexCrypto to USD (default: 40).
- Investment System: Players can invest their NexCoin or NexCrypto and experience profits or losses based on market trends.
- Placeholders API Support:
- %nexus_nexcoin_balance%: Displays the NexCoin balance of a player.
- %nexus_nexcrypto_balance%: Displays the NexCrypto balance of a player.
- %nexus_nexcrypto_invested%: Shows the total amount of NexCrypto a player has invested.
- %nexus_nexcrypto_worth%: Displays the current worth of NexCrypto in USD.
- SQLite Integration: The plugin stores all player data in an SQLite database, making it lightweight and efficient.
Command List:
- /nexcoin balance nexcoin [player]: View the NexCoin balance for a specific player.
Permission: nexcoin.balance
- /nexcoin balance nexcrypto [player]: View the NexCrypto balance for a specific player.
Permission: nexcoin.balance
- /nexcoin pay [player] [amount] nexcoin: Pay a player in NexCoin.
Permission: nexcoin.pay
- /nexcoin pay [player] [amount] nexcrypto: Pay a player in NexCrypto.
Permission: nexcoin.pay
- /nexcoin add [player] [amount] nexcoin: Add NexCoin to a player’s balance.
Permission: nexcoin.add
- /nexcoin add [player] [amount] nexcrypto: Add NexCrypto to a player’s balance.
Permission: nexcoin.add
- /nexcoin sell [amount] nexcoin: Sell items for NexCoin.
Permission: nexcoin.sell
- /nexcoin sell [amount] nexcrypto: Sell items for NexCrypto.
Permission: nexcoin.sell
- /nexcoin worth nexcoin: Check the current worth of NexCoin.
Permission: nexcoin.worth
- /nexcoin worth nexcrypto: Check the current worth of NexCrypto.
Permission: nexcoin.worth
- /nexcoin invest [amount] nexcoin [duration|percentage]: Make an investment with NexCoin.
Permission: nexcoin.invest
- /nexcoin invest [amount] nexcrypto [duration|percentage]: Make an investment with NexCrypto.
Permission: nexcoin.invest
- /nexcoin adjustvalue [value]: Adjust the value of NexCrypto in percentage.
Permission: nexcoin.adjustvalue
- /nexcoin help: View a list of available commands and descriptions.
Permission: nexcoin.help
Requirements:
- Must have the Vault plugin running on the server.
- Must have EssentialsX plugin running on the server or any other plugin that integrates with vault.
- Must have the PlaceholderAPI plugin running on the server for placeholders to work.
How to Setup:
- Download the plugin and place the JAR file in the plugins folder of your Spigot server.
- Start your server. This will generate a config.yml file.
- Stop the server and configure config.yml according to your preferences.
- Restart your server.