π JobLock (Fraksperre)
Stop job-hopping. Start controlling your RP economy. JobLock (Fraksperre) is a lightweight but powerful script that prevents players from switching jobs or factions while under a lock, ensuring faction balance and server fairness.
βοΈ What is JobLock?β
On many RP servers, faction dynamics can spiral out of control when players switch jobs or factions without any restrictions. JobLock (Fraksperre) solves this by enforcing cooldowns and stopping chaotic faction-hopping caused by:
- "Revenge switching" β Players leaving their faction immediately after a perceived punishment (e.g., a bloodout) just to join a rival group and retaliate.
- Faction disbanding β When a faction dissolves, players often rush en masse into another faction, creating a sudden imbalance in power and numbers.
- Exploiting job advantages β Rapidly switching between jobs to take advantage of different perks or systems, which undermines roleplay integrity.
Without a restriction system in place, this leads to:
- Unfair power shifts
- Broken RP continuity
- Overloaded or empty factions overnight
JobLock keeps the server stable by adding structure to job and faction transitions, ensuring fair play and better long-term faction health.
π§° Featuresβ
-
π§ Admin Control Admins can set or remove job locks via commands.
-
β³ Automatic Lock Automatically apply a lock after any job change.
-
ποΈ Player Notifications Players are notified when a job lock begins or ends.
-
π Check Lock Time Players can use
/joblock
to check their current cooldown. -
π§Ύ Whitelist Support Define jobs in the config that are exempt from the lock (e.g., civilian jobs or ambulance).
-
β‘ Ultra-Lightweight Optimized to run at 0.00ms β perfect even for high-pop servers.
π¬ Commandsβ
/joblock
β Check remaining job lock time/setjoblock [playerId] [hours]
β Set a job lock (admin only)/removejoblock [playerId]
β Remove a job lock (admin only)
π€ Exportsβ
exports.sky_joblock:HasJobLock(playerId) -- Returns true if the player has an active lock
exports.sky_joblock:GetJobLockTime(playerId) -- Returns remaining lock time in seconds
JobLock (Fraksperre) is the ideal tool for servers that care about structure, realism, and fair play.
π‘οΈ Keep your RP clean. Keep your factions stable. Get JobLock today.