DonationPoints v1.9.0

什么是 'DonationPoints'
DonationPoints 源于一个 Bukkit 请求帖。我当时已经在为自己的服务器开发一款类似的插件,于是决定将其公开。这将允许管理员给玩家发放点数(基本上可以用于任何目的——但主要用于捐赠)。随后,玩家可以在游戏中使用这些点数来兑换“奖励”。你可以自定义这些奖励的内容。
什么是点数?
点数更像是一种虚拟货币。类似于 iConomy 的工作方式,但它更侧重于捐赠以及利用点数在游戏中获取奖励。该插件的理念是:玩家捐赠 > 玩家获得点数 > 玩家在任意时间、任意地点花费点数。目前,该插件仅提供了一种由管理员向玩家发放点数以及玩家自行消费的方法,它不会*在玩家捐赠时自动给予他们点数。我推荐使用其他插件(例如 BuyCraft)来自动为玩家发放点数。服务器管理员(或拥有相应权限的人)可以在配置文件中创建套餐,并制作用于购买这些套餐的告示牌。请参阅下方链接中的告示牌设置指南。
功能特性
- 在配置文件中定义套餐,设定玩家可以用其点数购买的自定义价格。
- 你的套餐包含一系列将从控制台执行的命令列表。有关深入创建套餐的信息,请参阅下方列出的套餐页面。
- 使用 MySQL 存储余额。这使得服务器管理员能够轻松管理点数,同时保持余额的安全性。
- 提供从玩家处获取或扣除点数的命令,以备不时之需。
- 当玩家创建新账号时,会检查是否存在 DonationPoints 账户,以防止重复。
- 支持命令和权限系统。
- 支持 Metrics 统计。
- 可设置套餐在一段时间之后过期。
- 限制用户购买套餐的次数,以防止点数浪费。
- 限制 / 过期设置可按每个套餐单独定义。
- 配置文件易于理解。在命令列表中使用变量来运行针对特定玩家的命令。请参阅套餐设置以获取更多信息。
- 所有消息均可配置且整洁有序。插件不会用难看的消息刷屏。所有消息均遵循相同的格式 / 颜色方案。
附加页面
开发版本
我已经开始推送该插件 v1.6 版本的 Dev Builds(开发构建版)。你可以在上方“即将推出的功能”链接中找到最新的开发版本。它将始终与页面上列出的更改保持同步。
联系方式
如果你对该插件有任何建议或担忧,请提交工单。Bukkit 提供的工单跟踪系统使我能够有效地管理功能请求和错误,并在进展过程中进行沟通。
开发者?
该项目已在 GitHub 上开源。如果你发现需要修复的问题,欢迎提交 Pull Request。如果你有兴趣继续开发此插件,欢迎与我联系,我们可以讨论将你添加为贡献者。点击下方图片进入代码仓库。

官方关联插件
以下插件在设计时考虑了 DonationPoints,并依赖 DonationPoints API。这意味着你必须安装本插件才能使用下方列出的任何插件。
DPEnchant - 用户可以使用 DonationPoints 为其物品购买附魔。
DonationPoints v1.9.0

