RankJoinMessages  | Advanced Managing player join/quit messages icon

RankJoinMessages | Advanced Managing player join/quit messages -----

Manage message when player join/quit on server with support vanish



1.20.2 support + major changes
UPDATE 2.1.0


You need generate new files!

  • ✨Version Support: Now supporting 1.20.2.
  • Dependencies Update: Updated to the latest version.
  • Database Improvement: Reworked for better performance and added support for H2, MongoDB, PostgreSQL.
  • New Command: `/rankjoin info` displays basic information about hooks.
  • File Changes: Renamed `mysql.yml` to `database.yml` and moved ranks from `config.yml` to a new `ranks.yml`.
  • Rank Features: Ability to disable a specific rank without removal and added `Switch_ExecuteCommand` option.
  • Commands: New ability to send on join or quit as either player or console.
  • Default Database Status: The database is now disabled by default.
  • File Comments: Enhanced for better clarity.

New files:
Code (YAML):

Settings
:

  # If set to true, messages won't be displayed for players in vanish mode (supports most vanish plugins).
  Support_Vanish
: true

  # Should the default join message sent by Bukkit be hidden?
  Hide_Join_Message
: true

  # Should the default quit message sent by Bukkit be hidden?
  Hide_Quit_Message
: true

  # Duration for which the boss bar message will be displayed (in seconds).
  BossBar_Time
: 5

  # Disable the entire `Message_Join` section.
  Disable_Join_Section
: false

  # Disable the entire `Message_Quit` section.
  Disable_Quit_Section
: false

  # Notify in the console when a new version of the plugin is available.
  Check_updates
: true

  # Supported vanish plugins. If a specific plugin is enabled and a player goes into vanish/unvanish mode,
  # this plugin will send join and quit messages.
  VanishTypeSupport
:
    PremiumVanish
: false
    SuperVanish
: false
    Essentials
: false
    CMI
: false
 

Code (YAML):

# !-----------------------------------------------------------------------------------------------!
# Configuration to connect with database
# This file is not reloading so after change any value here you need restart server
# !-----------------------------------------------------------------------------------------------!


# !-----------------------------------------------------------------------------------------------!
# Available type: MYSQL, POSTGRESQL, MONGODB, SQLITE, H2
# Or if you don't want use any database set to `NONE`
# Can be provided in lowercase or uppercase
# !-----------------------------------------------------------------------------------------------!
DatabaseType
: NONE

# Used for MySQL, PostgreSQL, MongoDB
Database
:
  Username
: username
  Host
: localhost
  Port
: 3306
  Database
: database
  Password
: password
  SQLite
:
    # Used for SQLite and H2
    # You can also put here "Default"
    Patch
: "database.db"
 

Code (YAML):

Ranks
:

  # ========================= Messages =========================
  # Specify the message type if you want the message displayed somewhere other than chat.
  # Available message types: <actionbar>, <toast>, <title>, <bossbar>, <center>.
  # If not specified, the default is chat.
  # ========================= Messages =========================

  # ========================= Permission =========================
  # Players require a specific permission to access this rank.
  # If a player has permissions for multiple ranks, see 'Priority' below.
  # ========================= Permission =========================

  # ========================= Priority =========================
  # If a player has permissions for multiple ranks, only the rank with the highest priority will be selected.
  # The priority system starts at 0. For example, 0 has higher priority than 1, 1 is higher than 2, and so on.
  # ========================= Priority =========================

  # ========================= Switch_Execute_Command =========================
  # If set to false, commands execute only once when the player joins or leaves.
  # If set to true, commands execute every time a player changes their vanish status.
  # ========================= Switch_Execute_Command =========================

  # ========================= Commands =========================
  # `Commands` are executed by the console.
  # `PCommands` are executed by the player.
  # To disable commands, set them to [].
  # ========================= Commands =========================

  vip
:
    Enabled
: true
    Permission
: join.vip
    Priority
: 0
    Messages_Join
:
     - '&6 [VIP ] {player } &2join the game'
      - '<bossbar> &6 [VIP ] {player } &2join the game'
    Messages_Quit
:
     - '&6 [VIP ] {player } &2quit the game'
    Switch_Execute_Command
: false
    Commands_Join
:
     - ""
    PCommands_Join
: [ ]
    Commands_Quit
:
     - ""
    PCommands_Quit
: [ ]
  default
:
    Enabled
: true
    Permission
: join.default
    Priority
: 1
    Messages_Join
:
     - ' &b [DEFAULT ] {player } &2join the game'
    Messages_Quit
:
     - '&b [DEFAULT ] {player } &cleft the game'
    Switch_Execute_Command
: false
    Commands_Join
:
     - ""
    PCommands_Join
: [ ]
    Commands_Quit
:
     - ""
    PCommands_Quit
: [ ]
 



Should you encounter any issues or have suggestions, please don't hesitate to send me a private message or share your thoughts in the Discussion section.
Your feedback is invaluable! If you're enjoying this plugin, I'd be truly appreciative of a positive review.

Thank you for your support!









----------, Oct 1, 2023
Resource Information
Author:
----------
Total Downloads: 2,010
First Release: Jul 17, 2022
Last Update: Dec 4, 2024
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings