Salesmania 是一款专为 InvisionCraft 开发的拍卖插件,旨在替代那些存在过多缺陷或无法满足我们需求的同类插件。 最终我希望该插件能处理其他形式的购买/销售/交易,但目前主要焦点在于拍卖功能。
功能特性
拍卖功能
- 物品黑名单(禁止拍卖的物品)
- 持久化启用/禁用拍卖
- 冷却时间(两次拍卖之间的间隔)
- 自定义本地化支持(每位玩家可以选择自己的语言环境)
- 完全可自定义的输出内容
- 物品储物箱:当背包已满或玩家离线时保存玩家物品(使用 /collect 命令取回)
- 允许/禁止在创造模式下使用
- 自定义剩余时间通知
- 最小/最大加价幅度
- 最小/最大起拍价
- 服务器税收
- 防狙击功能
- 玩家可以忽略拍卖广播消息
- 使用 Vault 提供易读的 item 名称
- 使用 Vault 支持经济系统
- 生物生成器显示生物类型
- 相比其他同类插件更简单的启动命令
- 拍卖队列
- 能够查看当前排队中的拍卖
- 大幅降低在服务器崩溃/重启时丢失物品或货币的风险
- 频道支持(TownyChat 和 Herochat)
- 对于没有频道的服务器,广播仅发送至对应世界组内的世界。
- 世界组(见下文)
- WorldGuard 区域支持(见下文)
- 支持重命名物品、撰写过的书以及附魔书。
- 可能还有更多我忘记列出的功能
世界组
世界组是 v1.3 版本中的新功能。每个组都有独立的拍卖队列。一个组的玩家不能竞拍另一个组的拍卖物品。还可以为每个组指定单独的广播频道。 这也可以用于防止物品在世界间移动,物品储物箱现在也针对世界组进行区分。如果玩家在拍卖结束时不在同一个世界组中,物品将被存入储物箱,并且只能从正确的组中取回。
WorldGuard 区域支持
WorldGuard 区域支持将包含在 v1.39.1(beta) 及更高版本中。此功能提供了极大的灵活性。您可以设置每个区域允许的指令,以及玩家是否能在该区域内接收物品。如果您设置了 toStash 配置项,所有拍卖物品将自动发送给玩家的物品储物箱。然后您可以设置 deny: [collect] 以禁止玩家在该区域从储物箱中取回物品。您可以限制玩家取回物品、出价、发起拍卖或任何您想要限制的行为的能力。
即将推出的功能
- 销售功能。
- 支持网络拍卖的 API。
您可以期待更多丰富的功能。我非常期待听到大家关于如何改进插件或功能的评论与建议 :)
依赖要求
本插件依赖 Vault 以实现经济兼容性和易读的 item 名称。 它应该能与所有受 Vault 支持的经济插件配合工作。
本地化
Salesmania 完全支持自定义本地化文件。 最新的英文本地化文件始终可以在 这里 找到
如果您创建了其他语言的本地化文件,我将不胜感激您将其提交以便包含在后续版本中:
- 通过电子邮件发送到这里
- 在 github 上 Fork 并提交拉取请求 (Pull Request)
- 在此处 或此处 提交包含本地化文件的工单
指令
Auction
/auction start <starting bid> [quantity] [time] - 拍卖你手中持有的物品
/auction bid <bid> - 对正在拍卖的物品出价
/auction info - 显示当前拍卖的信息
/auction ignore - 忽略所有拍卖消息
/auction end - 结束拍卖,最后出价者获胜。
/auction cancel - 取消拍卖,物品归还所有者,最后一次出价退回
/auction enable|disable - 启用或禁用拍卖
Salesmania
/salesmania reload - 重新加载所有配置和本地化文件
/salesmania locale set <locale> - 更改您当前的语言环境
/salesmania locale list - 列出所有可用的语言环境
储物箱
/collect - 收集存储在物品储物箱中的物品
权限
- salesmania.auction.start - 允许您发起拍卖。
- salesmania.auction.bid - 允许您对拍卖出价。
- salesmania.auction.cancel - 允许您取消任意拍卖。
- salesmania.auction.end - 允许您结束任意拍卖。
- salesmania.auction.enable - 允许您启用拍卖。
- salesmania.auction.disable - 允许您禁用拍卖。
- salesmania.admin.reload - 允许您重新加载配置
完整的权限列表可以在 这里 找到
文档
在使用 Salesmania 时,我一直牢记用户界面应尽可能简洁,而事实确实如此。向玩家暴露的简单命令寥寥无几。然而,在这份简洁的背后,是一个功能复杂的插件,其中包含许多高级特性,并且还在不断新增。简而言之,我们需要文档支持。随着 v1.4 版本的发布以及代码库日益稳定,我将着手编写相关文档。在此期间,欢迎大家在评论区提出任何问题,若涉及更深入的探讨,也可通过私信联系我。
对于有兴趣协助完善 Salesmania 文档的人员,我已在此开放了 wiki:
请注意,Salesmania 从未被设计为仅仅一个插件。对于开发者而言,它提供了出色的 API,使其易于扩展。如果您有兴趣将 Salesmania 集成到您的插件中以进行扩展或添加新功能,但不知从何入手,我非常乐意帮助其他开发者。
更多链接
Salesmania is an auction plugin developed for InvisionCraft as an alternative to other similar plugins that were either too buggy, or simply didn't fit our needs. Eventually i'd like this plugin to handle other forms of buying/selling/trading but for now the main focus has been the auction feature.
Features
Auction Features
- Item blacklist (items that can't be auctioned)
- Persistent enable/disable of auction
- Cooldown (time between auctions)
- Custom locale support (each player can select his/her own locale)
- Completely customizable output
- Item stash holds players items if inventory is full or offline (use /collect)
- Allow/Disallow use in creative mode
- Custom time remaining notifications
- Minimum/maximum bid increment
- Minimum/maximum starting bid
- Server taxes
- Anti-snipe
- Players able to ignore auction broadcasts
- Uses vault for easily-readable item names
- Uses vault for economy support
- Mob spawners show mob type
- Simpler start command compared to other similar plugins
- Auction queues
- Able to view the currently queued auctions
- Greatly reduced risk of losing items or currency on server crashes/restarts
- Channel support (TownyChat and Herochat)
- For servers without channels, broadcasts are sent only to worlds in the appropriate world group.
- World groups (see below)
- World guard region support (see below)
- Support for renamed items, written books, and enchanted books.
- Probably more stuff i forgot to list
World Groups
World groups are a new feature in v1.3. Each group has an independent auction queue. Players in one group can not bid on auctions from another group. Separate broadcast channels can also be specified for each group. This can also be used to prevent items from moving between worlds, the item stash is now world group specific. If a player is not in the same world group at the end of an auction it will be added to the item stash and only able to be retrieved from the correct group.
Worldguard Region Support
Worldguard region support will be included in v1.39.1(beta) and later versions. This feature adds an extreme amount of flexibility. You'll be able to set the commands that are allowed in each region and also whether or not players will be able to receive items within that region. If you set the toStash configuration setting, all auction items will automatically be sent to the players item stash. You could then set deny: [collect] to disallow players from collecting items from their stash in that region. You can restrict your players ability to collect items, bid, start auctions, or anything you want.
Upcoming Features
- Selling.
- API support for web auctions.
You can expect many, many more features. I'm looking forward to hearing everyones comments or suggestions on how I can improve the plugin or features you're looking forward to :)
Requirements
This plugin depends on vault for economy compatibility and easily readable item names. It should work with every economy plugin that is supported by Vault.
Locales
Salesmania fully supports custom locales. The latest english locale file can always be found here
If you create a locale in a different language I would be extremely appreciative if you submitted it to be included in later versions:
- Email it here
- Fork on github and submit a pull request
- Submit a ticket here or here containing the locale
Commands
Auction
/auction start <starting bid> [quantity] [time] - Auctions the item you are holding
/auction bid <bid> - Bids on the item that is being auctioned
/auction info - Displays information on the current auction
/auction ignore - Ignores all auction messages
/auction end - Ends the auction with the last bidder as the winner.
/auction cancel - Cancels the auction, item is returned to owner and the last bid is returned
/auction enable|disable - Enables or disables the auction
Salesmania
/salesmania reload - Reloads all configuration and locales
/salesmania locale set <locale> - Changes your current locale
/salesmania locale list - Lists all available locales
Stash
/collect - Collects items stored in the Item Stash
Permissions
- salesmania.auction.start - Allows you to start an auction.
- salesmania.auction.bid - Allows you to bid on an auction.
- salesmania.auction.cancel - Allows you to cancel ANY auction.
- salesmania.auction.end - Allows you to end ANY auction.
- salesmania.auction.enable - Allows you to enable the auction.
- salesmania.auction.disable - Allows you to disable the auction.
- salesmania.admin.reload - Allows you to reload configuration
The full permissions list can be found here
Documentation
With Salesmania, I've always kept in mind that the user interface should be as simple as possible, and it is. There's really only a few simple commands exposed to your players. Unfortunately, behind that simplicity is a complex plugin full of advanced features and more are being added all the time. Long story short, we need documentation. I'll be working on this as v1.4 rolls around and the code base becomes more and more stable. Meanwhile, everyone should always feel free to ask any questions in the comments, or via PM if it's something more in-depth.
For people that might be interested in helping document Salesmania, I've opened up the wiki here:
Keep in mind that Salesmania was never designed to be just a plugin. For developers, there's a great API that makes it easily extensible. If you're interested in hooking into Salesmania to extend it or add features in your own plugin but don't know where to start, I'm ALWAYS happy to help fellow developers.
More Links
下载 Salesmania
下载 Salesmania
下载 Salesmania
下载 Salesmania
下载 Salesmania
下载 Salesmania
下载 Salesmania
下载 Salesmania
下载 Salesmania
下载 Salesmania
详细信息请参阅
1.39.6 -
- 完全移除了分组缓存。(您可以删除 groupCache.yml)
- 关于 Auction、AuctionQueue、WorldGroup 的 API 进行了小幅更改。
- 改进了堆叠物品的处理方式。
1.39.5 -
- 修复了药水相关的复制漏洞
- 修复了堆叠数量问题
- 添加了「荆棘」附魔的区域设置消息。
1.39.4 -
- 「节肢杀手」附魔现在应该能正确显示
- 修复了使用自定义时间时数量被设置为 1 的问题
- 支持已书写的书、附魔书和重命名物品。
- 改进了堆叠比较的处理方式
1.39.3 -
- 修复了在物品仓库中存储多个堆叠物品的问题
- 修复了可能记录错误堆叠数量的问题(针对堆叠数量 >64 的物品)
- 在区域设置的语法中添加了 /auction list 命令
1.39.2 -
- 剩余时间消息现在可以包含信息令牌
- 修复了玩家接收物品时偶尔发生的异常。
- 修复了一个 bug:拥有区域覆盖权限的玩家获得的物品总是进入仓库。
- 现在可以使用 /auction list 列出队列中的拍卖
- 从控制台重新加载配置时,重载消息不再显示两次。
- 区域访问现在考虑了命令别名
- 在队列开始之前尝试竞拍拍卖不再导致错误。
1.39.1 -
- WorldGuard 区域支持
- 修复了“未找到区域设置消息”的问题。
1.37 -
- 在配置中添加了无效世界名称的警告
- 修复了离线玩家拍卖结束后与区域设置相关的空指针异常 (NPE)
1.36 -
- 添加了对 Multiverse-Core 的软依赖
1.35 -
- 修复了经济系统空指针异常 (NPE)
1.34 -
- 修复了启动拍卖时空指针异常 (NPE)
- 修复了未指定数量时的数组越界异常
1.33 -
- 修复了在世界组初始化期间的空指针异常 (NPE)
- 资金现在存入/提取自正确的世界账户
1.32 -
- 事件 API 更改
- 修复了尝试从控制台使用 /auction ignore 时的 bug
- 在配置中添加了 minTime 和 maxTime
- 拍卖时间现在可以通过 /auction start <startbid> <quantity> [time] 设置
- 修复了一个 bug:重新加载配置可能导致不正常的世界组行为。
1.31 -
- Herochat 频道支持
1.3 -
- 世界组功能
- TownyChat 频道支持
1.2.5 -
- 拍卖队列功能
1.2 -
- 更新以兼容 CraftBukkit v1.5
- 修复了复制漏洞。
1.1a3 -
- 添加了葡萄牙语区域设置
- 修复了无法拍卖 Vault 之外物品的问题
- 添加了物品仓库
- 修复了法语区域设置的编码问题
1.1a2 -
- 区域设置现在按预期保存
- 添加了法语区域设置
- 服务器税收功能
1.1a1 -
- 与区域设置相关的优化
- 不再显示刷怪笼的附魔信息
- 现在可以使用 /bid 代替 /auction bid
- 改进了日志记录
1.0b9 (RC1):
- 修复了手中无物品时进行拍卖的错误
- /auction ignore 现在按预期保存配置
- 在语法列表中添加了 /auction ignore
- 修复了权限问题
- 添加了启用/禁用拍卖的权限提示消息
- 修复了区域设置文件中的拼写错误
- 修复了 /salesmania locale 命令的语法
- 添加了竞拍时的创造模式检查
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
Vault2.0 是什么? Vault2.0 是一个经济插件,它注册了一个兼容 Vault API 的 Bukkit Economy 服务,允许其他插件(商店、等级等)使用货币而无需依赖原始的 Vault.jar。它包含菜单、支付/收费流程
插件
一款旨在与 Multiverse-Core 紧密结合的库存管理插件
插件
一个功能丰富、完全动画化的箱子插件,适用于 Paper 1.21.x,支持 IA、Vault、PlaceholderAPI 和 Citizens
插件
一个现代且高度可配置的 Essentials 插件,类似于 EssentialsX
插件
城镇现在可以要求建造具有特定功能的建筑
插件
奖励你的玩家,配送员,冷却时间,100% 可定制,支持 MySQL,多服务器!
评论 0
登录后参与评分
还没有评论,来抢沙发吧