简介
通过此插件,你可以使用实体邮箱向其他玩家发送物品、文本和金钱。
每位玩家都拥有一个默认邮箱,可通过左击带有邮箱标志的告示牌来访问。此外,还可以将箱子转换为邮箱,以增加玩家收件箱的空间。
物品可以通过手持物品右击,或右击带有邮箱标志的告示牌来发送。
通过命令发送的文本会转换为实体信件,并放置在接收者的邮箱中。
金钱可以通过 ItemMail GUI 发送,只需右击邮箱或信纸即可。在 ItemMail GUI 中,如果配置文件中启用了“发送金钱”功能,会出现一个金锭物品。你可以左击增加金额,右击减少金额。完成后点击发送,你的金钱将被转换为“银行钞票”物品(一张纸片)并发送给接收者!接收者可以手持这张银行钞票并右击它,将金钱存入其账户。
功能
- 完全可配置的默认收件箱
- 完全可配置的发送窗口
- 向其他玩家的收件箱发送物品
- 以物品形式发送文本
- 发送文本邮件时收取费用(v1.0.0.7)
- 发送物品时收取费用,可按物品或按邮件配置(v1.0.0.7)
- 通过银行钞票物品发送金钱(v1.0.1.3)
截图及其他图片
俗话说一图胜千言,这里有一些图片:

