organizing
This commit is contained in:
36
GTA/FiveM/egg-five-m.json
Normal file
36
GTA/FiveM/egg-five-m.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v1"
|
||||
},
|
||||
"exported_at": "2018-02-12T22:18:35-05:00",
|
||||
"name": "FiveM",
|
||||
"author": "parker@parkervcp.com",
|
||||
"description": "The FiveM multiplayer server on Pterodactyl.",
|
||||
"image": "quay.io\/pterodactyl\/core:glibc",
|
||||
"startup": ".\/cfx-server\/FXServer +exec server.cfg +set sv_licenseKey {{FIVEM_LICENSE}} +set citizen_dir \/home\/container\/cfx-server\/citizen",
|
||||
"config": {
|
||||
"files": "{\r\n \"server_data\/server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"endpoint_add_tcp\": \"endpoint_add_tcp \\\"0.0.0.0:{{server.build.default.port}}\\\"\",\r\n \"endpoint_add_udp\": \"endpoint_add_udp \\\"0.0.0.0:{{server.build.default.port}}\\\"\",\r\n \"sv_licenseKey\": \"sv_licenseKey {{FIVEM_LICENSE}}\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \"Server license key authentication succeeded. Welcome!\"\r\n}",
|
||||
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}",
|
||||
"stop": "^C"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/ash\r\n# FiveM Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\n## Only download if a path is provided, otherwise continue.\r\napk add openssl tar xz curl git --no-cache\r\n\r\ngit clone https:\/\/github.com\/citizenfx\/cfx-server-data.git \/mnt\/server\/\r\n\r\ncd \/mnt\/server\r\n\r\nwget https:\/\/runtime.fivem.net\/artifacts\/fivem\/build_proot_linux\/master\/446-8a058b67e5f11677c380a330f677e768e2b2a705\/fx.tar.xz\r\n\r\ntar xf fx.tar.xz alpine\/opt\/\r\n\r\nmv alpine\/opt\/cfx-server\/ .\/\r\n\r\nchmod +x .\/cfx-server\/FXServer\r\n\r\nrm -rf fx.tar.xz alpine\/\r\n\r\ncurl https:\/\/hastebin.com\/raw\/lawubemuhe >> server.cfg",
|
||||
"container": "alpine:3.7",
|
||||
"entrypoint": "ash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "fivem license",
|
||||
"description": "required to start the service.",
|
||||
"env_variable": "FIVEM_LICENSE",
|
||||
"default_value": "",
|
||||
"user_viewable": 1,
|
||||
"user_editable": 1,
|
||||
"rules": "required|string|max:32"
|
||||
}
|
||||
]
|
||||
}
|
||||
48
GTA/FiveM/server.cfg
Normal file
48
GTA/FiveM/server.cfg
Normal file
@@ -0,0 +1,48 @@
|
||||
# you probably don't want to change these!
|
||||
# only change them if you're using a server with multiple network interfaces
|
||||
endpoint_add_tcp "0.0.0.0:30120"
|
||||
endpoint_add_udp "0.0.0.0:30120"
|
||||
|
||||
start mapmanager
|
||||
start chat
|
||||
start spawnmanager
|
||||
start sessionmanager
|
||||
start fivem
|
||||
start hardcap
|
||||
start rconlog
|
||||
start scoreboard
|
||||
start playernames
|
||||
|
||||
sv_scriptHookAllowed 1
|
||||
|
||||
# change this
|
||||
#rcon_password yay
|
||||
|
||||
sv_hostname "My new FXServer!"
|
||||
|
||||
# nested configs!
|
||||
#exec server_internal.cfg
|
||||
|
||||
# loading a server icon (96x96 PNG file)
|
||||
#load_server_icon myLogo.png
|
||||
|
||||
# convars for use from script
|
||||
set temp_convar "hey world!"
|
||||
|
||||
# disable announcing? clear out the master by uncommenting this
|
||||
#sv_master1 ""
|
||||
|
||||
# want to only allow players authenticated with a third-party provider like Steam?
|
||||
#sv_authMaxVariance 1
|
||||
#sv_authMinTrust 5
|
||||
|
||||
# add system admins
|
||||
add_ace group.admin command allow # allow all commands
|
||||
add_ace group.admin command.quit deny # but don't allow quit
|
||||
add_principal identifier.steam:110000112345678 group.admin # add the admin to the group
|
||||
|
||||
# remove the # to hide player endpoints in external log output
|
||||
#sv_endpointprivacy true
|
||||
|
||||
# server slots limit (must be between 1 and 31)
|
||||
sv_maxclients 30
|
||||
Reference in New Issue
Block a user