Inactive [CHAT] MineMail v1.3 - Full Featured, Yet Simple Mail Plugin. [1337]

Discussion in 'Inactive/Unsupported Plugins' started by alta189, May 15, 2011.

  1. Offline

    alta189

    MineMail - Full Featured Mail Plugin.
    Version: 1.3
    Author: alta189
    Static Jar: MineMail.jar

    MineMail is a full featured, standalone mail plugin for bukkit. It allows user to send messages to each other even when the player is offline! MineMail is easy to use. This was created using alta189's SQLite Library. Please leave any ideas/suggestions in the comments below! When posting errors, please post the full error from the console, your MineMail version, and the CraftBukkit version that you are running! Thanks and have fun!

    Review:
    This review was done by jamescosten! Thanks. Please note that this is a review of version 1.2! It does not have all of the features of 1.3​

    Features:
    • Send mail even when player is offline
    • Notification when you receive mail
    • Permissions is optional, Ops have access to all commands
    • iConomy Support - Configurable
    • Configurable Colors
    • Right click with paper in your hand to read messages (You have to enable with /mail paper)
    To Do:
    • Prevent SPAM
    • Config file to allow configuration of spam filters, colors, and prices for iconomy
    Commands:
    • /mail read - shows the user his unread messages
    • /mail write < recipient's name> <message> - sends the message to the recipient's
    • /mail reload - reloads the database and settings
    • /mail wipe - wipes the database after 1 minute
    • /mail paper - Toggles reading with paper
    • /mail help - shows help
    • /mail admin - shows help for wipe and reload
    • /mm - alias for /mail
    Permission Nodes:
    • minemail.reload - access to reload command
    • minemail.wipe - access to wipe command
    • minemail.admin - access to all commands
    • minemail.paper - Allows you to use the paper function
    Known Errors:
    • SQLite insert format needs to be added
    • Locked Database error
    • None Currently Reported :D
    ChangeLog:
    Version 1.3
    • Recoded for better structure
    • Paper Function
    • iConomy
      • Disable/Enable
      • Send Cost
      • Receive Cost
      • OpsFree
      • Long Message Cost - Inactive. Long Messages will be added in 1.4
    • Config File
      • Configure Colors
      • iConomy Settings
    • Bug fixes
      • SQLite update
      • Message Formatting Check
    Version 1.2
     
    DarkFusion, Arbenn and geruetzel like this.
  2. Offline

    MiHo

    Will you support MySQL in future? Would support implemention of mail system into an homepage to.
     
  3. Offline

    iPhysX

    I know somebody who can code PHP. This might be a feature, but you will probably be waiting for another few versions yet :p
     
  4. Offline

    ben2171

    I think you should make it so the mail is a real in-game thing.Have a sign users can create that says mail on it and a user right clicks on it and your mail pops up i type chat!
     
  5. Offline

    MiHo

    Developing the php wouldn't be the problem, but including MySQL support would be enuogh ;)
     
  6. Offline

    alta189

    Yes I will be adding MySQL support in a few versions
     
  7. Offline

    iPhysX

    You are making an SQL Lib aren't you :p
    I like how you know SQLite and SQL!
    because.. i know how to create tables, that is all xD
     
  8. Offline

    WhosDaMan

    So are you guys implementing the "mailbox"?
     
  9. Offline

    iPhysX

    not in the next update.
    Expect iConomy
     
  10. Offline

    alta189

    and Configurable color and a new inbox structure.
     
    iPhysX likes this.
  11. 14:26:18 [WARNING] [MineMail] Error at SQL INSERT Query: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (near "ll": syntax error)
     
  12. Offline

    Kainzo

    Instead of /mail write - can we have /mail send - as an alias? It's really complicated to have 'write' because 95% of all other mail plugins use /mail send.

    The lighweight feature of this is why I use this plugin now on my server - I would love to keep this.
     
  13. Offline

    iPhysX

    We will be reviewing everything on here soon (probably today). We will release any changes with the next update.
    Also, iConomy Support for sending/receiving mail. Colour support. Changing to /mail send etc.
     
  14. Offline

    Nitnelave

    I can't wait till you implement the mailbox! Oh, and by the way, for the mailman, you could try and hook up to npcx, when it's fully rewritten, I think it has some events you can trigger.
     
  15. Offline

    crckdns

    I think about this plugin as a good and simple alternative to ThunderGhast, however you are lacking in MySQL support which isn't really hard to add since you are already using sqlite. Please do not wait with it for next few versions but add it with the next one ^^
    I'm just lazy to write whole thing from scratch as the ThunderGhast is really buggy and incomplete and since there is no open source from your plugin, I can't even create a fork with the needed changes/additions :)
     
  16. Offline

    iPhysX

    We will not be releasing the source yet. We aren't planning to any time soon, when people stop using this, or when we can no longer manage it, we may release the source. MySQL is coming soon!
     
  17. Offline

    crckdns

    so much for open source directive ..as you are using bukkit api... oh well..
     
  18. Offline

    iPhysX

    Since it is our code, we can choose to release it or not.
    We probably will. It's hardly finished. And if you need code to learn. Adamki11s tutorial and Alta189's SQL Lite Lib are great. Alta is releasing a MySQL Lib soon also.
     
  19. Offline

    crckdns

    Well, according to the GPL, as you are using the API of a GPL'ed software, your work has also to be released under GPL since it is a derived work and not using any "bridges" to not to use the API :)
    To read under: http://www.gnu.org/licenses/gpl-faq.html#GPLAndPlugins

    ..and I can't see any sign of a GPL'ed release here^^ only a .jar no license hint^^
    sorry if it might sound a bit aggressive here, wasn't meant to be :(
     
  20. Offline

    Zixt

    Is there a way to access the SQL db from a website?
     
  21. Offline

    crckdns

    If the sqlite support is really working on this one, then yes you can do it very easy via PHP as you would do with mysql ..the queries are almost same, so there shouldn't be a problem :)

    an example for almost every case would be to start with:
    PHP:
    <?php
        
    if ($db = new SQLiteDatabase('filename')) {
            
    $q = @$db->query('SELECT requests FROM tablename WHERE id = 1');
            if (
    $q === false) {
                
    $db->queryExec('CREATE TABLE tablename (id int, requests int, PRIMARY KEY (id)); INSERT INTO tablename VALUES (1,1)');
                
    $hits 1;
            } else {
                
    $result $q->fetchSingle();
                
    $hits $result+1;
            }
            
    $db->queryExec("UPDATE tablename SET requests = '$hits' WHERE id = 1");
        } else {
            die(
    $err);
        }
    ?>
    and so on and so on :) (source php.net)
    But I assume you are used to php already, if not, google and php.net is really your friend
     
    iPhysX likes this.
  22. Offline

    iPhysX

    The SQLite is 'working on this one' :p
    Thanks for posting that!

    so post this on all the plugins without source then :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  23. Any chance of an option of say, having a piece of paper in your hand & right-clicking to read new mail, instead of having to type in a command ? ......... just a thought.
     
  24. Offline

    iPhysX

    i will implement this in the next update
    thanks!
     
  25. Offline

    Kainzo

    Considering this is very little code, I would keep it lightweight and simple. 12.1kb compared to the other mail plugin being 120kb. Honestly - why have iconomy support with mail? Whats the purpose? There's already plugins out there that can put ico cost to any command used.

    Anyways - great job, my only two cents is the ability to add alias for /write to /send
     
    iPhysX likes this.
  26. Offline

    iPhysX

    In the next update (saturday). /mail write will be /mail send.
    you can right click with paper to read mail.
    added (optional iConomy).
    Colour and text formatting
    i hope to have the server count number of mail sent and recieved serverwide. /mail stats
    (using sqlite its easy and lightweight!)
     
  27. Offline

    alta189

    Um what were you doing at the time of the error?
     
  28. Offline

    Dae Fenris

    It looks like apostrophes in the mail message are causing the issue. Getting the same thing when I type "you're"

    23:36:27 [WARNING] [MineMail] Error at SQL INSERT Query: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (near "re": syntax error)
     
  29. Offline

    iPhysX

    Just need to do some message formatting then :)
    We will try getting this fixed for the next update!
     
  30. Offline

    zaph34r

    just thought i'd mention that you should check your message handling again.
    on topic: http://xkcd.com/327/
     
  31. Offline

    PrivateAlpha

    Would you guys mind releasing source? also could you guys release a version that fixes the problem zaph34r mentions, as it is rather dangerous as seen in the cartoon
     

Share This Page