Documentation
Docs/Resources/Base/job_timetable
Base Resource

job_timetable

Tracks duty shifts and displays recent employee hours through the VCore tablet menu. Start core and oxmysql before jobtimetable. The timetableshifts table is included in VCOREINSTALL.sql. Edit shared/config.lua: - Config.WeekViewCount controls displayed history. - Config.ManagerGrade controls who can view other employees. - Config.Jobs lists tracked jobs; every name must exactly match the Core job name. - Config.TabletProp, Config.MenuTitle and Config.MenuSubtitle control presentation. Players can open the timetable from its radial-menu entry or /timetable while on duty in a configured job. Managers can inspect employee hours when their grade meets Config.ManagerGrade. Restart jobtimetable after configuration changes.

v1.0.0VCore FrameworkCore systems

Introduction

Tracks duty shifts and displays recent employee hours through the VCore tablet menu. Start core and oxmysql before jobtimetable. The timetableshifts table is included in VCOREINSTALL.sql. Edit shared/config.lua: - Config.WeekViewCount controls displayed history. - Config.ManagerGrade controls who can view other employees. - Config.Jobs lists tracked jobs; every name must exactly match the Core job name. - Config.TabletProp, Config.MenuTitle and Config.MenuSubtitle control presentation. Players can open the timetable from its radial-menu entry or /timetable while on duty in a configured job. Managers can inspect employee hours when their grade meets Config.ManagerGrade. Restart jobtimetable after configuration changes.

1Client Lua
1Server Lua
0Exports
1Events
0SQL tables

No manifest UI page detected.

Dependencies & References

ResourceDetected asPackage status
coreManifest dependencyIncluded in Base
oxmysqlManifest dependencyExternal / prerequisite

Cross-resource export calls

ResourceFunctions called
coregetCoreObject

Installation / Start Order

The supplied server.cfg enables this resource in the Core systems stage at enabled-resource position 40. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.

server.cfg
ensure job_timetable

Configuration

Config files

  • shared/config.lua

Top-level config keys detected

JobsManagerGradeMenuSubtitleMenuTitleTabletPropWeekViewCount

Events, Exports & Callbacks

Exports

No export definitions were detected.

Callbacks

Server callbacks2
  • timetable:getEmployeeWeeks
  • timetable:getStaffList

Registered network events

Client registered events1
  • vcore-timetable:client:openTablet

Commands

Client commands1
  • timetable

Database / SQL

No resource-local SQL file was detected.

No CREATE TABLE statements detected inside this resource.

The root Base package also ships the consolidated VCORE_INSTALL.sql.

Source Layout

AreaDetected files
Client Lua1
Server Lua1
Other/shared Lua2
JavaScript0
HTML0
CSS0
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before job_timetable.
  • Check the supplied start-order note above; resources absent from server.cfg need an explicit decision before enabling.
  • If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
  • If the UI fails, verify the resource's NUI files and ui_page when one is declared.