Accounts & characters
bcrypt passwords, multiple characters per account, MySQL persistence and a UCP-friendly schema.
OpenRP Framework gives you the gameplay systems, web control panels and documentation to build your own open.mp roleplay server. Shape the world. Create your community. Make it yours.
The boring, hard-to-get-right foundations are done, so you can spend your time on your server's own identity.
bcrypt passwords, multiple characters per account, MySQL persistence and a UCP-friendly schema.
Levels, duty, reports, jail, bans, spectate, noclip and full logging, ready on day one.
Ownership, dealerships, fuel, impound, mods, tickets, real vehicle slots and keys.
Houses, businesses, firms, real estate, furniture, wardrobes and burglary.
A simple crate-based trucker run, plus garbage, pizza, fishing and more, with paychecks and a bank.
SAPD and FDSA out of the box: radio, MDC, 911, cuffs, arrests, tickets, injuries and medical.
Phone, radio channels, adverts, rumours and proximity chat.
Gangs, gang zones, gun dealers and fear & respect behind simple feature flags.
Module headers, function comments and an architecture guide help you find your way around the code.
This was split from a live server's script, so anything specific to that server has been removed.
A community website, player panel and staff workspace. Included, connected and ready to make your own.
Real captures from a local preview with demonstration data. Select an image to explore the album; use the arrow keys to browse.
Follow the complete installation checklist →
You need an open.mp server (SA-MP 0.3.7 may work but is untested and will likely need changes), MariaDB 10.5+, and the Pawn compiler 3.10.10. sampctl pulls the dependencies and builds it for you. Install sampctl for your platform before building.
mysql -u root -p < database/schema.sqlEdit mysql.ini and config.json (open.mp; server.cfg is only for SA-MP), then copy gamemodes/config/secrets.example.pwn to secrets.pwn.
Set SERVER_NAME, SERVER_WEBSITE and SERVER_DISCORD in gamemodes/config/header.pwn.
sampctl ensure
sampctl buildOn Linux, install sampctl yourself and run sampctl build.
Create your first administrator with npm run admin:create in the web application. The setup prints a unique password; no shared administrator account is shipped.
Everything map-specific is set to 0, 0, 0 with a TODO: set coordinates for your map comment. Search the code for it.
| I want to… | Look at |
|---|---|
| Add a map | gamemodes/visuals/maps/template.pwn |
| Remove default buildings | gamemodes/visuals/remove.pwn |
| Add custom models | gamemodes/visuals/models.pwn |
| Add attachment items | gamemodes/attachments/store/ |
| Add a faction | factions table, FACTION_TYPE_*, police/systems/radio.pwn |
| Turn on Discord logging | gamemodes/config/secrets.example.pwn |
| Understand the layout | gamemodes/ARCHITECTURE.md |
Usable, but not polished. Known gaps:
Found a bug or want to help? Open an issue or a pull request.