Home›Java›Mods›MailW
ModsJava

MailW

Java mod listed for Minecraft 1.12. Download on the author's site.

⬇ Download on Spigot
MailW
[​IMG] [​IMG] [​IMG]​

⭐WHAT CAN IT DO
Have you ever imagined linking the whitelist and activation code? Have you ever thought about delivering weekly reports to players? Have you ever thought of sending banned players a banned notification? ...Now, MailW can help you solve these problems. MailW is a pre-plugin that supports custom html mail. With only a little Bukkit programming experience, you can continue to develop on the basis of MailW to achieve your unachieved goals. To help you better manage your server, MailW supports the use of specific placeholders to replace variables in the Bukkit API to easily embed player names and other content into emails.

⭐COMMANDS

MailW
Code (YAML):
## If you want to use these commands, you are supposed to have permission "MailW.general"(Give all by default)
/MailW set <Email> -- Record MailW mailbox
/MailW remove -- Remove MailW mailbox records

MailWController
Code (YAML):
## If you want to use these commands, you are supposed to have permission "MailW.admin"(Give op by default)
/MailWController set <Email> <SMTP> <Port> <Password> -- Set the sending email
/MailWController test <Player> -- Send test emails to specific players
/MailWController send <Player> <Template> -- Send specified template emails to specific players


⭐EMAIL DESIGN TUTORIAL
  1. Create a folder in the /plugins/MailW/template directory, named example, and create a new file named index.html in the folder.
  2. Use notepad (more professional editor is better) to open index.html.
  3. Enter the following code.
    HTML:
    <!--Specifies that files are encoded in UTF-8 format-->
    <head>
        <meta charset="UTF-8">
    </head>
    <!--Set the email subject based on the content in <title>...</title>-->
    <title>Example </title>
    <!--Set the email subject based on the content in <sender hideen>...</sender>-->
    <sender hidden>YourName </sender>
    <!--Since it is an email, the contents of <titile>...</title> and <sender hidden>...</sender> are not visible, and the rest of the content will be judged as the body of the email, you can use inline style-->
    <body>
    <h1>{{player.name}} </h1>, If you see this email, it means that <b>MailW </b> has been able to send mail normally on your server
    </body>
  4. Enter the server and enter the command /MailWController send <YourName> example (If you have never set up MailW or you have never set up your own mailbox, please follow the COMMANDS section to set up before you send the example email).
  5. Open your mailbox, you can see the mail sent by MailW to you.

⭐FAQ
That is because the default encoding follows the system encoding when using the JVM, please add -Dfile.encoding=utf-8 after java in the startup script
Click to expand...
Some mailboxes do not use passwords as SMTP sending passwords and require authorization codes
Click to expand...
For example, the SMTP service of Ali mailbox, port 25 is blocked, you need to use SSL support port 465
Click to expand...
You can see them in HERE, for example, if you enter {{player.uuid}} in your template file, it will be replaced with the uuid of the target player, which is very flexible
Click to expand...
Development Manual in Wiki for details
Click to expand...

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

MailW is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 182 times (via Spigot). Download it and open it directly in the game.

Explore more