Skip to content

S1nScripts/s1n_toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S1n Toolkit

A powerful developer toolkit for FiveM, built with React and Lua.

Note: This is an internal tool used by the S1nScripts team. We've decided to share it publicly, but no support will be provided. The code is provided as-is.

Features

Code Execution

Lua

Execute Lua code on client or server.

Lua Code Execution

JavaScript

Execute JavaScript code.

JavaScript Code Execution

TypeScript

Execute TypeScript code.

TypeScript Code Execution

NUI

Execute code in the NUI context (local & remote).

NUI Code Execution

Server / Remote Execution

Execute code on server or on other players.

Server Code Execution

Developer Tools

Server Profiler

Profile your server performance and view results in-game.

Server Profiler - List View

Server Profiler - Flame Graph

Thread Manager

View, monitor, and kill threads executed by the S1n Toolkit.

Thread Manager

TypeScript Support

Full TypeScript definitions included for client and server realms.

Requirements

  • FiveM Server

Installation

  1. Download the latest release
  2. Extract it to your resources folder
  3. Add to your server.cfg:
    add_ace resource.s1n_toolkit command.sets allow
    add_ace resource.s1n_toolkit command.add_ace allow
    add_ace resource.s1n_toolkit command.add_principal allow
    add_ace resource.s1n_toolkit command.remove_principal allow
    add_ace resource.s1n_toolkit command.stop allow
    add_ace resource.s1n_toolkit command allow
    ensure s1n_toolkit
    

Debug Mode

Enable debug prints by setting Config.debugMode to true in config.lua:

Config.debugMode = true;

License

This project is provided as-is without warranty. Use at your own risk.

About

Intern toolkit used at S1nScripts for FiveM developers

Resources

Stars

Watchers

Forks

Packages