Server Configuration

The sv_config.lua file contains settings that are strictly server-side, such as admin permissions and the daily/weekly quest pools.

🛡️ Admin Permissions

Define the permission level required to use admin commands like /scenemanager (for creating scenes) and /bonusmanager (for managing payouts).

  adminPermission = 'admin',

🎯 Quest System

This section contains the vast pool of daily and weekly quests. The server randomly selects quests from these pools to assign to players. Each quest defines a specific objective (like completing tasks, earning money, or working hours) and rewards players with EXP and money upon completion.

  quests = {
    dailyPool = {
      {
        id = 'complete_tasks_10',
        label = 'Finish 10 tasks',
        description = 'Complete any 10 cleanup tasks today to prove your efficiency.',
        reward = { exp = 130, money = 480 },
        objective = {
          type = 'tasks_completed',
          target = 10,
        },
      },
      -- ...
    },
    weeklyPool = {
      -- ...
    }
  },