Character Vault
Any Concept / Any System
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools


From Roll20 Wiki

Jump to: navigation, search
API ScriptAuthor: Paul S.
Version: 0.0.3
Last Modified: 2017-03-21
Code: namegen
Dependencies: N/A
Conflicts: N/A

namegen is a simple API script that allows a DM to create random names based on Culture and Gender. There are many cultures to choose from including: African, Asian, Arabic, English, Germanic, Hindi, Medieval, Sanskrit, Thai. Literally thousands of names available.

It also generates Town/City names based on geographic region. Available geographic locations include: African, Arabic, Asian, Dwarf, Elf, Indian.

And lastly, it creates random Tavern/Inn names. There are over 700 Tavern/Inn names.



!namegen language gender
!towngen location

Installation and Configuration

Choose namegen from the in-game API menu.


Copy the script's code, available from the menu on the right and stored at Roll20's API GitHub Repository. Paste the code into a new script in your campaign's API Script Editor. Save the new script and it will be available inside your campaign.

Script Use

Start the script with the "!namegen", "!towngen", or "!taverngen" commands.

For !namegen, you can choose a random name based on Language (African, Asian, Arabic, English, Germanic, Hindi, Medieval, Sanskrit, Thai) and Gender (boy, girl) or Language alone.
For !towngen, you need a Location (African, Arabic, Asian, Dwarf, Elf, Indian)
For !taverngen, there are no variables to pass.


v0.0.3 (2017-03-21)

  • Release