视频
由 bobby1727mc 制作的插件展示:
特别感谢 ApacheMC 和 Sparky12387 制作了这个视频!
命令
- /papermail sendtext <PLAYER> <TEXT> 向玩家发送文本邮件
- /papermail createbox <PLAYER> 在对着箱子输入此命令时,创建一个收件箱箱子。
使用方法
物品邮寄
要开始使用物品邮寄功能,你需要创建一个邮箱告示牌,或者合成一些信纸来发送物品信件。
你可以通过放置一个告示牌并在第二行输入 “[Mailbox]” 来创建该告示牌;信纸可以通过在工作台中任意摆放方式放入一张纸、一根羽毛和一个墨囊来合成。
右键点击邮箱告示牌或使用信纸时,会打开邮件窗口。
要在窗口左上角插槽中放入一本已填写的书以定义邮件的接收者,并添加你想要发送的其他物品。
点击发送按钮(右侧的绿色羊毛)后,你的邮件将被发送出去。
文本邮寄
要发送文本邮件,只需输入命令
随后跟上接收者和你的消息内容。
权限
papermail.send.text
允许使用命令 /papermail sendtext
默认启用
papermail.send.item
允许使用邮箱告示牌或右键点击信纸来发送物品
默认启用
papermail.createchest
允许使用 /papermail createbox 创建收件箱箱子
默认启用
papermail.costs.exempt
使用户免除邮寄费用。
默认为 false。
配置
general:
EnableTextMail: true // 允许使用 /papermail sendtext 发送文本邮件
EnableItemMail: true // 允许使用物品邮寄功能
EnableEnderchest: true // 允许从物品邮件 GUI 访问末影箱
EnableMailCosts: false // 启用发送文本和物品邮件的费用
EnablePerItemCosts: false // 启用按物品计费而非按邮件实例计费
EnableSendMoney: false // 启用通过 PaperMail GUI 发送货币的功能
CostToText: 0.0 // 使用 /papermail sendtext 发送文本邮件的费用
SendItemCost: 0.0 // 发送物品(如果启用了 PerItemCosts 则为每物品费用)的费用
MailWindowRows: 3 // 邮件窗口的大小
DefaultBoxRows: 4 // 默认收件箱的大小,可通过左键点击告示牌访问
EnderChestRequirementID: 368
EnderChestRequirementDV: 0
MailItemID: 339 // 用于创建物品邮件的物品 ID
MailItemDV: 1 // 用于创建物品邮件的数据值
MailItemName: Letter paper // 用于创建物品邮件的物品名称
messages:
inbox-full-send: The mailbox of %recipient% is full, the items have been sent back to you. // 当收件人的邮箱已满时显示的消息
ingredient-missing: You are missing %item% to create a new letter. // 当缺少制作信纸的材料时显示的消息
依赖
1.0.0.7 及以上版本软依赖于 Vault,如果你希望将 MailCosts 或 Send Money 选项与经济插件配合使用。如果未检测到经济插件但 MailCosts 仍处于开启状态,Papermail 将默认使用金锭易货系统。
待办事项
添加费用豁免权限 .exempt
添加发送货币的功能
修复在邮寄物品时丢失 NBT 标签数据的问题。(此插件会导致某些由其他插件创建的特殊物品,如 EpicBoss Gold Edition 中的 EpicItems,在使用 ItemMail 系统邮寄时失去其特殊标签能力。)
使易货物品可配置,而不是永久设置为 GOLD_INGOT。
- 创建从 language.yml 读取的功能以支持多语言
修复 PaperMail 同时邮寄签名书物品的情况。 创建一个可以收取 GOLD_INGOTS 或货币作为费用的信纸分配器告示牌。
- 尽可能将接收者界面更改为 SignGUI
- 集成 GlobalMarket,这样你只需要一个邮箱
- 创建某种新的邮件通知系统
- 实现无需命令即可创建箱子盒(栅栏柱上的箱子)的功能
- 创建用于通过命令发送货币的命令和权限。这是否也需要 ProtocolLib 依赖?(使用告示牌 GUI 获取金额)
源代码
想看源代码吗?在这里!
注意!!!
我迫切需要 BUG 测试人员!如果有兴趣请私信我!我会为你的帮助在插件页面和插件本身上给予署名!(本插件为免费捐赠提供。编写一个插件需要大量时间,而测试所有可能的场景对我来说并不容易 :/ 为了减少发布带有新功能的新版 PaperMail 稳定副本的时间,BUG 测试非常有益,此外,你/你的服务器可以在插件托管到 Bukkit 之前提前访问该插件的早期版本。)
赞誉
本插件曾入选 Curse 精选!在此查看专题报道:
用户评价
“我使用过很多插件,但这绝对是我用过的最棒的插件!” —— DrkMatr1984
Introduction
With this plugin you can send other players items,texts, and money with a physical mailbox.
Every player has an default mailbox which can be accessed by left clicking a mailbox sign. Also a mailbox can be created from a chest to add additional space in a players inbox.
Items can be sent either through right clicking with an item or by right clicking a mailbox sign.
Texts which are sent through a command get converted to a physical letter and get placed inside the recipients mailbox.
Money may be sent through the ItemMail GUI by right clicking a mailbox or letterpaper. Inside the ItemMail GUI, there is now a gold Bar item that appears if Sending money is enabled in the config. You may left click to increase the amount and right click to decrease the amount. When you are done, click send and your money will be converted into a "Bank Note" item(a piece of paper) and be sent to the recipient! The recipient may then hold this Bank Note in their hand and right click it to deposit the money into their account.
Features
- Fully configurable default inbox
- Fully configurable sending window
- Sending items to other players inboxes
- Send texts as items
- Charge money to send text mail (v1.0.0.7)
- Charge money to send items, configurable per item or per mail. (v1.0.0.7)
- Send money through a Bank Note Item. (v1.0.1.3)
Screenshots and other images
Because pictures say more than 1000 words here some pictures:

