BankPluginSystem[BPS] 图标

BankPluginSystem[BPS]

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/bankpluginsystem
资源信息

Minecraft 版本: 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10

平台: paper purpur spigot

资源介绍

BankPluginSystem – Minecraft Virtual Banking Plugin

BankPluginSystem is a powerful and user-friendly virtual banking system for Minecraft servers. It allows players to manage in-game currency securely and gives server administrators flexible tools to configure and control the economy. The plugin includes a complete API for integration with other plugins.

Features

  • Balance Management: Deposit, withdraw, and check player balances.
  • Player-to-Player Transfers: Securely transfer funds between players.
  • Transaction History: Paginated transaction logs for easy tracking.
  • Customizable Currency: Diamonds, emeralds, gold, and diamond ore.
  • Administrative Tools: Set bank name, configure currency, reload plugin.
  • Enhanced GUI: CustomModelData for polished visual appearance.
  • Multi-Storage Support: YAML, SQLite, or MySQL.
  • Chat-Based Input: Interactive prompts for deposits, withdrawals, and transfers.
  • Notifications: Periodic updates via chat.

Commands

  • /bank – Open bank GUI
  • /balance – Check current balance
  • /deposit <amount> – Deposit currency from inventory
  • /withdraw <amount> – Withdraw currency to inventory
  • /transfer <player> <amount> – Transfer funds to another player
  • /setcurrency <diamond|emerald|gold|diamond_ore> – Set server currency (admin only)
  • /setbankname <new name> – Change bank name (admin only)
  • /bank reload – Reload the plugin (admin only)
  • /bhelp – Show help and commands

API Overview

BankPluginSystem provides a full API for plugin developers. Available methods include:

  • Balance Management:

    • getBalance(playerName) / getBalance(player) – Get a player’s current balance.
    • setBalance(playerName, amount) / setBalance(player, amount) – Set a player’s balance directly.
  • Deposits and Withdrawals:

    • deposit(playerName, amount) / deposit(player, amount) – Add funds to a player’s account.
    • withdraw(playerName, amount) / withdraw(player, amount) – Remove funds from a player’s account.
  • Transfers:

    • transfer(fromPlayerName, toPlayerName, amount) – Transfer funds between players by name.
    • transfer(fromPlayer, toPlayer, amount) – Transfer funds between Player objects.
    • transfer(fromPlayer, toPlayerName, amount) – Transfer from a Player object to a player by name.
  • Transaction History:

    • getTransactions(playerName, page) / getTransactions(player, page) – Retrieve paginated transaction records.
  • Currency and Bank Info:

    • getCurrency() – Get current currency as a string.
    • getCurrencyEnum() – Get currency type as an enum.
    • getBankName() – Get current bank name.
    • getStorageType() – Get storage type in use (YAML, SQLite, MySQL).
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Brewery Texture Pack

价格:0 墨喵币
下载量:0

查看详情
JELLY WORLD

价格:0 墨喵币
下载量:0

查看详情
Floppy Music Disc

价格:0 墨喵币
下载量:0

查看详情
Selective Offline Mode

价格:0 墨喵币
下载量:0

查看详情