Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.74 KB | None | 0 0
  1. {
  2. "type": "FiveM",
  3. "display": "FiveM [WIP]",
  4. "install": [{
  5. "type": "mkdir",
  6. "target": "FXServer"
  7. },
  8. {
  9. "type": "mkdir",
  10. "target": "FXServer/server-data"
  11. },
  12. {
  13. "type": "command",
  14. "commands": [
  15. "wget https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/2111-f04e2a5df156e7c53e9f2d0d889896cf74be76dc/fx.tar.xz",
  16. "bash /FXServer/server/run.sh +exec server.cfg",
  17. "tar xf fx.tar.xz",
  18. "git clone https://github.com/citizenfx/cfx-server-data.git /FXServer/server-data",
  19. "bash /FXServer/server/run.sh +exec server.cfg"
  20. ]
  21. }
  22. ],
  23. "text": "# you probably don't want to change these!\n # only change them if you're using a server with multiple network interfaces\n endpoint_add_tcp \"${ip}:${port}\"\n endpoint_add_udp \"${ip}:${port}\"\n sets tags \"${tags}\"\n # Load Resources\n exec server.cfg\n sv_scriptHookAllowed ${allowscripts}\n # change this\n #rcon_password ChangeMe\n sv_hostname \"${servername}\"\n # loading a server icon (96x96 PNG file)\n load_server_icon ${servericon}\n # disable announcing? clear out the master by uncommenting this\n #sv_master1 \"\"\n # want to only allow players authenticated with a third-party provider like Steam?\n #sv_authMaxVariance 1\n #sv_authMinTrust 5\n # add system admins add_ace group.admin command allow\n # allow all commands add_ace group.admin command.quit deny\n # but don't allow quit\n add_principal identifier.steam:110000105204c22 group.admin # xrayhunter\n # hide player endpoints in external log output\n sv_endpointprivacy ${hideendpointipaddress} # server slots limit (default to 30) sv_maxclients ${maxclients} # Get a key from https://keymaster.fivem.net sv_licensekey ${licensekey}",
  24. "target": "core/server.cfg",
  25. "run": {
  26. "stop": "exit",
  27. "pre": [],
  28. "post": [],
  29. "arguments": [
  30. "+exec server.cfg"
  31. ],
  32. "program": "sh core/run.sh"
  33. },
  34. "environment": {
  35. "type": "tty"
  36. },
  37.  
  38. "supportedEnvironments": [
  39. "type": "tty"
  40. }
  41. ]
  42. "data": {
  43. "ip": {
  44. "value": "0.0.0.0",
  45. "required": true,
  46. "desc": "What IP to bind the server to",
  47. "display": "IP",
  48. "internal": false
  49. },
  50. "port": {
  51. "value": "30120",
  52. "required": true,
  53. "desc": "What port to bind the server to",
  54. "display": "Port",
  55. "internal": false
  56. },
  57. "licensekey": {
  58. "value": "",
  59. "required": true,
  60. "desc": "You need a license key for your server (<a href=\"https://keymaster.fivem.net\">https://keymaster.fivem.net</a>)",
  61. "display": "License Key",
  62. "internal": false
  63. },
  64. "maxclients": {
  65. "value": "32",
  66. "required": false,
  67. "desc": "How many clients you would like to limit in your server? (32 max)",
  68. "display": "Max Players",
  69. "internal": false
  70. },
  71. "allowscripts": {
  72. "value": "1",
  73. "required": false,
  74. "desc": "Should Clients be able to run custom Client-Sides Scripts?",
  75. "display": "Allow Client-Side Scripts",
  76. "internal": false
  77. },
  78. "tags": {
  79. "value": "New",
  80. "required": false,
  81. "desc": "What tags would you like to categorize your server.",
  82. "display": "Server tags",
  83. "internal": false
  84. },
  85. "servername": {
  86. "value": "New PufferdPanel FiveM-Server",
  87. "required": false,
  88. "desc": "What would you like to display to the server list",
  89. "display": "Server Host Name",
  90. "internal": false
  91. },
  92. "hideendpointipaddress": {
  93. "value": "true",
  94. "required": false,
  95. "desc": "This should keep the player's IP Addresses a bit more secure/hidden.",
  96. "display": "Hide Endpoint IP Addresses",
  97. "internal": false
  98. },
  99. "servericon": {
  100. "value": "",
  101. "required": false,
  102. "desc": "Where would you like to upload your icon to the server listing. (Locally prefered)",
  103. "display": "Server Icon",
  104. "internal": false
  105. }
  106. }
  107. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement