MailBox
MailBox is plugin used for sending packages (material) to other players. Players can create their own mailboxes. When player has a mailbox, he can receive the package. Offline players can receive the package too. How to send a package: Just write simple command: /mailbox send <player_name>. The package is item which you hold in your hand.
How to install
1.) Place jar in your plugins directory. 2.) Run the server. 3.) Change settings in config file: /plugins/MailBox/settings.txt. 4.) Enjoy It!
Features:
- Players can create their own mailboxes. 1 mailbox / player.
- Packages can be send to other world - e.g. nether.
- Works with LWC (But works without it too).
- Works with any permissions system (PEX untested, but should work).
- Works with any economy system supporting Vault. (You can set a delivery fee. But works without it too.)
- You can set cooldown = player can send package only once every x seconds.
- Ability to create a mailbox for someone else.
- Postman - Player who created your mailbox can earn money. He gets 10% of total fee from receiving packages.
Need help?
You can find me on irc.esper.net in the channel #Iacc
Commands:
Ingame:
- /mailbox help - Lists commands.
- /mailbox fees - Check the fees.
- /mailbox check <player_name> - Check the fee for sending a package to <player_name>.
- /mailbox send <player_name> - Send a package to <player_name>. (Alias /msend)
- /mailbox create - Create a mailbox.
- /mailbox create <player_name> - Create a mailbox for <player_name>. (<player_name> has to be online!).
- /mailbox remove - Remove a mailbox.
- /mailbox remove <player_name> - Remove <player_name>'s mailbox.
- /mailbox view [page] - View a log file. (For admins or moderators.)
Console:
- mailbox -reload - Reload settings. You do not need restart server.
Permissions:
mailbox.* - Gives access to all mailbox commands.
mailbox.user.* - Player can create/remove own mailbox and sending the packages to other players.
mailbox.admin.* - Gives access to admin commands.
mailbox.postman.* - Can create a mailbox for someone else and remove mailboxes which he created.
mailbox.admin.viewlog - Can view a log.
mailbox.admin.removeany - Can remove any mailbox.
mailbox.user.send - Can send a package.
mailbox.user.create - Can create own mailbox.
mailbox.user.remove - Can remove own mailbox.
mailbox.postman.createother - Can create a mailbox for someone else.
mailbox.postman.removeother - Can remove mailboxes which he created.
mailbox.sendtoself - Player can send package to himself.
mailbox.nocooldown - Player does not have the send cooldown.
Todo:
- Auto-generating YAML config
- Fix any errors
- Major code rewrite
Source Code: https://github.com/Iaccidentally/MailBox
Plugin does not charge for sending or create a mailbox - iConomy, Fe Economy.
@Iaccidentally
Would you be able to add a function to be able to send items from the console? I've been looking for some thing like this all over to use with my forum shop which works by sending commands to the console.
@Iaccidentally
It was due to the fact your plugin deposit a negative amount instead of withdraw :p
It's working fine now.
For whatever reason this plugin does not work with repairrecipe or cookbook.
Running 1.5.1 beta build and just cookbook / repairrecipe & mailbox it prevents them from working. Removing mailbox fixes the issue.
THanks!
@angeplay
Probably has to do with the fact that iconomy is ridiculously outdated.
Is there a problem with Iconomy? Because it dont take fees from the account... (all others plugins are working fine with Iconomy)
EDIT: fixed it, I replaced
economy.depositPlayer(sender.getName(), -fee);
with
economy.withdrawPlayer(sender.getName(), fee);
Could you make it so you can only send mail if you have a mailbox, please
Also some error in the log: http://pastebin.com/jP0zENNk
@Switch0r
If you already have Essentials, you can just use the built in Essentials Economy, it is simple, stable, and really fast.
@RoboPanda123
Should work fine, let me know if you find anything wrong and I'll fix it as soon as possible.
@Switch0r
Try using Fe-Economy (Don't mind the 1.4.7 , it works for 1.5.1 for me )
BTW: does it work for 1.5.1 ?
Can someone recommend me a good economy plugin, i have bad experience with them.
Would it be possible to add a COD option so people can basically set up mailorder services, send stuff that recipient pay when he takes the package from mailbox (using economy to transfer the money between the players).
@Yank33s0028
No, but it works with any protection plugin.
Is there anyway to protect the mailboxes without getting a protection plugin?
Otherwise, this is an amazing plugin :)
@SwiftSwamp
Looks good. Nice and short and to the point, and all the information is correct. Thanks for doing this!
How to use and install MailBox as of 2.7: http://www.youtube.com/watch?v=Sig4h9KHKz8
I agree. I'd rather keep this plugin simple and elegant. Also I don't really have time to do much more than that anyways. I'll keep it updated and add features as needed, but don't expect too much :P
@snowfox12
That already exists... it's a completely different plugin called Postal. I think the simplicity of this plugin suits its design needs.
i think finding some way to have mailbox work with citizens to create postmen(villagers/players) upon delivery of a package somehow would be awesome :3
I sent in a Ticket asking if it were possible to add a listing of mailboxes that were already added on a server. Something like: /mailbox list
Just so you guys would know in the comments and maybe vote? 8-)
Could you add a post office system with signs? So players who want to send mail instead of typing commands can just right click the item on a sign then in the chat it'll ask for the player name type in the name and done? Could you also add a method that a sign could be placed ON a mailbox? I think this would look very slick.
The sign Could look like this?
[MailBox] (In Green) <The Playername> [No New Mail/New Mail] (In Green)