XG7Lobby | [1.8.x - 1.21.x] MySQL, Redis & PlaceholderAPI Support icon

XG7Lobby | [1.8.x - 1.21.x] MySQL, Redis & PlaceholderAPI Support -----

Best free hub plugin!



Configs:

Config.yml
Code (YAML):
#
#__   _______ ______ _           _     _
#\ \ / / ____|____  | |         | |   | |
# \ V / |  __    / /| |     ___ | |__ | |__  _   _
#  > <| | |_ |  / / | |    / _ \| '_ \| '_ \| | | |
# / . \ |__| | / /  | |___| (_) | |_) | |_) | |_| |
#/_/ \_\_____|/_/   |______\___/|_.__/|_.__/ \__, |
#                                             __/ |
#                                            |___/

#Use %player_name% to replace player name
#You need the PlaceHolderAPI for that!

#Colors:
#&0 - Black           | &8 - Dark Gray
#&1 - Dark blue       | &9 - Blue
#&2 - Dark green      | &a - Green
#&3 - Dark cyan       | &b - Cyan
#&4 - Dark red        | &c - Red
#&5 - Purple          | &d - Pink
#&6 - Orange          | &e - Yellow
#&7 - Gray            | &f - White

#Lettering options:
#&k - Random    | &n - Underlined
#&l - Bold     | &o - Italic
#&m - Track     | &r - Reset

#HEX to get hex color!
#Only in 1.16+
#<hex:#FFFFFF>text</hex>

#Placeholders

# %xg7lobby_chat_locked%: Returns whether the lobby chat is locked (true/false).
# %xg7lobby_random_lobby_location%: Returns a random lobby location.
# %xg7lobby_player_is_hiding%: Returns whether the player is hiding other players (true/false).
# %xg7lobby_player_is_muted%: Returns whether the player is muted (true/false).
# %xg7lobby_player_warns%: Returns the number of warnings the player has.
# %xg7lobby_player_time_for_unmute%: Returns the remaining time for the player to be unmuted (format: dd/MM/yyyy HH:mm:ss).
# %xg7lobby_player_is_build_enabled%: Returns whether build mode is enabled for the player (true/false).
# %xg7lobby_player_is_flying%: Returns whether fly mode is enabled for the player (true/false).
# %xg7lobby_player_is_in_pvp%: Returns whether the player is in global PvP mode (true/false).
# %xg7lobby_players_in_global_pvp%: Returns the number of players currently in global PvP mode.
# %xg7lobby_player_global_pvp_kills%: Returns the number of kills the player has in global PvP.
# %xg7lobby_player_global_pvp_deaths%: Returns the number of deaths the player has in global PvP.
# %xg7lobby_player_global_pvp_kdr%: Returns the kill/death ratio (KDR) of the player in global PvP.

#Actions

#You can use actions in the "actions:" or "events:"
#The right way to use your action is: [ACTION] content

#[MESSAGE] Send a message
#[TITLE] Send a title

#[FIREWORK] Summons a firework
#Ex.: [FIREWORK] BALL_LARGE, #FF00FF, #FFFF00, true, true, 1

#Ex.: [TITLE] &bWelcome!, Subtitle
#[BROADCAST] Advertise to everyone.

#[COMMAND] Make the player execute a command
#[CONSOLE] Make console execute a command

#[SOUND] play a sound
#[SOUND] ENTITY_EXPERIENCE_ORB_PICKUP, (Volume) 10.0, (Pitch) 10.0"

#[SUMMON] Summons an entity

#[EFFECT] give an effect to the player
#[EFFECT] effect, duration, amplifier

#[EQUIP] equip an item to the player
#[EQUIP] SLOT, MATERIAL

#[CLEAR_CHAT] clear the chat

#[CLEAR_INVENTORY] clear the player's inventory

#[PARTICLE] create a particle
#[PARTICLE] particle, amount, x,y,z offset

#[TP] teleport player for an exact location
#[TP] world, x, y, z (yaw, pictch)

#[LOBBY] Teleport the player to a lobby
#[LOBBY] lobby-id

#[OPEN] Opens an inventory
#[CLOSE] Closes an inventory
#[REFRESH] Refreshes the inventory
#[SWAP] Swaps the item in the inventory
#[SWAP] item-id
#There in the selectors.yml file you can create an inventory
#Mode of use: "[OPEN] (id)", "[CLOSE] "

