Bitcoin 插件
概述
Bitcoin 插件旨在将加密货币功能集成到您的服务器中。通过此插件,玩家可以使用游戏内货币购买、出售和转移假比特币。该插件从网络获取实时比特币汇率,并将其保存到 .YAML 文件中。
功能
- 实时比特币汇率:自动获取并更新当前以美元计价的比特币价格。
- 玩家交易:允许玩家使用游戏内货币买卖比特币。
- 玩家余额:在 YAML 文件中存储每位玩家的比特币数量。
- 历史汇率:将在 YAML 文件中保存获取到的比特币汇率,以便离线访问。
- 简易命令:提供直观的命令供玩家与插件交互。
安装
要在您的 Minecraft 服务器上安装 Bitcoin 插件,请按照以下步骤操作:
- 下载插件:从官方来源获取最新版本的 Bitcoin 插件 JAR 文件。
- 将 JAR 放入 Plugins 文件夹:将下载的 JAR 文件移动到 Minecraft 服务器的
plugins 文件夹中。
- 启动服务器:启动您的服务器。插件将自动生成所需的配置文件和文件夹。
命令
Bitcoin 插件包含多个命令,供玩家管理其比特币交易:
-
/buybitcoin <amount>:使用游戏内货币购买指定数量的比特币。
-
/sellbitcoin <amount>:出售指定数量的比特币以换取游戏内货币。
-
/givebitcoin <player> <amount>:向其他玩家转移指定数量的比特币。
- 示例:
/givebitcoin playerName 0.2
-
/bitcoin:查看您当前的比特币余额。
-
/bitcoinrate:检查当前以美元计价的比特币汇率。
-
/help:列出所有可用命令及其描述。
依赖项
需要 Vault
Bitcoin Plugin
Overview
Bitcoin Plugin is designed to integrate cryptocurrency features into your server. With this plugin, players can buy, sell, and transfer fake Bitcoin using in-game currency. The plugin fetches real-time Bitcoin rates from the web and saves it to a .YAML file.
Features
Real-Time Bitcoin Rates: Automatically fetches and updates the current Bitcoin price in USD.
Player Transactions: Allows players to buy and sell Bitcoin with in-game currency.
Player Balances: Stores each player’s Bitcoin amount in a YAML file.
Historical Rates: Saves the fetched Bitcoin rate in a YAML file for offline access.
Easy Commands: Intuitive commands for players to interact with the plugin.
Installation
To install the Bitcoin Plugin on your Minecraft server, follow these steps:
Download the Plugin: Obtain the latest version of the Bitcoin Plugin JAR file from the official source.
Place the JAR in Plugins Folder: Move the downloaded JAR file into the plugins folder of your Minecraft server.
Start Your Server: Launch your server. The plugin will automatically generate the necessary configuration files and folders.
Commands
The Bitcoin Plugin includes several commands for players to manage their Bitcoin transactions:
/buybitcoin <amount>: Buy a specified amount of Bitcoin using in-game currency.
Example: /buybitcoin 0.5
/sellbitcoin <amount>: Sell a specified amount of Bitcoin for in-game currency.
Example: /sellbitcoin 0.5
/givebitcoin <player> <amount>: Transfer a specified amount of Bitcoin to another player.
Example: /givebitcoin playerName 0.2
/bitcoin: View your current Bitcoin balance.
Example: /bitcoin
/bitcoinrate: Check the current Bitcoin rate in USD.
Example: /bitcoinrate
/help: List all available commands and their descriptions.
Example: /help bitcoinplugin
Dependencies
Requires Vault
评论 0
登录后参与评分
还没有评论,来抢沙发吧