๐Ÿ“ฑ X-Socialsโš™๏ธ Base Configuration

Configuration

The main configuration file config.yml allows you to customize the global behavior of the plugin.

๐Ÿค” What is it for?

Unlike other plugins where you have to create tedious menus with ChestCommands, the X-Socials config.yml comes with an integrated system to handle all your social networks, their design, and most importantly: Automatic rewards given to players for clicking your links.

# ==========================================================
# Main X-Socials Configuration
# ==========================================================
 
# General Settings
general:
  check-updates: true
  prefix: "&8[&bX-Socials&8] &f"
  language: "en" # Plugin message language
 
# GUI Settings
gui:
  title: "&b&lSocial Networks"
  size: 27
  fill-glass: true
  glass-color: 15 # Gray

Available Sections

  • networks: Define your custom social networks (Discord, Twitter, etc.).
  • gui: Customize the interactive menu appearance.
  • rewards: Configure commands that execute when a player visits a link.
  • messages: Customize each plugin message (supports MiniMessage and Legacy).

๐Ÿ› ๏ธ Practical Example: Changing the Menu Appearance

๐Ÿ‘€ View Code Example / Cases

If you find the default gray menu boring and want the background of the /socials menu to be red glass to match, for example, the YouTube logo, you would modify the gui section as follows:

gui:
  title: "&c&lOur Networks"
  size: 27 # 3 rows of menu
  fill-glass: true
  glass-color: 14 # Red Glass ID