πŸš’Job Center

for developers

Configuration

Configuration events of files in gksphone/config/jobs

Job list and general settings section of jobs

icon = https://fonts.google.com/icons

MimWorkers = Minimum number of players to work

MaxWorkers = Maximum number of players to work

Location = If there is a position, specify it as vector3 or vector4 if there is no position, make it false

RequiredItem = If there is an item required to see the job, write the item code here, if not, set it to false

IsActive = to set the availability of the job


["sanitation"] = {
        ["Name"] = "Job Code",
        ["Label"] = "Name of the Job",
        ["Description"] = "Job description",
        ["Icon"] = "Icon Name",
        ["IconColor"] = "Icon color",
        ["Rating"] = 2,
        ["MimWorkers"] = 1, 
        ["MaxWorkers"] = 2, 
        ["Location"] = false, 
        ["RequiredItem"] = false, 
},

Events

Sample files are available in gksphone/client/apps/job and gksphone/server/job.

There is no finish event, you have to finish it manually and delete the group using export

Exports - Server

GetJobGroupByLeader

Brings the group information of the person who is the Group Leader.

DeleteJobGroup

Delete Group

GetGroupByMember

Returns the information of the group with the player identifier

Exports - Client

IsGroupLeader

IsTaskStatus

TaskUpdate

TaskListUpdate

If you want to make changes in Task List Text, you can use

TaskList

Last updated