Simple-Mail

SimpleMail

Description:
I've been wanting to write a small and simple mail plugin for a while now, SimpleMail is the beginnings of that plugin.
SimpleMail uses an SQLite database to store mailbox data, allowing users to leave messages for each other whether offline or not. Users with admin permissions are able to view all active mailboxes, and clear them if necessary. Messages that have been read will expire after so may day, configurable in config.yml. Suggestions/contributions more than welcome.

Installation:
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server Configuration:
 • MaxMailboxSize - Max messages allowed per mailbox
 • ShowInboxOnJoin - Show total messages in inbox on join
 • MailExpiration - Number of days before a read message expires (and is deleted)


Commands:
 • /Mail - Main Menu
 • /inbox - Check your inbox
 • /outbox - Check your outbox
 • /sendmail <player> <message> - Send mail
 • /readmail <id> - Read one of your messages
 • /delmail <id> - Delete on of your messages
Admin Commands
 • /mailboxes - Display Active Mailboxes
 • /clearmailbox - Clear an Active Mailbox
Permissions:
 • simplemail.inbox - Have and access a mailbox
 • simplemail.outbox - Access outbox
 • simplemail.sendmail - Send mail
 • simplemail.admin - View/Use admin commands


To Do:
 • Small delay on playerjoin 'New Messages' notification
 • Outbox Change-Log:
0.3.8
- Added: Outbox to Commands Menu (/mail)
- Bugfix: Cleaned up mail expiration
- Bugfix: Some users unable to read/delete mail, issues with case detection resolved
0.3.7
- Added: Outbox
- BugFix: [Major] issues with names / display-names.
- BugFix: [Major] Error on player login.
0.3.6
- Added: Configurable delay for new mail notification display
- Bugfix: update inbox to get mail for player's name, and not player's display name.
0.3.5
- 3 second delay on New Message notification upon playerjoin
0.3
- Added configurable message expirations
- Added purge command for deleting expired mail
- Removed permission SimpleMail.clear
- Updated inbox announcement on join, now only reports new messages
0.2
- Code restructure
- Changed Database access method.
0.1
- Initial Creation

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files