Commands
Manage X-Socials with these administrative and player commands.
Administrative Commands
| Command | Alias | Description | Permission |
|---|---|---|---|
/xsocials -gui | /xs -gui | Opens the premium administrative menu. | xsocials.admin |
/xsocials reload | /xs reload | Reloads configuration and data files. | xsocials.admin |
/xsocials edit | /xs edit | Interactive edit mode for social networks. | xsocials.admin |
/xsocials help | /xs help | Shows detailed plugin help. | xsocials.admin |
Player Commands
Player commands are dynamic and can be enabled or disabled in the configuration.
| Command | Description |
|---|---|
/socials | Opens the social networks GUI for players. |
/discord | Shows the Discord link (if enabled). |
/twitter | Shows the Twitter/X link (if enabled). |
/youtube | Shows 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:
- Join the server and type
/xsocials edit. - A menu will open showing all your current networks.
- Click on βDiscordβ.
- The plugin will ask you in chat to type the new link. Type the new one (e.g.,
discord.gg/new). - Done! All your players now instantly receive the new link when they use the command.