- Supported Skript Version
- 2.10
- Supported Minecraft Versions
- 1.21
On Join Super Counter [Skript]
Player Join/Quit Event Handler
This script automates the management of player join and quit events on the server. When a player joins, the script performs the following actions:
Player Join/Quit Event Handler
This script automates the management of player join and quit events on the server. When a player joins, the script performs the following actions:
- Join Message: It displays a message indicating that the player has joined the server.
- First Join Tracking: If it's the player's first time joining, it records the current time as their first join timestamp.
- Last Join Update: It updates the last join timestamp to the current time.
- Session Start: It marks the start of the player's session with the current time.
- Online Status: It sets the player's online status to "true".
- Unique Join Count: If the player is joining for the first time, it increments a global unique join counter and assigns a unique join number to the player, displaying a welcome message that includes their unique join number. If the player has joined before, a simpler welcome message is displayed.
- Total Joins and Individual Join Count: It increments the total number of joins on the server and the individual join count for the player.
- Quit Message: It displays a message indicating that the player has left the server.
- Session End: It deletes the session start timestamp.
- Last Join Update: It updates the last join timestamp to the current time.