#%player% returns the player's name (if you are not using PLACEHOLDER API)

#[HIDE_PLAYERS] hide the players
#[SHOW_PLAYERS] show the players

#[GAMEMODE] change the game mode of the player

#<center:CHAT> Centers your text according to Minecraft's default chat size
#It is an approximate centering according to the pixels of each letter in the game

#[PERMISSION] Only do the action if you have permission
#[OPEN] 1 [PERMISSION: your.permission]
#[OPEN] 1 [!PERMISSION: your.permission] (If you don't have permission)

#<action> Send an action

#[PERMISSION] Only do the action if the condition is true
#[OPEN] 1 [IF: %xg7lobby_players_hiding%]
#[OPEN] 1 [!IF: #%xg7lobby_players_hiding%] (If the condition is false)

#Links:

#Items: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
#Sounds: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
#Entities: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Entity.html


prefix
: "&1X&9G&37&bLobby&r"

#Worlds where the plugin will be enabled
enabled-worlds
:
 - "world"
  - "lobby"

debug
:

  enabled
: false

  config-warn
: true
  lang
: true
  packet-events
: true
  tasks
: true
  sql
: true
  menus
: true
  hologram
: true
  scoreboards
: true
  commands
: true
  events
: true
  extensions
: true
  libs
: true

menus-enabled
: true

main-selector-id
: "selector"
main-pvp-selector-id
: "pvp"

##################################################################
#                              SQL                               #
##################################################################

sql
:

  type
: "sqlite"

  host
: "localhost"
  port
: "3306"

  database
: "xg7lobby"

  username
: "root"
  password
: ""

  additional-url-args
: "characterEncoding=utf8"

##################################################################
#                         LOBBY EVENTS                           #
##################################################################

lobby-teleport-cooldown
:
  before-teleport
: "5s"
  dont-move
: true

  after-teleport
: "5s"

on-join
:
  tp-to-lobby
: true

  heal
: true
  clear-inventory
: true

  run-events-when-return-to-the-world
: true

  send-join-message
: true
  send-join-message-only-on-lobby
: false

  events
:
   - "[TITLE] lang:[lobby.on-join-events.title], &f%player_name%"
    - "[MESSAGE] <center:CHAT> &8-------------------&7**&8-------------------"
    - "[MESSAGE] <center:CHAT> lang:[lobby.on-join-events.title] &f%player_name%"
    - "[MESSAGE]  "
    - "[MESSAGE] <center:CHAT> &aSite
: &fwww.website.com"
    - "[MESSAGE] <center:CHAT> &4YT
: &fwww.youtube.com"
    - "[MESSAGE]  "
    - "[MESSAGE] <center:CHAT> lang:[lobby.on-join-events.message1]"
    - "[MESSAGE] <center:CHAT> &8-------------------&7**&8-------------------"
    - "[SOUND] ENTITY_EXPERIENCE_ORB_PICKUP, 10.0, 0.0"
    - "[FIREWORK] BALL_LARGE, #FF0000, #FFFF00, true, true, 1"
    - "[FIREWORK] BALL_LARGE, #FF0000, #00FF00, true, true, 1"
    - "[FIREWORK] BALL_LARGE, #FF00FF, #00FFFF, true, true, 1"
    - "[OPEN] [NO_PERMISSION
: xg7lobby.admin ] profile "
    - "
[COMMAND ] [PERMISSION : xg7lobby.command.help ] 7l help "

on-first-join:
  enabled: true
  send-first-join-message: true
  events:
    - "
[TITLE ] &bWelcome, &f %player_name%"
    - "[MESSAGE] <center:CHAT> &8-------------------&7**&8-------------------"
    - "[MESSAGE] <center:CHAT> &bWelcome for the first time! &f%player_name%"
    - "[MESSAGE]  "
    - "[MESSAGE] <center:CHAT> &aSite
: &fwww.website.com"
    - "[MESSAGE] <center:CHAT> &4YT
