EarnAFK - The Ultimate Passive Income Script!

:rocket: EarnAFK - The Ultimate Passive Income Script! :rocket:

Tired of grinding for hours? Want to reward your players for simply relaxing in your server? EarnAFK is the perfect solution! This advanced script allows players to earn money, items, experience, and more just by staying in designated AFK zones—making your server more engaging and rewarding.

2025-07-0520-43-16

Tebex Link (FREE): https://alexstore.tebex.io/package/6919391

Preview of the configs files, framework files on Discord.

Discord : AlexStore
Youtube Video : https://youtu.be/Woh6r2HdIa4

:star2: Key Features :star2:

:white_check_mark: Multiple Reward Types – Players can earn:

:moneybag: Money (cash,black_money, bank, or custom)

:school_satchel: Items (food, weapons, resources, etc.)

:chart_with_upwards_trend: Experience (for RP, skills, or leveling systems)

:zap: Custom Commands (trigger actions like announcements or special perks)

:white_check_mark: Customizable AFK Zones

Set up multiple zones with different rewards.

Control radius, payout intervals, and rewards per zone.

:white_check_mark: Smart Permission System

Boost rewards for staff, donors, or specific jobs/gangs.

Supports ESX, QBCore, or custom frameworks.

:white_check_mark: Player-Friendly UI

Clean NUI display showing active rewards & countdowns.

Notifications when entering/exiting zones.

:white_check_mark: Anti-Abuse & Stability

Minimum time requirement before earning (no instant farming).

Instance-based (routing bucket can be disabled) AFK zones (prevents overcrowding).

Webhook support for logging rewards (Discord).

:fire: Perfect For:

Roleplay Servers (reward chilling in bars, gyms, or scenic spots).

Survival/Economy Servers (passive income for resources).

VIP/Donor Systems (exclusive AFK areas for supporters).

:pushpin: Easy to Install, Highly Customizable, and Lightweight!

See my other scripts :

:hamburger: Burger Shot Restaurant Job


Alex’s Advanced Vehicle Trainer

2025-07-0118-01-23-ezgif.com-optimize

Code is accessible Yes/No
Subscription-based No
Lines (approximately) 500
Requirements Polyzone, ESX/QBCore
Support Yes
4 Likes

“making your server more engaging and rewarding.”

This would be more likely less engaging from a view point of actual roleplay.
However, nice script I guess.

No one joins a server if it’s empty, right? More people bring in more people, and a lot of players have to go AFK sometimes. If the rewards are set up right, it shouldn’t mess with the roleplay too much. The AFK folks are in their own little instances so afk people will not meet actual player.

Hello, do players go to godmod or not because if they die in the zone, what happens?

The framework file allows for customization of behaviors, including the management of hunger and thirst, which do not diminish or increase. When a person die, the system will automatically distribute earned rewards. To ensure player invulnerability, we recommend utilizing a separate safe zone script or wait till i make a big update on this

1 Like

New Update:

  • Add support of black money and Label for items

    Here all the configuration possibilities :
    rewards = {
    { type = “money”, amount = 2500, interval = 30, once = false }, – 2500 every 30 seconds
    { type = “black_money”, amount = 5000, interval = 60, once = false }, – 5000 of black money every 60 seconds
    { type = “item”, item = “water”, label=“15 Water”, amount = 15, interval = 90, once = false }, – 15 water every 90 seconds
    { type = “experience”, amount = 100, interval = 120, once = false }, – 100 experience every 120 seconds
    { type = “command”, command = {cmd = ‘addcasecoins %s 10’, label=‘10 Silver Coins’}, amount = 1, interval = 150, once = true} – Special console command every 150 seconds and one time
    }

  • Add the list of obtained rewards while being inside of the Zone

  • Add a more easy way to configure translation of the NUI part, simply go into the script.js
    {
    modal_title: ‘EarnAFK - Zone’,
    upcoming_rewards: ‘Upcoming rewards:’,
    obtained_rewards: ‘Obtained rewards:’,
    obtained_status: ‘✓ Obtained’,
    press_key_toggle: ‘Press E to show/hide rewards’,
    afk_zone_title: ‘AFK Zone’,
    afk_zone_welcome: ‘Welcome to the AFK zone! You can earn rewards by staying idle here.’,
    dirty_money_suffix: ’ (Dirty Money)',
    currency_suffix: ‘€’,
    }

  • The list of upcoming reward now only show 4 reward and sort them by time

  • Add a more readable time in the list like HH:MM:SS

  • Support of $ and € (Can be changed in the script.js)

  • Webhook support

2 Likes