What is 'DonationPoints'
DonationPoints came from a Bukkit request thread. I was already working on a similar plugin for my own server, so I decided to make it public. This will allow you the admin to give a player points (essentially for anything - but mainly for donating). From there, the player can use these points on 'perks' in-game. You can make the perks whatever you want.
What are Points?
Points are more of a virtual currency. Similar to how iConomy works, but it is more oriented toward donations and using your points to earn perks in-game. The idea behind the plugin is: Player Donates > Player Receives Points > Player Spends points on whatever / whenever. At the moment, the plugin only supplies a method for you giving the points to someone and them spending it, it will not* automatically give them points when they donate. I recommend another plugin, such as BuyCraft, to give a player points automatically. The Server Admin (or anyone with permission) can create packages in the config, and create signs for the packages to purchased on. Please refer to the signs setup guide linked below.
Features
- Define packages in the config file with custom prices that your players can spend their points on.
- Your packages contain a list of commands that will be executed from the console. For in-depth package creation, see the packages page listed below.
- MySQL storage for balances. This allows easy management of points for the server admin while keeping balances secure.
- Commands to give / take points from players if you need to.
- Checks for DonationPoints accounts when a player creates a new one to prevent duplicates.
- Commands and Permissions support.
- Metrics support.
- Set packages to expire after an amount of time.
- Limit the amount of times a user may buy a package, to prevent waste of points.
- Limits / Expiration can be defined on a per package basis.
- Easy to follow config. Run commands that are player specific using variables in the commands lists. See package setup for more information.
- All messages are configurable and neat. Plugin wont spam the player with ugly messages. They all follow the same scheme / colors.
Additional Pages
Dev Builds
I have already begun pushing Dev Builds for v1.6 of the plugin. You can find the latest dev build at the Upcoming Features link right above. Will always be up to date with the changes listed on the page.
Contact
If you have a suggestion for the plugin, or a concern, please open a ticket. The ticket tracker provided by Bukkit allows me to manage feature requests and bugs in an effective manner as well as communicate back as progress goes on.
Developer?
This project is available on GitHub. If you find something that needs fixing, feel free to make a pull request. If you're interested in continuing to develop the plugin, feel free to let me know and we can discuss adding you as a contributor. Click the image below to be taken to the repo.

Official Plugins
The following plugins were made with DonationPoints in mind and rely on the DonationPoints API. This means that you must have this plugin installed to use any of the plugins listed below.
DPEnchant - Users can purchase enchantments for their items using DonationPoints.
下载 DonationPoints
下载 DonationPoints
下载 DonationPoints
下载 DonationPoints
下载 DonationPoints
下载 DonationPoints
下载 DonationPoints
下载 DonationPoints
下载 DonationPoints
下载 DonationPoints
版本 2.0.0
这个更新已经酝酿了很久,抱歉让大家久等了!此次更新的主要目的是让插件更好地兼容 UUID。此外还有一些其他改动。
- 在使用 /dp package info 或 /dp purchase 命令时,包名称现在可以忽略大小写。
- 新增支持按世界限制购买次数。
- 所有账户数据现在在服务器启动时加载,而不是等到玩家加入游戏时才加载。
- 访问账户数据的效率现在大幅提升,因为我们不再每次操作都依赖 SQL 查询。
- 完全重写了 Packages(包)配置
- UseVaultEconomy:是否使用服务器经济系统而非 DP(DonationPoints)。
- price:未变。
- description:未变。
- limit:用户可购买的数量。0 表示无限。
- 这意味着 haslimit 布尔值已被移除。
- ActivateImmediately:现在需大写,除此之外功能保持不变。
- ExpireTime:包的有效期时长(以分钟为单位,而非天数)。0 表示该包永久有效。
- 这意味着 expires 布尔值已移除,要关闭过期功能只需将 ExpireTime 设置为 0 即可。
- ActivationCommands:激活包时执行的命令。以 'p:' 开头的命令将以玩家身份运行,而非控制台。除此之外无变化。(你需要将命令列表中的关键字改为大写)
- ExpirationCommands:包过期时执行的命令。
- PreRequisites:前置条件列表。空列表表示无需前置条件。
- RequiredInventorySpace:未变。
- 你必须重新创建所有包以确保没有错误。我强烈建议让示例包重新生成,并以其为基准进行修改。任何缺少必需值的包都无法被购买,尝试购买的玩家会收到提示,告知该包配置有误。
- /dp confirm 命令已完全重写,效率更高。
- 修复了交易日志记录的一些问题。
- 在 /dp set、give 和 take 命令中,你可以使用不完整的玩家名称,前提是玩家处于在线状态。
- 新增权限节点:donationpoints.notify。拥有此权限节点的玩家将在余额发生变动时收到通知。
- 修复了一些日期格式不一致的问题。
- 支持 UUID。
- 服务器启动时请给予一定时间,以便将数据库中的所有玩家转换为 UUID。系统将添加一个 UUID 列,然后在数据库中查找每个玩家的 UUID。为了使转换正常工作,你的服务器上必须存在这些玩家的 playerdata 文件(即他们之前必须玩过游戏)。如果他们没有玩过,我们将无法找到他们的 UUID。
无 :)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