4
0

install_fivem_license.sh 1002 B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. # LinuxGSM install_fivem_license.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: https://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Explains how to set the FiveM server license key.
  7. moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  8. echo -e ""
  9. echo -e "${bold}${lightyellow}${gamename} License Key${default}"
  10. fn_messages_separator
  11. echo -e "A license key is required to run a ${gamename} server."
  12. fn_script_log_info "A license key is required to run a ${gamename} server."
  13. echo -e "Get a free license key here:"
  14. echo -e "${italic}https://portal.cfx.re/servers/registration-keys${default}"
  15. fn_script_log_info "Get a free license key here:"
  16. fn_script_log_info "https://portal.cfx.re/servers/registration-keys"
  17. echo -e ""
  18. fn_sleep_time_1
  19. echo -e "Set the license key by adding licensekey=\"\" to ${configdirserver}/${selfname}.cfg."
  20. fn_script_log_info "Set the license key by adding licensekey=\"\" to ${configdirserver}/${selfname}.cfg."
  21. echo -e ""