📝
docs
DiscordTebex Store
  • Introduction
  • Common Issues
    • Lacking Entitlement
    • UI Problems
    • Syntax Error near <\1>
  • Scripts
    • Crafting
      • Introduction
      • Dependencies
      • Config
    • Bossmenu
      • Introduction
      • Dependencies
      • Config
      • Developer Docs
Powered by GitBook
On this page
  • Client Exports
  • Open Jobpanel
  • Server Exports
  • Reset Statistics
  • Create Job History
  • Client Events
  • Open Jobpanel
  1. Scripts
  2. Bossmenu

Developer Docs

Here you can find useful exports/triggers that may be useful.

If you have any suggestions for exports or triggers needed for your server, please open a ticket in my Discord server, and we can add it.

Client Exports

Open Jobpanel

You can use this export to open our jobpanel through other scripts.

Code Example
---@param job string
exports['dillen-bossmenu']:OpenJobpanel(job)

Server Exports

Reset Statistics

This export restores ALL company's weekly statistics.

Code Example
exports['dillen-bossmenu']:ResetStatistics()

Create Job History

With this export you can create job history from other scripts.

Code Example
---@param job string | The job you want to create a history entry for
---@param name string | The player's name who performed the action
---@param action string | The type of action performed
exports['dillen-bossmenu']:CreateJobHistory(job, name, action)

Client Events

Open Jobpanel

You can use this trigger to open our jobpanel through other scripts.

Code Example
---@param job string
TriggerEvent('dillen-jobpanel:openJobpanel', job)
PreviousConfig

Last updated 7 months ago