: &fwww.youtube.com"
    - "[MESSAGE]  "
    - "[MESSAGE] <center:CHAT> &5&oPlugin made by DaviXG7"
    - "[MESSAGE] <center:CHAT> &8-------------------&7**&8-------------------"
    - "[SOUND] ENTITY_PLAYER_LEVELUP, 10.0, 0.0"
    - "[FIREWORK] BALL_LARGE, #FF0000, #FFFF00, true, true, 1"
    - "[FIREWORK] BALL_LARGE, #FF0000, #00FF00, true, true, 1"
    - "[FIREWORK] BALL_LARGE, #FF00FF, #00FFFF, true, true, 1"
    - "[FIREWORK] BALL_LARGE, #FF00FF, #FF00FF, true, true, 1"
    - "[FIREWORK] BALL_LARGE, #FF00FF, #FFFF00, true, true, 1"
    - "[OPEN] [NO_PERMISSION
: xg7lobby.admin ] profile "
    - "
[COMMAND ] [PERMISSION : xg7lobby.command.help ] 7l help "


effects-task-delay: 5s

effects:
  - "
JUMP_BOOST, 2 "
  - "
SPEED, 2 "
  - "
NIGHT_VISION, 1 "

##################################################################
#                         MULTI JUMPS                            #
##################################################################

multi-jumps:

  limit: 3

  enabled: true

  sound: "
ENTITY_BAT_TAKEOFF, 1.0, 1.0 "

  power: 2
  height: 1

  cooldown: 3s

##################################################################
#                           LAUNCHPAD                            #
##################################################################

launchpad:

  enabled: true

  sound: "
ENTITY_FIREWORK_ROCKET_LAUNCH, 1.0, 1.0 "

  top-block: "
STONE_PRESSURE_PLATE "
  bottom-block: "
REDSTONE_BLOCK "

  power: 3
  height: 1


##################################################################
#                        PLAYER DEFAULTS                         #
##################################################################

hearts: 1

hunger: 10
food-change: false

interact-with-blocks: false
break-block: false
place-block: false

drop-item: false
pickup-item: false

take-damage: false
attack: false

cancel-death-by-void: true

cancel-portal-teleport: true

##################################################################
#                         WORLD DEFAULTS                         #
##################################################################

world-task-delay: 10s

weather-cycle: false

storm: false

#Define the day cycle on lobby world
day-cycle: false

#12:00
#12 PM
time: "
12:30 "

#Define if mobs will spawn in the lobby
spawn-mobs: false

#Define if the leaves will fall in the lobby
leaves-decay: false

#Define whether blocks will burn in the lobby
burn-blocks: false

block-spread: false

#Cancel explosions
cancel-explosions: true

##################################################################
#                         AUTO BROADCAST                         #
##################################################################

auto-broadcast:

  enabled: true

  #Cooldown
  cooldown: 3m

  broadcast-only-in-the-lobby: false

  #Make the announcement random
  random: false

  sound: "
ENTITY_EXPERIENCE_ORB_PICKUP, 5.0, 0.0 "

  advertisements:
    #Create your announcement
    #You can send in actionbars
    - ad:
      - "
<center:CHAT> &8 -------------------&7**&8 ------------------- "
      - "
<center:CHAT> &e&lANNOUNCEMENT: "
      - "
<center:CHAT> &9This plugin was made by &bDaviXG7 "
      - "
<center:CHAT> &8 -------------------&7**&8 ------------------- "
    - ad:
      - "
<center:CHAT> &8 -------------------&7**&8 ------------------- "
      - "
<center:CHAT> &e&lANNOUNCEMENT: "
      - "
<center:CHAT> &aRate XG7Lobby in &e5 &bstars! "
      - "
<center:CHAT> &8 -------------------&7**&8 ------------------- "
    - ad:
      - "
<center:CHAT> &8 -------------------&7**&8 ------------------- "
      - "
<center:CHAT> &e&lANNOUNCEMENT: "
      - "
<center:CHAT> &fVisit our website : &bhttps://xg7plugins.com"
      - "<center:CHAT> &8-------------------&7**&8-------------------"

##################################################################
#                             MOTD                               #
##################################################################

#MOTD is the message that appears before
#join the server!
motd
:
  enabled
: true

  max-players
: 9999

  text
:
   - "<center:MOTD> &9XG7&3Lob&bby&r"
    - "<center:MOTD> &5&oMade by DaviXG7"

##################################################################
#                           SCORES                               #
##################################################################

scoreboard
:

  enabled
: true

  #Update time
  update-time
: 500ms

  #Define the title of the scoreboard
  title
