Company & Employee Management
Company & Employee Management – Space Trucker
The core focus of Space Trucker is allowing players to roleplay as logistics tycoons, managing people, assets, and money at scale.
Creating a Company
Players use the in-game menu or a command (if enabled) to register a company.
Cost: Defined in
config.Company.PriceCompany Data:
Unique company name
Logo (image URL)
Brand color (visual identity)
Roles & Hierarchy
The system uses a simple yet effective hierarchy:
👑 Owner
Full access and control
Can deposit/withdraw money
Hire and fire employees
Purchase industries and vehicles
Can transfer company ownership to another player (company sale)
🧑💼 Manager
Manages day-to-day operations.
Granular Permissions The Owner can define exactly what a Manager is allowed to do:
canManageEmployees– Hire and fire driverscanManageFleet– Buy and sell truckscanManageFinances– View balance and loanscanManageIndustries– Adjust prices or stock (if applicable)
🚚 Worker
Can take vehicles from the company garage
Can perform missions on behalf of the company
Profits go to the company
The driver receives a salary or commission
🤖 NPC System (Automation)
To help companies grow even when few players are online, the script allows hiring NPC workforce.
NPCs in Industries
Role: Increase industry production speed
Bonus: Each NPC adds +1 unit per production cycle
Limit: Maximum of 10 NPCs per industry (configurable in
s_industry_management.lua)Cost: NPCs require a salary (maintenance), automatically deducted from the company balance
🚛 NPC “Driver” (Logistics Fail-safe System)
Although you don’t see NPC trucks physically driving around the map, the system includes a network of invisible NPC drivers that keep the economy flowing.
How it works: If an order (Logistics or Company-owned) remains open for too long without a player accepting it (server-configurable, usually 30–60 minutes), an NPC automatically completes the delivery.
Visual behavior: The order status changes to DELIVERED and the stock is transferred instantly. No physical truck appears in the world.
Economy impact: The producing company receives the normal payment for the sale.
Purpose: This is a safety mechanism to prevent the server’s industries from stalling due to low player activity.
💰 Financial System & Loans
Companies have access to bank credit to accelerate growth.
Requesting a Loan
Done through the company tablet interface
Interest & Payments
Compound Interest Calculated monthly (in-game time or real time, depending on server configuration)
Repayment Options
Installments
Full early repayment
Defaulting (Non-payment)
The script does not automatically seize assets (for now)
The company is flagged as blacklisted in the banking system
New loans become unavailable
Transaction Logs
All financial actions are recorded
The Owner can see:
Who spent money
When it was spent
On what it was spent
Last updated
