Skip to content

Cuxial Community Service

Staff sanctions for FiveM: community service by tasks and administrative jail, with a sanctions panel and every step checked on the server.

Cuxial Community Service gives your staff two sanctions: a number of community service tasks, or minutes of administrative jail. The player is taken to the zone, cannot leave it, and is released automatically when the sanction is served. Every step is checked on the server, so a sanction cannot be skipped from the client.

What it does ​

  • Community service by tasks. One task at a time, picked at random from five categories: construction, gardening, cleaning, maintenance and repairs.
  • Guided tasks. Map blip with GPS route, outlined object, floating marker and an on-screen panel with the tasks left, the current task and the distance to it.
  • Interaction next to the object. The E prompt appears when the player stands at the edge of the object, on any side, and starts a progress bar with the animation of that task.
  • Closed zone. A polygon surrounds the work area. A player who walks or drives out is brought back. Shooting and aiming are disabled inside.
  • Administrative jail by minutes. Random cell, no weapon in hand, invincible while serving, and a maximum distance from the cell. Time only counts while the player is online.
  • Validated on the server. The server checks the distance to the task, the time spent on it, the position of the player inside the zone or near the cell, and the jail timer. Requests are rate limited.
  • Persistent sanctions. Progress is saved after every task and every minute. Sanctions given to an offline character are applied on their next login.
  • Sanctions panel. /sanciones lists every sanctioned character by type, online or not, with search, progress and who gave the sanction. Staff apply a new sanction to an online player or remove one from any character.
  • Announcements and logs. Optional announcement in Cuxial Chat when a sanction is given or served, and Discord logs through a convar.
  • Task mapping tool. /taskcoords copies object models, coordinates or a full task entry to the clipboard.
  • Exports to add, remove and read sanctions from other resources, also for offline characters.

How a sanction works ​

  1. Staff run /comserv or use the panel, with the player, the number of tasks and the reason.
  2. The player is moved to the zone and receives the first task.
  3. Next to the task object the player presses E. A progress bar runs with the animation of that task.
  4. Each finished task lowers the counter by one and a new task appears somewhere else.
  5. At zero the player is moved to the exit point and the sanction is deleted.

Commands and the panel give one sanction at a time: a second one is refused while the first is active.

Requirements ​

ResourceRequiredUsed for
OneSyncYesMoving players from the server
ox_libYesCommands, zone, progress bar, notifications, translations
oxmysqlYesSaving sanctions
cuxial_bridgeYesConnects to your framework (QBox, QBCore or ESX)
cuxial_chatNoAnnounces sanctions given and served in its sanctions channel. Without it there is no chat announcement

Pages ​

© Cuxial