πŸ“± X-Socials⌨️ Commands

Commands

Manage X-Socials with these administrative and player commands.

Administrative Commands

CommandAliasDescriptionPermission
/xsocials -gui/xs -guiOpens the premium administrative menu.xsocials.admin
/xsocials reload/xs reloadReloads configuration and data files.xsocials.admin
/xsocials edit/xs editInteractive edit mode for social networks.xsocials.admin
/xsocials help/xs helpShows detailed plugin help.xsocials.admin

Player Commands

Player commands are dynamic and can be enabled or disabled in the configuration.

CommandDescription
/socialsOpens the social networks GUI for players.
/discordShows the Discord link (if enabled).
/twitterShows the Twitter/X link (if enabled).
/youtubeShows the YouTube link (if enabled).
/[red]Any other custom network you have configured.

πŸ€” What are Dynamic Commands for?

Player commands (like /discord or /twitter) are not fixed. If you add a social network called store in the configuration, the plugin will automatically create the /store command without you having to restart the server.

πŸ› οΈ Practical Example: Live editing without restarting

πŸ‘€ View Code Example / Cases

Imagine you change your Discord link to a new one. Instead of editing .yml files and using commands like /reload that cause lag, you can do it all in-game easily:

  1. Join the server and type /xsocials edit.
  2. A menu will open showing all your current networks.
  3. Click on β€œDiscord”.
  4. The plugin will ask you in chat to type the new link. Type the new one (e.g., discord.gg/new).
  5. Done! All your players now instantly receive the new link when they use the command.