-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.cfg
More file actions
102 lines (86 loc) · 4.01 KB
/
server.cfg
File metadata and controls
102 lines (86 loc) · 4.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#====================================================================#
# SantosMods.dev vMenu Server Template Configuration
#====================================================================#
# Template Version: 1.0
# Purpose: Base configuration for vMenu servers.
#====================================================================#
#--------------------------------------------------------------------#
# Network Configuration
#--------------------------------------------------------------------#
# Only change the IP if using multiple network interfaces.
endpoint_add_tcp "0.0.0.0:1000"
endpoint_add_udp "0.0.0.0:1000"
#--------------------------------------------------------------------#
# Slots and Licensing
#--------------------------------------------------------------------#
sv_maxclients 8 # Slot limit (adjust based on license and hosting)
set steam_webApiKey "none" # Steam Web API Key (optional)
# set sv_licenseKey "" # Your license key (from keymaster.fivem.net)
#--------------------------------------------------------------------#
# Permissions and Access Control
#--------------------------------------------------------------------#
add_ace resource.DiscordAcePerms command.add_principal allow
add_ace resource.DiscordAcePerms command.remove_principal allow
exec @vMenu/config/permissions.cfg
# Enable vMenu access control via ACE permissions
# Grant admin access:
add_ace group.admin command allow
add_ace group.admin command.quit deny
# add_principal identifier.fivem:1 group.admin # Example admin
#--------------------------------------------------------------------#
# Base Resources
#--------------------------------------------------------------------#
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure fivem
ensure hardcap
ensure rconlog
#--------------------------------------------------------------------#
# Custom Resources
#--------------------------------------------------------------------#
ensure [Needs] # Core dependencies
ensure [Discord] # Discord integration scripts
ensure [Vehicles] # Custom vehicle packs
ensure [Scripts] # Core server scripts
ensure [Maps] # Custom YMAPs and map addons
#--------------------------------------------------------------------#
# Server Settings
#--------------------------------------------------------------------#
sv_scriptHookAllowed 0 # Disallow scripthook plugins (e.g., Lambda Menu)
sets tags "default" # Server tags (update as needed)
sets locale "en-US" # Server language
# sv_hostname "[SantosMods.dev] - vMenu Server Template"
sv_hostname "My new FXServer by [SantosMods.dev]"
sets sv_projectName "My FiveM Server [SantosMods.dev]"
sets sv_projectDesc "Default [SantosMods.dev] vMenu Server"
# Load server icon (96x96 PNG file)
# load_server_icon myLogo.png
# Hide player endpoints in logs
sv_endpointprivacy true
# OneSync Configuration
# Note: OneSync must be enabled in txAdmin settings, not here.
# set onesync on
#--------------------------------------------------------------------#
# RCON Configuration
#--------------------------------------------------------------------#
# Uncomment and set an RCON password to enable remote console access.
# rcon_password "YOURPASSWORD"
#--------------------------------------------------------------------#
# Server Listing
#--------------------------------------------------------------------#
# Enable or disable server visibility in server browser:
# sv_master1 "" # Uncomment to hide from server list
#--------------------------------------------------------------------#
# Banner Images (optional)
#--------------------------------------------------------------------#
# sets banner_detail "https://url.to/image.png"
# sets banner_connecting "https://url.to/image.png"
#--------------------------------------------------------------------#
# Miscellaneous
#--------------------------------------------------------------------#
# Define custom convars usable in scripts:
# set temp_convar "hey world!"
# Nested config example:
# exec resources.cfg