Videos
Plugin Showcase by bobby1727mc :
Special thanks to ApacheMC and Sparky12387 for making this video!
Commands
- /papermail sendtext <PLAYER> <TEXT> Sends a textmail to the player
- /papermail createbox <PLAYER> Creates an InboxChest when typed while looking at a chest.
How to use
Item Mailing
To get started with the item mailing you need to create a mailbox sign or craft some letterpaper to send a itemletter.
You can create the sign by placing a sign and putting "[Mailbox]" in the second line, letter paper can be created by placing paper, a feather and an ink sac into the crafting grid in any shape.
When right-clicking, either the mailbox sign or with the letter paper, the mail window opens.
To define the recipient of the mail add a written book in the top-left slot of the window and add the other items you want to send.
When clicking the send button (the green wool on the right side) your mail will be sent.
Text Mailing
To send a text mail simply enter the command
followed by the recipient and your message.
Permissions
papermail.send.text
Allows to use the command /papermail sendtext
Is set by default
papermail.send.item
Allows to use mailbox signs or rightclick with letter paper to send items
Is set by default
papermail.createchest
Allows to create inbox chests using /papermail createbox
Is set by default
papermail.costs.exempt
Makes the user exempt from mailing costs.
is false by default.
Configuration
general:
EnableTextMail: true //Allow the use of Text mail messages with /papermail sendtext
EnableItemMail: true // Allow the use of Item Mailing
EnableEnderchest: true // Allow access to Enderchest from ItemMail GUI
EnableMailCosts: false // Enable costs to send texts and Item Mails
EnablePerItemCosts: false // Enable Costs per item instead of per mail instance
EnableSendMoney: false //Enable the Ability to send Money through the PaperMail GUI
CostToText: 0.0 // Cost to send Text mail messages with /papermail sendtext
SendItemCost: 0.0 // Cost to send an item(or PerItemCost if PerItemCosts is enabled)
MailWindowRows: 3 // Size of the mail window
DefaultBoxRows: 4 // Size of the default inbox which is accessed by left clicking the sign
EnderChestRequirementID: 368
EnderChestRequirementDV: 0
MailItemID: 339 // Item ID of the Item which is used to create item mails
MailItemDV: 1 // Data value of the Item which is used to create item mails
MailItemName: Letter paper // Name of the Item which is used to create item mails
messages:
inbox-full-send: The mailbox of %recipient% is full, the items have been sent back to you. // Message displayed when recipients mailbox is full
ingredient-missing: You are missing %item% to create a new letter. // Message displayed when missing ingredients to create Letter Paper Item.
Depends
1.0.0.7 and above softdepends on vault if you want to use the MailCosts or Send Money options with an economy plugin. If no economy is detected but MailCosts is still on, Papermail will default to a Gold Ingot barter system.
To do
Add permissions .exempt for costs
Add ability to send money
Fix Items losing their NBTTag data when mailing items. (This plugin causes some special items created by other plugins such as the EpicItems from EpicBoss Gold Edition to lose their special tag abilities when mailed through the ItemMail system.
Make barter item configurable instead of permanently set as GOLD_INGOT.
- Create the ability to read from a language,yml to support multiple languages
Fix PaperMail mailing the signed book item also. Create a letterpaper dispenser sign that charges GOLD_INGOTS or money for letterpaper.
- Change the Recipient Interface to SignGUI if possible
- Hook into GlobalMarket so you will only need one mailbox
- Create some kind of new mail notification system
- Make it that it doesn't take a command to create a chestbox (Chest on a fencepost)
- Create a command and permission to send money with command. Possible protocolib dependency for this as well? (Use sign GUI to get amount)
Source Code
Want to see the source code? Here it is!
ATTENTION!!!
I REALLY NEED BUG TESTERS! IF INTERESTED PLEASE PM ME!I I WILL GIVE YOU CREDIT ON THE PLUGIN PAGE AND PLUGIN ITSELF FOR YOUR HELP! (This plugin is provided donation free. It takes a lot of time to code a plugin and testing for all possible scenarios is not easy for me :/ To Eliminate time with releasing stable copies of updated PaperMail versions with new features, bug testing helps alot, plus you/your server will have access to early releases of the plugin before they are hosted on bukkit.)
Acclamades
This plugin was featured on Curse! Check out the Spotlight here :
Testimonials
"I use a lot of plugins, but this has got to be the most awesome plugin I have ever used!" -DrkMatr1984
评论 0
登录后参与评分
还没有评论,来抢沙发吧