Join Counter!

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

RainPlayzYT

New Member
Nov 28, 2019
7
0
1
22
Hello! For those who have been wondering, “How do I make it so when a new player joins, it shows the amount of people that HAVE Joined the server?”, Here is a simple skript showing how to do it!Enjoy :emoji_grinning:!!

variables:
{uniquejoins} = 1

on first join:
set join message to “”
add 1 to {uniquejoins}
broadcast “&cWelcome &6%player%&c! &7[#&e%{uniquejoins}%&7]”
 
Here is an even simpler script
code_language.skript:
size of all offline players
This is the amount of unique joins on your server, no need for a variable and adding to it.

I also wanted to add, your code:
code_language.skript:
broadcast “&cWelcome &6%player%&c! &7[#&e%{uniquejoins}%&7]"
won't work, because you have a # in there, which Skript will comment out the rest of that line (# <-- is used by Skript as a comment line)

simple and correct way to do this: (you need to double up your ##)
code_language.skript:
on first join:
    broadcast “&cWelcome &6%player%&c! &7[##&e%size of all offline players%&7]"
 
Status
Not open for further replies.