πŸ“± X-Socials🎁 Rewards and Broadcasts

Rewards and Broadcast System

X-Socials stands out from other social media plugins by offering Click Rewards and dynamic interactivity.

🎁 First Visit Rewards

Want to encourage your players to join your Discord or follow you on Twitter? X-Socials includes an automatic reward system.

Each time a player clicks on one of your social network links in chat, the server can execute invisible commands to give them items or money. The player can only claim the reward once per social network.

Reward Configuration

Go to the socials/ folder and open any file (e.g., discord.yml):

  # Execute commands from console when a player visit the link.
  # Available internal placeholders: %player%
  reward:
    enable: true
    commands:
      - "give %player% diamond 5"
      - "eco give %player% 500"

If reward.enable is true, when the player clicks the link in-game (either from /discord or from /xs list), the plugin will execute the list of commands. Internally, X-Socials saves the player’s UUID to ensure they cannot spoof infinite clicks for infinite diamonds.


πŸ“’ Random Announcements (Broadcasts)

You don’t need an extra plugin like AutoBroadcaster to keep your players informed. X-Socials has a built-in multi-page announcement system.

broadcasts:
  enable: true
  interval: 300
  random: false

In config.yml, you can configure how often (in seconds) an announcement should be sent (interval). If random: false, announcements will be sent in order (Announcement 1, Announcement 2, Announcement 3…). If you set it to true, they will be sent completely randomly.

Modifying Announcement Texts

Open the broadcasts.yml file (created automatically in the X-Socials folder). You can define as many lists as you want. Each announcement is a list of lines, allowing you to send striking multi-line text boxes:

broadcasts:
  1:
    - "&m                                                "
    - " &e&lJoin our community!"
    - " &7Find out about giveaways and news on Discord."
    - " &bTo join, type &f/discord"
    - "&m                                                "