Sueta

✨AnnounceMessages | Customizable Join Messages and More✨| ✅1

3.0

Customize the TabList or when the players join to server with colors, placeholders and new formats!

·Plugin

NOTE: I decided remake this plugin to improve the optimization, code quality, add features and more. Old plugin HERE




AnnounceMessages is a Spigot/ Paper plugin for your Minecraft server that allows customize the TabList or when the players joins or leaves the server!

Features

• Support for Minecraft 1.8 - 1.19.3
• API for Developers.
• Customize the entry/leave to Server.
• Modify the Header/Footer of TabList.
• Optimized.
• Support for
HEX colors.
•
PlaceholderAPI Support.

Support

• If you find any bugs, error, or you have any suggestions for the plugin, can send me a PM, tell me by Discord InitSync#2156, or email ([email protected])
• Please don't leave bad reviews, if you have some question tell me, don't post reviews that only contains errors, and if you comment me about a problem, be specific about what happens, for it, use the Discussion, else I can't do nothing.

Commands and Permissions

• /announcemessages [amsg] help - Shows the help message | announcemessages.list
• /announcemessages [xb] reload <file> - Reloads the configuration files | announcemessages.reload
• /title <player>/<all> <title> <subtitle> - Sends a title to player or to all the server | announcemessages.title
• /alert [announcement, broadcast] <message> - Sends a message to all the server | announcemessages.alert
• /actionbar <player>/<all> <message> - Sends an actionbar to player or to all the server | announcemessages.actionbar

Information

• The plugin required Java 8 or higher.
• This plugin was compiled in the older Spigot version (1.8.8), and you can use from the versions (1.8 - 1.19.3).

• Actions Current Enums:

Enums
public enum ActionContext {
    SOUND, // Format: [SOUND]
    POTION_EFFECT, // Format: [POTION_EFFECT]
    TITLE, // Format: [TITLE]
    ACTION_BAR, // Format: [ACTION_BAR]
    FIREWORK, // Format: [FIREWORK]
    COMMAND, // Format: [COMMAND]
    BROADCAST, // Format: [BROADCAST]
    MESSAGE // Format: [MESSAGE]
}
config.yml
config:
  # Plugin Messages Prefix.
  prefix: "&bAnnounceMessages &8>"

  # Do you want to enable the debug mode?
  # This will show the stacktrace of error happened.
  debug-mode: false

  # Notify to the admins if there are new updates.
  notify: true

  sounds:
    # Sounds ID's.
    permission: ENTITY_ITEM_BREAK
    reload: ENTITY_EXPERIENCE_ORB_PICKUP

    # Sounds Volume Level
    volume: 1

  tab-list:
    # Do you want to use the tab-list feature?
    allow: true

    # TabList Header Text.
    # Use '<br>' for line jumps.
    header: "<br>&8- &bServerName &fNetwork &8-<br><br>&7Current players online: &e%server_online%<br>"

    # TabList Footer Text.
    # Use '<br>' for line jumps.
    footer: "<br>&7Get Support: &9discord.io/servernament<br><br>&aOur IP: &emc.yourServer.net"

  announcements:
    # Allow send the motd message?
    allow-motd: true

    motd:
      - ""
      - "&e             Your&6Server"
      - ""
      - "&7  Welcome to server, we hope you have fun!"
      - "&7    Remember invite to your &afriends&7."
      - ""
      - "&6  Store: &ehttps://store.yourServer.com"
      - "&b  Twitter: &ehttps://twitter.com/@yourServer"
      - "&9  Discord: &ehttps://discord.io/yourServer"
      - ""

    groups:
      # Group rank name.
      default:
        # Group Join Message.
        join: "&8[&a+&8] &e%player_name% &8- &fHas joined to server!"

        # Group Quit Message
        quit: "&8[&c-&8] &e%player_name% &8- &fIf has left the server!"

        # Group Join Actions
        actions: ["[SOUND] ENTITY_EXPERIENCE_ORB_PICKUP;1;1"]
      admin:
        join: "&8[&a+&8] &b%player_level% &8| %vault_prefix% &e%player_name% &8- &fHas joined to server!"
        quit: "&8[&c-&8] &b%player_level% &8| %vault_prefix% &e%player_name% &8- &fIf has left the server!"
        actions:
          - "[SOUND] ENTITY_EXPERIENCE_ORB_PICKUP;1;1"
          - "[POTION_EFFECT] SPEED;max;1"
          - "[TITLE] &aWelcome;&b%user_name% &fto server!;20;60;20"
          - "[ACTION_BAR] 100;&eWelcome to server!"
          - "[FIREWORK] true;true;CREEPER;5"
messages.yml
messages:
  no-permission: "<prefix> &cYou don't have permission!"
  no-file: "<prefix> &cThat file doesn't exists!"
  no-command: "<prefix> &cThat command is not added yet!"

  offline-target: "<prefix> &cThe player specified isn't connected!"

  help:
    - "&bAnnounceMessages &8[&73.0&8] &7| Available Commands"
    - " &7- &a/announcemessages help &fShows this message."
    - " &7- &a/announcemessages reload &fReload the plugin files."
    - " &7- &a/title &fSends a title to a player or all the server."
    - " &7- &a/actionbar &fSends an actionbar to a player or all the server."
    - " &7- &a/alert &fSends an announcement to all the server."

  reload-all: "<prefix> &a&lALL FILES RELOADED! &eAll the configuration files has been reloaded."
  reload-config: "<prefix> &6&lCONFIGURATION RELOADED! &eThe config.yml file has been reloaded."
  reload-messages: "<prefix> &b&lMESSAGES RELOADED! &eThe messages.yml file has been reloaded."

  title-usage: "<prefix> &cMissing arguments! Example: &e/title <player>/<all> Hello! Subtitle!"
  actionbar-usage: "<prefix> &cMissing arguments! Example: &e/actionbar <player>/<all> This is a example!"

  alert-format: "&c&lANNOUNCEMENT &8> "
  alert-usage: "<prefix> &cMissing arguments! Introduce a message for send!"

Developer API

• The API provides some methods to get instances of the plugin components.

API Event(s):
• ServerAnnouncementEvent - Called when the player use the command: /alert <message>

If you want to get the main instance must be use:

Example
AnnounceMessages.getPlugin(); // Returns an instance of AnnounceMessages type.

bStats

✨Thanks For Using✨

Similar projects

Plugin →