w.senpro

Make a skript when new player join on first time then automatic they recieve 1000 money (/eco give %player% 1000) on first time credit real senpro

Kodari AI
KodariFeb 4 at 5:28 am 1,668 (v2)

I’ll create a first-join reward system that gives new players 1000 money automatically.

FirstJoinReward
Automatically rewards new players with 1000 money when they join the server for the first time. Uses Vault economy integration via command execution to credit player accounts. Tracks player join history to prevent duplicate rewards and includes admin commands for managing first-join bonuses.

Setup Instructions:

  1. Place the file: Copy firstjoin.sk to plugins/Skript/scripts/

  2. Load the script: /sk reload firstjoin

  3. Requirements:

    • Vault plugin installed

    • An economy plugin (EssentialsX, CMI, etc.)

  4. Configuration: Edit the options section to change:

    • reward-amount - Change from 1000 to any amount

    • welcome-message - Customize the welcome message

    • prefix - Change the message prefix

  5. Admin Commands:

    • /firstjoin - Show help

    • /firstjoin check <player> - Check if player received bonus

    • /firstjoin reset <player> - Reset player (they can receive bonus again)

    • Permission: firstjoin.admin

Credit: real senpro ✓

Kodari can make mistakes. Review important code before using.
Files
firstjoin.sk
Code
1 50
firstjoin.sk
# First Join Reward System
# Gives new players 1000 money on their first join
# Credit: real senpro

options:
    prefix: &6[FirstJoin]&r
    reward-amount: 1000
    welcome-message: &aWelcome to the server! You received &2$1000 &aas a starter bonus!

on join:
    if {firstjoin::%player's uuid%} is not set:
        wait 5 ticks
        make console execute command "/eco give %player% {@reward-amount}"
        send "{@prefix} {@welcome-message}" to player
        set {firstjoin::%player's uuid%} to true
        send "{@prefix} &e%player% &7joined for the first time and received $&a{@reward-amount}" to console

command /firstjoin [<text>] [<offline player>]:
    permission: firstjoin.admin
    permission message: &cYou don't have permission to use this command!
    trigger:
        if arg-1 is not set:
            send "&6=== FirstJoin Commands ==="
            send "&e/firstjoin reset <player> &7- Reset player's first join status"
            send "&e/firstjoin check <player> &7- Check if player has received bonus"
            stop
        
        if arg-1 is "reset":
            if arg-2 is not set:
                send "{@prefix} &cUsage: /firstjoin reset <player>"
                stop
            delete {firstjoin::%arg-2's uuid%}
            send "{@prefix} &aReset first join status for &e%arg-2%"
            stop
        
        if arg-1 is "check":
            if arg-2 is not set:
                send "{@prefix} &cUsage: /firstjoin check <player>"
                stop
            if {firstjoin::%arg-2's uuid%} is set:
                send "{@prefix} &e%arg-2% &7has already received the first join bonus"
            else:
                send "{@prefix} &e%arg-2% &7has NOT received the first join bonus yet"
            stop
        
        send "{@prefix} &cUnknown argument! Use /firstjoin for help"

on script load:
    send "{@prefix} &aFirst Join Reward System loaded! Reward: $&2{@reward-amount}" to console
    send "{@prefix} &7Credit: real senpro" to console