Emailer | Send REAL emails | Recompiled & Optimized | MySQL | HTML & TEXT [1.8 - 1.21.11] icon

Emailer | Send REAL emails | Recompiled & Optimized | MySQL | HTML & TEXT [1.8 - 1.21.11] -----

The classic Emailer, recompiled and optimized for the modern 1.21.11 era.



2.png
Community Showcases
Currently looking for video reviews and tutorials! If you have created content featuring this plugin, please let me know in the Discussion thread. I will add your channel and video to this section to help other users and promote your content!

3.png
[​IMG]
[​IMG]
4.png
[​IMG]
[​IMG]
5.png
Emailer-Remastered.png
[​IMG]

Code (YAML):
# Emailer config.yml
# Emailer 設定檔
#
# If you are unsure about any setting, keep the default and ask for help.
# 若不確定設定用途,請保留預設值並詢問作者。
# Discord: https://discord.gg/JyQPpVrhsk

# Language file name (without .yml) from /lang/
# 語言檔名稱(不含 .yml),位於 /lang/ 目錄
# English (en_US), 繁體中文 (zh_TW), 简体中文 (zh_CN), 日本語 (ja_JP), 한국어 (ko_KR), Français (fr_FR), Deutsch (de_DE), Español (es_ES), Русский (ru_RU), Português (Brasil) (pt_BR)
languageFile
: "en_US"

# Prefix used in messages, replaced into language file as %prefix%
# 訊息前綴,會替換到語言檔中的 %prefix%
prefix
: "&bEmailer&7 >>&f"

# Enable update checker (false = faster startup)
# 是否啟用更新檢查(false = 啟動更快)
updateChecker
: true

# Debug logging to console
# 是否輸出除錯資訊到主控台
debug
: false

# Sound effects settings
# 音效設定
sounds
:
  # Master switch for all sounds
  # 全部音效總開關
  enabled
: true

  # When a player runs a command successfully
  # 玩家指令成功時
  command
:
    enabled
: true
    sound
: "UI_BUTTON_CLICK"
    volume
: 0.8
    pitch
: 1.2

  # When a GUI opens
  # GUI 開啟時
  gui_open
:
    enabled
: true
    sound
: "BLOCK_CHEST_OPEN"
    volume
: 0.8
    pitch
: 1.0

  # When clicking inside GUI
  # GUI 點擊時
  gui_click
:
    enabled
: true
    sound
: "UI_BUTTON_CLICK"
    volume
: 0.7
    pitch
: 1.1

  # When a command fails (no permission / wrong usage)
  # 指令失敗時(無權限/用法錯誤)
  error
:
    enabled
: true
    sound
: "ENTITY_VILLAGER_NO"
    volume
: 0.8
    pitch
: 1.0

# Auto-save interval in minutes
# 自動儲存間隔(分鐘)
saveDataEvery
: 10

# Storage settings for player data
# 玩家資料儲存設定
storage
:
  # Available: MYSQL, FLAT
  # 可用選項:MYSQL, FLAT
  type
: "FLAT"

  mysql
:
    # Database host (e.g., localhost)
    # 資料庫主機(例如:localhost)
    host
: ""

    # Database name
    # 資料庫名稱
    database
: ""

    # Database username
    # 資料庫帳號
    username
: ""

    # Database password
    # 資料庫密碼
    password
: ""

    # Database port (default 3306)
    # 資料庫連線埠(預設 3306)
    port
: 3306

    # JDBC extra parameters
    # JDBC 額外參數
    statement
: "?autoReconnect=true&useUnicode=true"

    tables
:
      # Table for verified emails
      # 已驗證信箱資料表
      verified
: "verified_emails"

# SMTP server settings
# SMTP 伺服器設定
server
:
  # SMTP host (default: smtp.gmail.com)
  # SMTP 主機(預設:smtp.gmail.com)
  host
: "smtp.gmail.com"

  # SMTP port (default: 587)
  # SMTP 連線埠(預設:587)
  port
: 587

# Email account used to send mails
# 用於發信的 Email 帳號
email
:
  # Email address
  # Email 地址
  address
: "[email protected]"

  # Email password (Gmail requires App Password)
  # Email 密碼(Gmail 需使用應用程式密碼)
  password
: "password"

# Basic security filters (regex list)
# 基本安全過濾(正規表示式清單)
security
:
  # Available: WHITELIST, BLACKLIST
  # 可用選項:WHITELIST, BLACKLIST
  type
: "BLACKLIST"

  # Regex list
  # 正規表示式清單
  list
:
    # Blacklist example
    # 黑名單範例
    - '\b [\w\.- ]+@ ( (?!mcspam|dumbmail| ). ) [\w\.- ]+\.\w {2,4 }\b'

# Actions when a verification email is requested
# 申請驗證信時觸發的動作
onVerificationRequest
:
 - "TITLE;;&bEmail sent;;&7An email has been sent;;30"

# Actions when verification succeeds
# 驗證成功時觸發的動作
onVerify
:
 - "TITLE;;&bSuccess;;&7Your email has been linked;;30"
  - "CONSOLE_COMMAND;;%player_name%"

# Actions when user unsubscribes
# 取消訂閱時觸發的動作
onUnsubscribe
:
 - "TITLE;;&bSuccess;;&7You are now un-subscribed;;30"
We need your help to promote it~
Commands & Permissions
This section covers all available commands and their respective permissions.

Note: You don't need to memorize most of these! Simply type /emailer to access the intuitive in-game GUI.

Commands
  • /emailer
    • Description: The main command. Access the primary management interface.
    • Permission: emailer.use
  • /emailer send <player/*/>**
    • Description: Send an email to a specific player, everyone (*), or all online players (**).
    • Permission: emailer.send
  • /emailer forceVerify <player> <email>
    • Description: Manually force-verify a player's email address.
    • Permission: emailer.forceverify
  • /emailer search <player/email>
    • Description: Check if a specific player or email address is already verified.
    • Permission: emailer.search
  • /emailer update
    • Description: Manually check for any available plugin updates.
    • Permission: emailer.update
  • /emailer reload
    • Description: Reload the configuration and all language files.
    • Permission: emailer.admin
  • /setemail <email>
    • Description: Sends an authentication code to the specified email to begin verification.
    • Permission: emailer.setemail
  • /verifyemail <code>
    • Description: Validates the authentication code to complete the email binding.
    • Permission: emailer.verify
  • /unsubscribe
    • Description: Opt-out and remove the player from the active mailing list.
    • Permission: emailer.unsubscribe
Additional Permissions
Beyond command-specific access, these permissions manage administrative roles and notifications:
  • emailer.*
    • Description: Grants access to every single feature and command within the plugin.
  • emailer.notify
    • Description: Allows the user to receive an in-game alert whenever a real email is sent to them.
  • emailer.admin
    • Description: Required for administrative tasks, including reloading the plugin and viewing logs.
Resource Information
Author:
----------
Total Downloads: 5
First Release: Mar 17, 2026
Last Update: Mar 17, 2026
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings