Skip to content

Commit

Permalink
Add mapping directories
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwurtz committed Dec 31, 2021
1 parent cfa2b7e commit 045483e
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 25 deletions.
19 changes: 19 additions & 0 deletions modules-prod.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Modules in production

# Default
start mapmanager
start chat
start spawnmanager
start sessionmanager
start basic-gamemode
start hardcap
start rconlog

# 1. Mysql
start oxmysql

# Qbcore
start qb-core

# Mapping
start mapping-prod
5 changes: 5 additions & 0 deletions modules-test.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Test specific config, only load on dev env
exec modules-prod.cfg

# Mapping
start mapping-test
6 changes: 6 additions & 0 deletions modules.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Dev specific config, only load on dev env
# Exec test and prod modules (test load prod)
exec modules-test.cfg

# Mapping dev
start mapping-dev
3 changes: 3 additions & 0 deletions resources/[mapping]/mapping-dev/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fx_version 'cerulean'
game 'gta5'
this_is_a_map 'yes'
3 changes: 3 additions & 0 deletions resources/[mapping]/mapping-prod/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fx_version 'cerulean'
game 'gta5'
this_is_a_map 'yes'
3 changes: 3 additions & 0 deletions resources/[mapping]/mapping-test/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fx_version 'cerulean'
game 'gta5'
this_is_a_map 'yes'
27 changes: 2 additions & 25 deletions server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ endpoint_add_udp "0.0.0.0:30120"
exec local.cfg
exec env.cfg

# Resources used by the server
start mapmanager
start chat
start spawnmanager
start sessionmanager
start basic-gamemode
start hardcap
start rconlog

# Voice config
setr voice_useNativeAudio true
setr voice_useSendingRangeOnly true
Expand All @@ -24,22 +15,8 @@ setr voice_defaultVolume 0.3
setr voice_enableRadioAnim 1
setr voice_syncData 1

# 1. Mysql
start oxmysql

# 2. Migration

# Qbcore
start qb-core

# Extra stuff
#start [standalone]
#start [qb]
#start [voice]
#start [mapping]
#start [notyetused]
#start [notused]

# Load modules
exec modules.cfg

# Disallow players to use scripthook-based plugins such as the legacy Lambda Menu..
sv_scriptHookAllowed 0
Expand Down

0 comments on commit 045483e

Please sign in to comment.