查看 Javadocs
查看文档
在 Github 上查看源代码
在 Github 上下载最新版本
在 Github 上查看问题反馈
在 Crowdin 上协助翻译本项目
这个插件是什么?
CouponCodes 允许你创建和兑换代码与优惠券。这些优惠券可以提供多种物品、经济货币,甚至游戏内的身份组(Ranks)。 你可以自定义每张优惠券,例如限制其使用次数和使用时长。
功能特性
- 创建可发放物品、经验值、身份组、经济货币或执行命令的优惠券
- 简单的命令
-
数据库支持
-
Bukkit
- SQLite
- MySQL
-
CanaryMod
- Canary 内置数据库
-
Bukkit
- 为开发者提供的 API
依赖要求
-
Bukkit
- Vault(可选)
- 某种权限插件
-
CanaryMod
- 无
命令与权限
| 命令 | 权限 | 描述 |
|---|---|---|
| /coupon | 显示本插件的命令列表 | |
| /coupon add item <name/random> <item1:amount,item2:amount,...> | cc.add | 添加一个用于兑换物品的优惠券 |
| /coupon add econ <name/random> <money> | cc.add | 添加一个用于兑换经济货币金额的优惠券 |
| /coupon add rank <name/random> <group> | cc.add | 添加一个用于兑换身份组的优惠券 |
| /coupon add xp <name/random> <xp> | cc.add | 添加一个用于兑换经验值的优惠券 |
| /coupon time <time> | cc.time | 更改优惠券的有效时间 |
| /coupon uses <uses> | cc.uses | 更改优惠券的使用次数 |
| /coupon remove <name> | cc.remove | 删除一个优惠券 |
| /coupon redeem <name> | cc.redeem | 兑换一个优惠券 |
| /coupon list | cc.list | 显示可用的优惠券 |
| /coupon info [name] | cc.info | 显示某个优惠券的信息 |
额外权限
| 权限 | 描述 |
|---|---|
| cc.* | 授予所有命令的访问权限 |
本插件使用 Plugin Metrics 来收集关于本插件及其使用情况的统计数据。 这些统计信息可以在此处查看。
View the Javadocs
View the Documentation
View the source code on Github
Download the latest version on Github
View the source code on Github
Aid in translating this project on Crowdin
What is this plugin?
CouponCodes allows you to create and redeem codes and coupons. The coupons can give you multiple items, economy money, or even in-game ranks. You can customize each coupon such as how many times it can be used and for how long it can be used.
Features
- Create coupons to give items, xp, ranks, econonmy money, or run commands
- Simple Commands
-
Database Support
-
Bukkit
- SQLite
- MySQL
-
CanaryMod
- Canary built-in database
-
Bukkit
- API For developers
Requirements
-
Bukkit
- Vault (Optional)
- Some Form of Permissions
-
CanaryMod
- None
Commands and Permissions
| Command | Permission | Description |
|---|---|---|
| /coupon | Displays commands for this plugin | |
| /coupon add item <name/random> <item1:amount,item2:amount,...> | cc.add | Adds a coupon to redeem an item |
| /coupon add econ <name/random> <money> | cc.add | Adds a coupon to redeem an amount of economy money |
| /coupon add rank <name/random> <group> | cc.add | Adds a coupon to redeem a rank |
| /coupon add xp <name/random> <xp> | cc.add | Adds a coupon to redeem xp |
| /coupon time <time> | cc.time | Changes the time of a coupon |
| /coupon uses <uses> | cc.time | Changes the uses of a coupon |
| /coupon remove <name> | cc.remove | Removes a coupon |
| /coupon redeem <name> | cc.redeem | Redeems a coupon |
| /coupon list | cc.list | Shows available coupons |
| /coupon info [name] | cc.info | Shows information about a coupon |
Additional Permissions
| Permission | Description |
|---|---|
| cc.* | Gives access to all commands |
This plugin utilizes Plugin Metrics for collecting statistics about this plugin and usage. These stats can be viewed here.
下载 CouponCodes
下载 CouponCodes
下载 CouponCodes
下载 CouponCodes
下载 CouponCodes
下载 CouponCodes
下载 CouponCodes
下载 CouponCodes
下载 CouponCodes
下载 CouponCodes
3.2
- 添加指令优惠券
- 时间和使用次数现在位于单独的指令中
- 添加俄语和波兰语
3.1.3
- 修复了重新登录后指令不输出任何内容的错误
3.1.2
- 重要 API 更新:(这对普通用户没有影响,仅针对开发者)项目包已为新的域名进行了重构,因此使用 3.1.1 版本的 API 将不再有效。此外,我们现在有了一个 Maven 仓库!文档即将推出。
- Canary:修复了优惠券时间未更新的错误
3.1.1
- 添加了德语
- 修复了 Bukkit 作者信息的一个小错误。
3.1
- 添加了本地化功能。您现在可以将插件语言设置为英语、荷兰语或海盗语。如果您希望参与翻译贡献,您可以在 Crowdin 上参与。
- 修复了一些杂项错误
- 修复了信息显示 UUID 而非名称的问题
- 为了兼容性,改为基于 Java 6 构建,而非 Java 8
- 将插件移植到 CanaryMod
- 为开发者添加了 API
3.0.1
- 将名称转换为 UUID
- 添加了指标统计和更新器。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
一个强大的 API,用于为你的 Minecraft 服务器创建自定义进度。
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
评论 0
登录后参与评分
还没有评论,来抢沙发吧