Configure FiveM server.
Git can be installed with the git cookbook or from package.
The following platforms and versions are tested and supported using Opscode's test-kitchen.
Debian 10
General FiveM server setup
Key | Type | Description |
---|---|---|
[fivem][prefix] |
String | Prefix install directory (default: /opt ) |
[fivem][version] |
String | FiveM version/build to install (default: 2431-[...] ) |
[fivem][endpoints] |
Hash | Server endpoints |
[fivem][resources] |
Array | Resources to start |
[fivem][config] |
Hash | Server configuration |
Key | Type | Description |
---|---|---|
[fivem][server_data][repository] |
String | Server data repository (default: https://github.com/citizenfx/cfx-server-data ) |
[fivem][server_data][reference] |
String | Server data reference (default: master ) |
Mariadb server & client configuration
Key | Type | Description |
---|---|---|
[fivem][mariadb][version] |
String | MariaDB version (default: 10.3 ) |
[fivem][mariadb][server][host] |
String | MariaDB server bind address (default: 127.0.0.1 ) |
[fivem][mariadb][server][port] |
String | MariaDB server bind port (default: 3306 ) |
[fivem][mariadb][server][password] |
String | MariaDB server root password (default: mypass ) |
Key | Type | Description |
---|---|---|
[fivem][mysql_async][repository] |
String | mysql_async repository (default: https://github.com/brouznouf/fivem-mysql-async ) |
[fivem][mysql_async][reference] |
String | mysql_async reference (default: v2.1.1 ) |
Key | Type | Description |
---|---|---|
[fivem][vrp][repository] |
String | vRP repository (default: https://github.com/ImagicTheCat/vRP ) |
[fivem][vrp][reference] |
String | vRP reference (default: master ) |
Key | Type | Description |
---|---|---|
[fivem][vrp_bm][repository] |
String | vRP repository (default: https://github.com/ImagicTheCat/vRP-basic-mission ) |
[fivem][vrp_bm][reference] |
String | vRP reference (default: master ) |
Include fivem
in your node's run_list
to setup a FiveM server:
{
"name":"my_node",
"run_list": [
"recipe[fivem]"
]
}
Include fivem::mariadb_server
in your node's run_list
to install a MariaDB server:
{
"name":"my_node",
"run_list": [
"recipe[fivem::mariadb_server]"
]
}
Include fivem::mysql_async
in your node's run_list
to install mysql_async resource:
{
"name":"my_node",
"run_list": [
"recipe[fivem::mysql_async]"
]
}
Include fivem::es
in your node's run_list
to install essentialmode resources:
{
"name":"my_node",
"run_list": [
"recipe[fivem::es]"
]
}
Include fivem::vrp
in your node's run_list
to install vRP resources:
{
"name":"my_node",
"run_list": [
"recipe[fivem::vrp]"
]
}
Include fivem::vrp_basic_mission
in your node's run_list
to install vRP basic_mission resource:
{
"name":"my_node",
"run_list": [
"recipe[fivem::vrp_basic_mission]"
]
}
See TESTING.md
See CONTRIBUTING.md
Authors: Sliim [email protected]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.