Thanks to visit codestin.com
Credit goes to github.com

Skip to content

itsneufox/tapi

tapi

A command-line tool that doesn't suck for SA-MP and open.mp development.

What's this?

Tired of wrestling with PAWN compiler setups, server configurations, and the general pain of SA-MP/open.mp development? Yeah, me too. That's why tapi exists.

It's basically a CLI that handles all the boring stuff so you can focus on actually writing code.

Why should I care?

  • No more manual setup hell - tapi init and you're coding in seconds
  • Server runs in your terminal - like a real dev server, Ctrl+C to stop
  • Actually works cross-platform - Windows, Linux, macOS, whatever
  • Doesn't hijack your workflow - uses standard server configs, no lock-in
  • Clean output - no spam unless you want it (--verbose)

Getting started

# Set it up (just once)
tapi setup

# Make a project
mkdir my-gamemode && cd my-gamemode
tapi init

# Code, build, run
tapi build
tapi start    # Ctrl+C to stop, that's it

Commands

Command What it does Docs
setup First-time configuration 📖
init Create new projects 📖
build Compile your PAWN code 📖
start Run the server 📖
config Change settings 📖
install Grab packages from GitHub 📖
kill Emergency cleanup 📖

Global options

These work with any command:

Option What it does
-v, --verbose Show detailed debug output
-q, --quiet Minimize console output (show only progress bars)
--log-to-file Save logs to file for debugging

Daily workflow

# Start project
tapi init

# Work on code...
# (edit your .pwn files)

# Test it
tapi build
tapi start    # server runs right here in terminal

# Install some library
tapi install openmultiplayer/omp-stdlib

# Debug something? Save logs to file
tapi --log-to-file build --verbose

# Back to coding...

What you get

When you run init, you get a complete setup:

  • Server (SA-MP or open.mp, your choice)
  • PAWN compiler that actually works
  • Proper folder structure
  • VS Code integration if you want it
  • Git repo with sensible .gitignore
  • No weird custom configs - just standard server files

Requirements

  • Node.js (recent version)
  • That's it

Contributing

Found a bug? Got an idea? Cool, let's talk. Check the command docs to see what needs work.

Status

This is real software that works, but it's still evolving. Don't put it on your production server (yet), but it's great for development.


Stop fighting with tooling, start writing gamemodes.

About

A CLI tool for open.mp/SA-MP development that helps manage packages and build Pawn projects.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published