Inactive [MISC] MailBox v2.5 - Send a package [1.2.3-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by Safoo, Jun 9, 2011.

  1. Offline

    Safoo

    MailBox:
    ~Version: 2.5~
    Download:
    Zip Archive (with config file): [ZIP]
    Only JAR File: [JAR]

    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.


    Code:
    How to install:
    1.)  Extract MailBox.zip to /plugins directory.
    2.)  Change settings in config file: /plugins/MailBox/settings.txt.
    3.)  Run the server.
    4.)  Enjoy It!
    

    Settings (open)

    cooldown_limit = 50 // Player can send package only once every 50 seconds.
    delivery_fee = 5.0 // Fixed fee for sending a package.
    creating_fee = 0.0 // Fee for creating a mailbox.
    fee_per_1000m = 4 // In the same world: Fee is 4 dollars per 1000 meters. E.g 1500 meters will have 6 dollars fee.
    foreign_fee = 10 // Fee for sending a package to another world. e.g. from World to Nether.
    postman_profit = 0.1 // Player who created your mailbox, gains 10% of total fee from receiving packages.
    only_op = false // When you don't use permissions, you can set that only OP can send packages and create the mailboxes.
    use_mysql = false
    mysql_database = jdbc:mysql://localhost:3306/mailbox
    mysql_user = root
    mysql_pass = password


    Features:
    • Players can create their own mailboxes. 1 mailbox / player.
    • Packages can be send to other world - e.g. nether.
    • Mailboxes can be stored in MySQL database or in file 'db_file.db'.
    • Works with LWC (But works without it too).
    • Works with Bukkit Permissions. (But works without it too).
    • Works with iConomy. (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.
    Commands:

    Ingame:
    • /mailbox ~ Lists commands.
    • /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 view [page] ~ View a log file. (For admins or moderators.)
    • /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.
    Console:
    • mailbox -reload ~ Reload settings. You do not need restart server.

    Changelog:

    Version 2.5
    • Added newest 1.2.3 Bukkit support

    Version 2.4
    • Added Vault support
    Version 2.3
    • New permission system - PermissionBukkit.
    • Added new command: /mailbox check <player_name> - Check the fee for sending a package to <player_name>.
    • Distance fee: You can set fee for delivery distance. E.g. 15 dollars / 1000 metres.
    • Foreign fee: You can set fee for sending the package to another world.
    • Automatic control of newest version of the plugin.
    • Profit for postman.
    Version 2.2
    • Added permissions mailbox.sendtoself and mailbox.noocooldown.
    • Added new command: /mailbox fees - To check the fees.
    Version 2.1
    • Fixed bug with cooldown.
    • Added aliases for commands. (/msend for /mailbox send) and (/mbox for /mailbox)
    Version 2.0
    • You can set a fee for creating a mailbox. (If you have iConomy)
    • Changed permissions.
    • Added ability to create a mailbox for someone else. (You can build a post office)
    • Fixed 1 bug.
    Version 1.2
    • You can set a delivery fee. (If you have iConomy)
    • Added a logging. Use /mailbox view [page] for view a log.
    • Added colors into command output. (better look)
    Version 1.1
    • Fixed 1 bug.
    • Added Permissions.
    • Added Cooldown.
    • Defaultly, plugin do not need MySQL database. But you can still use it.
    • Added console command.
    Version 1.0
    • First version of this plugin.
     
  2. Offline

    brzavr

    PermissionBukkit?
     
  3. Offline

    streaml1ned

    Works for 1185. Thanks for a great plugin! :)
     
  4. Offline

    Zaydene

    Can you support PermissionsBukkit?

    Code:
        admin:
            permissions:
                permissions.*: true
                jail.*: true
                mailbox.*: true
        user:
            permissions:
                permissions.build: true
                XcraftGate.use.*: true
                lockette.user.create.*: true
                mailbox.user.send: true
                mailbox.user.create: true
                mailbox.user.remove: true
        donate:
            permissions:
                permissions.build: true
                XcraftGate.use.*: true
                lockette.user.create.*: true
                EasyTP.to: true
                mailbox.user.send: true
                mailbox.user.create: true
                mailbox.user.remove: true
    Code:
        Friend:
            info:
            groups:
            - donate
     
  5. Offline

    rodfoflmao

    Does this plugin work on 1337?

    If you can tell me, thanks :)
     
  6. Offline

    Safoo

    New version released! Version 2.3

    Changelog:
    • New permission system - PermissionBukkit.
    • There is a option in settings, that not only OP can send packages/create a mailboxes when you don't you Permissions.
    • Added new command: /mailbox check <player_name> - Check the fee for sending a package to <player_name>.
    • Distance fee: You can set the fee for delivery distance. E.g. 15 dollars / 1000 metres.
    • Foreign fee: You can set the fee for sending the package to another world.
    • Automatic control of newest version of the plugin.
    • Profit for postman.
     
  7. Offline

    w7gamer

    Any chance to config what accounts is used to collect the earnings? (I use iConomy and have a bank that collects various taxes and fees). How does it know who to send the postman profit to?
     
  8. Offline

    Safoo

    Now, there is no change to config it. All money from fees goes to your primary (personal) account in iConomy.
     
  9. Offline

    fin88

    Hey =)

    It's possibe to add an Option for Multi Language Support?
    That would be very nice =)

    Greetings from Germany, fin`
     
  10. Offline

    w7gamer

    I set this up to go without MySQL and it works (recipient got my package) BUT it reported an error on screen and in console saying there was a problem with MySQL (I have it set to false). Seems it ignore the false setting and tries to do some sql stuff anyway (but package is sent).
    Would be nice if the report taht it has been sent was accompanied by the fee charged as well.
     
  11. Offline

    Safoo

    fin88: MultiLanguage support will be added soon. :)

    w7gamer: Probably, you got this error: "Problem with SQL. Check config file /plugin/MailBox/settings.txt"
    When use_mysql is set to false, data are stored in file db_file.db with SQLlite. I was testing it with use_mysql = false and it works fine. I don't know where is the error. Did you get this error more times? Try to check if you have db_file.db in /plugin/MailBox/ folder.
     
  12. Offline

    Nicolascoolguy6

    everytime i do /mailbox create and then left click my chest it just says error -_-
    what am i doing wrong?
     
  13. Offline

    Safoo

    fin88 likes this.
  14. Offline

    TheEpicCheese

    Does the latest version work with 1337? if not, please update, i really want this plugin, also, can players open mailboxes that dont belong to them?
     
  15. Offline

    Safoo

    Yes, plugin works with CB 1337 (see the topic title).
    Defaultly yes, but if you have LWC or similar plugin, players can't open mailbox that don't belong them.
     
  16. Offline

    Avous

    @Safoo

    can you simply send a letter to someone or is it limited to packages?
     
  17. Offline

    Safoo

    @Avous: There is no text letters, you can send only material/items.
     
  18. Offline

    Avous

    I know but I meant like sending them a piece of paper and when they pick it up they get a message from the person
     
  19. Offline

    Nexot

    very nice plugin!! can you add editable strings? keep it doing :D!
     
  20. Offline

    locknlol

    Is there any possible way to make a global mailbox? I'd like to create a global mailbox that everyone can use at our main spawn.
     
  21. Offline

    Safoo

    No, it is not possible. The only way how to do it is manualy set it in database - set the same location of mailbox for every player.
     
  22. Offline

    Ragnarrok1


    This looks like a realy good plugin :D

    But a few questions :D :
    Can i make soo that only admins can have all commands
    and that players can only send to the admin

    Will explain it bether:
    If i wanna make a "admin house".. And i want mailbox. But other players "not admin" cant make it but just send to me
    "soo they walk to my "admin house" and see the mailbox/sign or whatever and they can send a message...

    Its that posible...
    And how can I answere if the players dosent have mailboxes because they dont have permission...
     
  23. Offline

    Safoo

    Sure, all you need is use permissions :). With permissions you can set that some group of users (admins e.g.) can use some commands.
     
  24. Offline

    Pythros

    How does the calculation work of the fee per 1000m? Is is every 1000m costs X when rounding up to 1000m? Or does it work as in, for example it costs 15 per 1000 blocks, so 15/1000 = 0.015 per block traveled? Are the blocks calculated as a straight shot on the X/Z axis or does it count the Y axis as well?

    Feature request: Allow the recipient to know who sent them want package without seeing all other packages.

    Thanks.
     
  25. Offline

    ninjasauce1

    Is this compatible with 1597 by chance? :D
     
  26. Offline

    NorthAntrim

    Seems good! I'm gonna make a post office on my server now ;)
     
  27. Offline

    karq

    When I try to check the fees it says me that iconomy is off! How do I enable the iConomy support?? (of course iConomy is installed and working fine)
     
  28. Offline

    Scribbles

    Has this plugin gone inactive?

    if not i have a issue with this and spout check the bukkitdev issues list!
     
  29. Hello Safoo

    Very great plugin.

    Can u allow the console to use mailbox?

    I was thinking something like
    Code:
    mailbox send NAME ITEMID:DATAVALUE AMOUNT

    Then i can hook this up with several other plugins, for example votifier, and send items to offline players
     
  30. Offline

    TSRDM

    I am having the same problem as karq and I know iConomy 6 is working because users on my server are being charged for using the portals (Multiverse 2) and buying or selling (ChestShop). I suspect that this plugin may indeed have gone inactive since the author's last post was December 4, 2011. A shame since this plugin adds some convenience for server users.
     

Share This Page