Last updated: May 6, 2026
A Star Wars RP server is one of the most ambitious Garry's Mod game modes — combining custom jobs, military hierarchy, dedicated maps, and Star Wars weapons and models. This guide walks you through setting up a SWRP server using DerivedRP, a DarkRP fork that makes it easy to rename and brand your own game mode. By the end, you'll have your own playable Star Wars RP server with custom jobs.
Before starting, make sure:
DerivedRP is a modified copy of DarkRP that you can rename to create your own branded game mode. A game mode defines the rules of your server.
derivedrp.zip file and extract it.garrysmod/gamemodes/ — the folder where the server looks for game modes.derivedrp folder into this directory.derivedrp folder to starwarsrp.derivedrp.txt and rename it to starwarsrp.txt.starwarsrp.txt and update its contents:
"starwarsrp"
{
"base" "darkrp"
"title" "StarWarsRP"
"version" "1.0.0"
"menusystem" "1"
"author_name" "Your Server Name"
"icon" ""
"info" ""
"hide" ""
}
Navigate to garrysmod/gamemodes/starwarsrp/gamemode/ and open both cl_init.lua and init.lua. In each file, update the GM.Name line:
GM.Name = "StarWarsRP"
Save both files.
starwarsrp.Your SWRP server needs content to look and feel like Star Wars. Add the following to your Workshop collection:
rp_ (e.g. rp_venator, rp_coruscant)If you haven't set up a Workshop collection yet, see our Workshop Collection guide.
Install DarkRPModification (available on GitHub) and upload it to garrysmod/addons/. Then edit darkrpmodification/lua/darkrp_customthings/jobs.lua to define your regiments. Example clone trooper job:
TEAM_CT = DarkRP.createJob("Clone Trooper", {
color = Color(0, 120, 255),
model = { "models/player/clone_trooper.mdl" },
description = "Serve the Galactic Republic.",
weapons = { "weapon_sw_dc15a" },
command = "ct",
max = 0,
salary = 45,
admin = 0,
vote = false,
category = "Clone Troopers"
})
Add matching categories in categories.lua in the same directory, then restart the server and verify jobs appear in the F4 menu — the in-game menu DarkRP uses to show jobs and settings.