:
   - "&9XG7Lobby"
    - "&3XG7Lobby"
    - "&bXG7Lobby"
    - "&9XG7&3Lob&bby"
    - "&1XG7Lobby"
    - "&9XG7&3Lob&bby"
    - "&9XG7&3Lob&bby"

  #Define the lines of the scoreboard
  #Max len 64 characters
  lines
:
   - ""
    - "lang:[scoreboard.player-info]"
    - "  lang:[scoreboard.name]"
    - "  lang:[scoreboard.rank]"
    - ""
    - "lang:[scoreboard.global-pvp]"
    - "  lang:[scoreboard.kills]"
    - "  lang:[scoreboard.deaths]"
    - ""
    - "lang:[scoreboard.players-online]"
    - "lang:[scoreboard.players-in-pvp]"
    - ""
    - "&8www.example.com"

tablist
:
  enabled
: true

  update-time
: 500ms

  #You can use the placeholders:
  custom-player-prefix
: "&8[%luckperms_prefix%&8]&r "
  custom-player-suffix
: " &8[&9XG7&3Lo&bbby&8]&r"

  headers
:

    - state
:
     - "&9XG7Lobby"
    - state
:
     - "&3XG7Lobby"
    - state
:
     - "&bXG7Lobby"
    - state
:
     - "&3XG7Lobby"
    - state
:
     - "&9XG7Lobby"

  footers
:
    - state
:
       - "&5&oMade by DaviXG7"
        - "&8www.example.com"
    - state
:
       - "&3&oMade by DaviXG7"
        - "&8www.example.com"

bossbar
:
  enabled
: true

  update-time
: 500ms

  title
:
   - "&9XG7Lobby"
    - "&3XG7Lobby"
    - "&bXG7Lobby"
    - "&3XG7Lobby"
    - "&9XG7Lobby"

  progress
: 100

  #1.9+
  color
: "BLUE"
  style
: "SOLID"

  #This is a public bossbar
  #Don't support placeholders
  #+1.9
  public
: false

actionbar
:
  enabled
: false

  update-time
: 500ms

  text
:
   - "&9XG7Lobby"
    - "&3XG7Lobby"
    - "&bXG7Lobby"
    - "&3XG7Lobby"
    - "&9XG7Lobby"

xp-bar
:
  enabled
: true

  update-time
: 1s

  levels
:
   - "7, 0.2"
    - "7, 0.4"
    - "7, 0.6"
    - "7, 0.8"
    - "7, 1.0"

##################################################################
#                          MODERATION                            #
##################################################################

warn-admin
: false
mute-admin
: false
kick-admin
: false
ban-admin
: false

warn-levels
:

  - level
: 1
    min-to-ban
: 5
    min-to-mute
: 2
    min-to-kick
: 3

    menu-material
: "GREEN_WOOL"

  - level
: 2
    min-to-ban
: 3
    min-to-mute
: 2
    min-to-kick
: 1

    menu-material
: "YELLOW_WOOL"

  - level
: 3
    min-to-ban
: 2
    min-to-mute
: 1
    min-to-kick
: 1

    menu-material
: "RED_WOOL"

mute-warn-level
: 2
kick-warn-level
: 3
ban-warn-level
: 3

total-warns-to-ban
: 10
total-warns-to-mute
: 2
total-warns-to-kick
: 5

#Put forever to infinite
warn-time-to-unmute
: "30m"

warn-ban-by-ip
: false


##################################################################
#                             CHAT                               #
##################################################################

lock-chat-only-on-lobby
: false

custom-commands-enabled
: true

custom-commands
:

  clear-chat
:
    name
: "clearchat"
    aliases
: [ "cc" ]
    permission
: "xg7lobby.command.clearchat"
    description
: "Clear the chat"
    actions
:
     - "[CLEAR_CHAT] "

  discord
:
    name
: "discord"
    permission
: ""
    description
: "Join our Discord"
    aliases
: [ "dc" ]
    actions
:
     - "[MESSAGE]  "
      - "[MESSAGE] <center:CHAT> &9Join our Discord
: &bhttps://discord.gg/jfrn8w92kF"
      - "[MESSAGE]  "

  site
:
    name
: "site"
    permission
: ""
    description
: "Visit our website"
    actions
:
     - "[MESSAGE]  "
      - "[MESSAGE] <center:CHAT> &9Visit our website
