Documentation Index
Fetch the complete documentation index at: https://v5.rpgjs.dev/llms.txt
Use this file to discover all available pages before exploring further.
Create database
The database is where you register reusable game data such as items, skills, classes, states, or custom objects.Register data in provideServerModules
Add data dynamically on a map
You can also register data at runtime:What belongs in the database
- items
- skills
- states
- classes
- custom server-side objects used by your game
Recommended flow
- Put shared game data in
database - Keep map-specific or temporary content dynamic with
map.addInDatabase() - Use string IDs from gameplay code when possible