Skip to content

This project serves as an example for integrating an api into an ALT:V GTA V server. It provides basic usage with another project that is currently being worked upon.

License

Notifications You must be signed in to change notification settings

riffy/altv-adminpanel-api

Repository files navigation

altv-adminpanel-api

This project serves as an example for integrating an api into an ALT:V GTA V server. It provides basic usage with another project that is currently being worked upon.

If it helped you setting up something nice, leave a ⭐

Usage

Requirements

  • NodeJS
  • Alt:V

Installation & First Start

  1. Copy the contents of this repo to altv-server\resources\altv-adminpanel-api
  2. Run npm install in the directory
  3. Start server
  4. Open a browser and go to http://localhost:9999/acp/dashboard?t=REPLACETHIS

You should see this:

example

Modify

  1. Change the secret to one that suits you, be vary of http arguments (avoid &, ?, % etc.) in index.mjs
  2. New listeners can be added with addAcpListener. Consult the comments.

Control Panel

For the control panel, please look at my other repository https://github.com/riffy/gta-adminlte-django so you can do something neat like this

woop_woop

Upcoming Features

Server

  • Config
  • Map

Player

  • Player list with data
  • Manage single player (kick with message, freeze, jail, teleport)

About

This project serves as an example for integrating an api into an ALT:V GTA V server. It provides basic usage with another project that is currently being worked upon.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published