What is Mail?
This plugin was originally based off of the functionality found in Minemail. This plugin is a fully-featured mailing system that allows you to send mail to any player. All data is backed up and stored via MySQL for easy access and for organisation. Almost everything is fully customizable and documentation on this can be found here
Features
- DeityAPI integration
- Econ support (If values are configured to 0, this will be disabled)
- Mail that is close to another sent will be disregarded. Check v12.07.19 change-log
- MySQL
- Permissions/SuperPerms support
- Locally referenced mail id's
- Mail to offline players
- Notifications when new mail arrives
- Language.yml to change the plugin to suit what your server needs
Requirements
- DeityAPI
- MySQL (no flatfile support atm)
- Permissions (SuperPerms supported)
Commands
- /mail reload: Reloads the config and all mail (requires Mail.admin.reload)
- /mail convert <old-table-name>: Converts the old mail data to the new format (requires Mail.admin.convert)
- /mail inbox <read|unread>: Checks your inbox (requires Mail.general.inbox)
- /mail read [index]: Opens the specified mail (requires Mail.general.read)
- /mail [write/create/new] [receiver] [message]: Sends a new mail (requires Mail.general.write)
Set up
- Place Mail.jar within your plugins folder
- Profit??? Optional: you can change almost every user message and formatting via the language.yml file
@ALexisB02 ill look into it
@watarimon ill edit the message a bit. The "invalid syntax" is simply being put out because you dont have any mails and its to remind you of the command list.
@kcorb90 signs cannot store enough text on them and its just plain hard to read from signs.
Can you make mail boxes using signs? That would be awesome if this has that.
Running a /mail on an empty inbox gives this
With mails present in the inbox I don't get the syntax error..?
I checked several times, the file is ok but not working ...
@arsjet Im sorry i am confused as to what you are trying to say. What does a minimum word have to do with sending mail in japanese?
@ALexisB02 check it against a yaml file validator to verify that the spacing is all correct.
@arsjet There is no word limit, however im going to assume you mean the minimum. If someone is sending you a mail that is under 3 words, chances are its unimportant. However i may in the future
Please add a setting that disables the word limit.
I use the variables allowed as you can see in this post, and don't work. =(
@bazookapooka the name extra for reading mail is only present to people with the admin permission node. Its an optional value that will allow you to read other peoples mail specifically. the same goes for '/mail <name>' you can just use '/mail' and '/mail read [number]' to interact with your own mailbox. I shall take a look at the updating notifications as well. And ill get the thread updated. thanks
@ALexisB02 As long as you are using the possible values defined in the wiki, you should be able to convert it to any language.
your plugin is awesome ! i love that its simple
oh yea when i get a mail from someone and read it, when i rejoin , it still says i have a new message even though it has already been read unless i delete it.
also the commands can be a bit confusing cuz at first i thought i had to type the senders name to read the message /mail read name number
maybe can change so we dont need to type the name and just be like /mail read number
other than that, it is awesome . very simple and configurable :)
also you might want to update the version number for the plugin thread cuz i thought this was outdated till i clicked link to bukkit dev
Hi ! Can not make it work in French. Why ? With this :
@freaky85
you are correct, i updated it in the default lang however you can change it locally through the lang file yourself now as well. Thanks for notifying me of this.
Theres a typo. It has to be: Your message has to be longer than 3 words.
I think?
@Alexander_Winters I looked into how SimpleClans was doing this and its something that's not possible with mail. In the future ill add a lang file so you can change the phrases around yourself however.
@richboos Fixed in v0.8.1 as well as another bug similar to this with /mail delete. Also it was supposed to send the help to the player however i was being negligent
This happens with v0.8 if a player doesn't complete a command, for example only entering /mail write
Purely cosmetic, but perhaps it could be adjusted to display the mail help instead?
@vanZeben
What would be a really good idea imo would be replacing {unreadmessages} with the actual number of unread messages like SimpleClans does with {clan}, though I have no idea how possible or executable that would be. It'd be cool though, as it could satisfy people using any and all announcement/motd plugins. I would use it with CommandBook myself :3
That said, awesome plugin mate! Thanks for releasing :D
@Liger_XT5
its no trouble at all, we just don't want to release certain "features" that will never get used by the general populous.
@predawnia
"mail.player.read" - to read messages "mail.player.join" - to receive join messages "mail.player.delete" - to delete messages "mail.player.write" - to write messages "mail.admin" - for admin
would be the correct set of nodes. you can use "mail.player.*" for short, i had forgot to update the OP so ill do that now
In 0.8 do we still have
"mail.read" - to read messages
"mail.join" - to receive join messages
"mail.delete" - to delete messages
"mail.write" - to write messages
or is it now changed to
"mail.player.read" - to read messages
"mail.player.join" - to receive join messages
"mail.player.delete" - to delete messages
"mail.player.write" - to write messages
"mail.admin" - for admin
@vanZeben
It may show that I am a developer, but I have not released anything. I'm working on a plugin as I figure out how while I'm taking classes in programming.
I am not the author of rTriggers, I use rTriggers to do all the macro work I've been needing.
I am sorry for the trouble.
@Liger_XT5
Your a developer, shouldn't be too hard to personalize something for your server. Im not going to add a command in to show the welcome message from mail, as it has no use to the general populous except for your specific case. However I have added a static api call for you so all you need to do is "com.imdeity.mail.Mail.sendUnreadMailCountMessage(playername);" (without the quotation marks), and it'll send said message to the player. This function isn't in the released version atm its in a dev build from my git however ill release it formally later tonight.
Also super perms support will be release with the "dev build" that i mentioned earlier for those who are wondering