Development resources for DerpRP
Connect Via GMod Console: connect 131.153.31.254:27035
Dev Server: connect 131.153.29.245:27025
Discord | Alternate Discord
Forums
Workshop Content
Reddit
Current Load Menu
- Preserve default config vaules (when possible) by commenting them out
and creating a new/edited line directly below the changed code. - Comment!
- Write your code as simple as possible. It should be easy to understand if never seen before.
- Code should be written as if it is case sensitive.
- Commit / Push your code every time you begin working on a new or unrelated topic from your previous edits. (Assuming code is stable)
- Preserve file paths and structures.
- Prioritize relative locations over hard-coding.
- Preface Arrays with "arr_", Functions with "fun_" (or similar; but consistent).
- Variables are common enough it shouldn't matter.
GMod Official Lua Documentation
DarkRP Dev Wiki
Install Lua / Basic
Basic Lua Tutorials
Lua Schema Checker
CSite LUA Entity Creator
Garry Newman's Github
List of Valid DarkRP Vars
Roles (not jobs) by rank. Case sensitive:
- "owner"
- "coowner"
- "superadmin"
- "admin"
- "moderator"
- "mod"
- "vip"
- "donator"
- "respected"
- "None"
- "pistol"
- "357"
- "smg1"
- "ar2"
- "buckshot"
- "crossbow"
- "grenade"
- "rpg_round"
- INFINITE: "crate"
- GRENADE LAUNCHER: "SMG1_Grenade"
FORMAT: ulx adduser [name] superadmin
ulx adduser DrDerpenstein owner
ulx adduser STEAM_0:0:13562763 owner
ulx adduser Derp owner
LOCATION | USE |
---|---|
garrysmod/lua/autorun/server/collection.lua | Used by leyworkshopdls to do multi-stage loading and mounting |
garrysmod/lua/autorun/server/workshop.lua | Add GMod workshop content to req'd downloads |
RP NAME | STEAM | NOTES |
---|---|---|
Bastixx | STEAM_0:1:91231746 | Possible Moderator and event host (game master) |
Add your github and/or steam names to this README.md if you contributed to the DerpRP repos:
GITHUB | STEAM | STEAM ID |
---|---|---|
colonelwager | Derp | STEAM_0:0:52504530 |
MorningCoffeeZombie | DrDerpenstein | STEAM_0:0:13562763 |