: &bhttps://example.com"
      - "[MESSAGE]  "

anti-swearing
:
  enabled
: true

  blocked-words
: [ "badword1", "badword2", "badword3" ]

  replacement
: "*"

  dont-send-the-message
: false

  #Put -1 to disable infraction
  words-tolerance
: 5

  tolerance-warn-level
: 1

  time-for-decrement-tolerance
: 1m



block-commands
:
  enabled
: true

  anti-tab
: true

  #If you don't have permission and
  #if you send some these commands
  #will block
  blocked-commands
:
   - /pl
    - /plugins
    - /?
    - /bukkit:?
    - /bukkit:plugins
    - /bukkit:pl
    - /bukkit:help
    - /version
    - /bukkit:version
    - /bukkit:ver
    - /tell

anti-spam
:
  enabled
: true

  anti-spam-only-on-lobby
: false

  message-cannot-be-the-same
: true
  cooldown
: "1s 500ms"

  #Messages tolerance to infraction
  #Put -1 to disable infraction
  spam-tolerance
: 5
  time-for-decrement-spam-tolerance
: 10s

  send-warning-on-message
: 3

  mute-on-spam-limit
: true

  unmute-delay
: "30m"

  spam-warn-level
: 2

##################################################################
#                          PVP SYSTEM                            #
##################################################################

global-pvp
:

  disable-cooldown
: 5s

  enabled
: true

  hide-players-not-in-pvp
: true

  disable-multi-jumps
: true

  on-enter-pvp
:
    heal
: true
    clear-inventory
: true

    actions
:
     - "[OPEN] pvp"
      - "[EQUIP] HELMET, DIAMOND_HELMET"
      - "[EQUIP] CHESTPLATE, DIAMOND_CHESTPLATE"
      - "[EQUIP] LEGGINGS, DIAMOND_LEGGINGS"
      - "[EQUIP] BOOTS, DIAMOND_BOOTS"
      - "[EQUIP] OFFHAND, GOLDEN_APPLE"
      - "[BROADCAST] &f%player_name% joined the PvP!"

  on-leave-pvp
:
    heal
: true
    clear-inventory
: true

    dont-move
: true

    actions
:
     - "[BROADCAST] &f%player_name% left the PvP!"

  commands-blocked
:
   - "/lobby"
    - "/spawn"
    - "/hub"
    - "/warp"
    - "/fly"
    - "/gm"
    - "/gamemode"
    - "/tp"
    - "/home"
    - "/back"


config-version
: 1.0
Menu example:
Code (YAML):

#ID of the menu, must be unique
id
: "games"

#Type of the menu, NORMAL or SELECTOR
type
: "NORMAL"

#Title of the menu
title
: "&a&lGames"

#Rows of the menu
rows
: 3

#Here you can define the items of the menu
items
:

  #Example section:

  #name-of-the-item:
  #  material: MATERIAL <- Material of the item
  #  name: "&aNAME" <- Name of the item
  #  lore: <- Lore of the item
  #    - "&7LORE"
  #  amount: 1 <- Amount of the item
  #  glow: true <- If the item should glow
  #  actions: <- Actions of the item
  #    - "[COMMAND] COMMAND"
  #    - "[CLOSE] "

  survival
:

    material
: DIAMOND_SWORD
    name
: "&aSurvival"
    lore
:
     - "&7Click to join the survival server!"
    amount
: 1
    glow
: true
    actions
:
     - "[COMMAND] server survival"
      - "[CLOSE] "

  bedwars
:

      material
: RED_BED
      name
: "&aBedwars"
      lore
:
       - "&7Click to join the bedwars server!"
      amount
: 1
      glow
: true
      actions
:
       - "[COMMAND] /server bedwars"
        - "[CLOSE] "

#Fill material of the menu
fill-material
: GRAY_STAINED_GLASS_PANE

#Place the items in this grid with name of section
grid
:
 - [ "", "", "", "",         "", "",       "", "", "" ]
  - [ "", "", "", "survival", "", "bedwars", "", "", "" ]
  - [ "", "", "", "",         "", "",       "", "", "" ]

config-version
: 1.0
Resource Information
Author:
----------
Total Downloads: 8,321
First Release: Aug 15, 2023
Last Update: Mar 7, 2025
Category: ---------------
All-Time Rating:
7 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings