🧹HRComserv

An advanced and free community services script made for roleplay servers with no need of framework

Dependencies

Installation

  • Download and install all the dependencies

  • Download HRComserv

  • Move the dependencies and HRComserv to your resources folder

  • Configure HRComserv from it's config.lua file

  • Write this in your server.cfg file: start HRLib start oxmysql start HRComserv

  • Restart your server

Preview

Features

Two commands used by the server's staff: /comserv [id] [tasksCount] /stopComserv [id]

Random locations for doing tasks

Three types of tasks: hammering, sweeping and digging

Optimization

Clothes change, Items removal, Set inventory to busy

Еxternal connections

Server Exports

Player State Bag

the player state bag "hasComservTasks" contains the following fields:

  • tasksCount (integer): The count of remaining tasks

  • skin (string): json encoded table of player's outfit

  • playerItems (table[]): an array full of player's items

  • alreadyHave (boolean): a value that shows if the player joined the server but already have tasks to do and left before finishing them

Last updated