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

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

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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