Categories
FiveM™

How to Install ESX

What’s ESX?

ESX(also known as es_extended) is an RPG Framework for FiveM servers, a must-have for roleplay servers and one of the most popular scripts in the community, most of the FiveM servers use ESX for their grand quantity of functions and possibilities like jobs and economy which contributes to bringing life to the city!

Furthermore, you’re not limited only to the options offered by this mod, you can also use it along with other popular mods like FivePD or vMenu to further improve your experience!

How to Install ESX

  • In your game panel, click on your server and stop it
  • On the left side of your panel hover your cursor on Management and click on Mod Manager
  • Choose which version you want: ESXv1 or ESXv2 (Recommended) and click on install, as a result, the ESX version of your choice will now be pre-installed on your server
    • If you haven’t installed Async / Mysql-Async yet also install it, either one works and will be needed

Uploading the ESX files to the database

  • Go to the game panel of your server
  • Click on Management>File Management and download the .sql archive found there (either ESXv1 SQL.sql or ESX v2 SQL.sql)
  • Go to Management>Databases
  • Using the credentials found here, click on phpMyAdmin and access
  • Click on your database (found on the left side) and press Import (found on the top bar)
  • Look into your files for the file you’ve recently downloaded, when selected press go, the file will start uploading to your server
    • You could also just drag and drop it and wait for it to complete

You haven’t created a database yet? check how to set up your database

Connecting the Database

  • Go to the game panel of your server
  • Click on Management, go to File Management and then click on your server.cfg
  • There you’ll find a line called mysql_connection_string
  • Change the specified (red) spaces with the corresponding database detail
"server=MYSQL Host;uid=USERNAME;password=PASSWORD;database=DATABASE NAME"
  • Press the Save File button

All Done! Your server with ESX should now be completely set up. As you can see our mod manager makes it pretty easy to go! Enjoy playing!

Facing any Issue?

Make sure the file was uploaded correctly or that you’re using the correct ESX version. Your scripts might not be completely compatible with the ESX version you’re using. Please double-check the information you have entered into the server.cfg. If you mistyped or misformatted the details, it will not work correctly. If you are still having issues after this, feel free to contact Iceline Hosting’s support for further assistance.

Learn more about our FiveM server hosting service at Iceline Hosting.

Categories
FiveM™

How To Adapt Your Scripts For OneSync

What is OneSync in FiveM?

OneSync is a workaround created by FiveM to provide the ability to play with more than 32 players in one session of your FiveM server hosting. GTA V / Rockstar has only 32 players in one session by default and does not support more than that.

To use OneSync, you need a Patreon subscription from CitizenFX.

How to Adapt Your Script?

If you want to start using OneSync on your FiveM server hosting and you notice that some of your scripts no longer work, this is because your scripts are not optimized for the use of OneSync. The reason for this is that these scripts were made before OneSync was released or because the creator of the script has chosen to work with a maximum of 32 players.

In order to optimize your scripts, you have to adjust player loops.
Below is a piece of code from es_extended v1.1.0 as an example. This is currently still used for ESX V1. Almost everything has already been optimized for ESX V2.

A player loop on your FiveM server hosting works as follows:

function GetPlayers()
local players = {}
for i = 0, 31 do
if NetworkIsPlayerActive(i) then
players[#players + 1] = i
end
end
return players
end

In this example, you will need to change:
for i = 0, 31 do to for i = 0, 256 do

You can search and find player loops most of the time in a client file.

You should also always check the config files. In this case, for es_extended v1.1.0 you see a Config.MaxPlayers of 32. You can also change this to 256. That won’t matter if you have set fewer players.

Open es_extended/config.lua and change on line 13: Config.MaxPlayers = GetConvarInt('sv_maxclients', 32) to Config.MaxPlayers = GetConvarInt('sv_maxclients', 256)

Facing Any Issues?

If you have followed all of the steps in this guide correctly, your script should work for your FiveM server hosting from Iceline Hosting. If the script is not working and you have OneSync enabled, make sure your server has the right FiveM Element Club modification. If you are still having issues after this, feel free to contact Iceline Hosting’s support for further assistance.

Want to start your own FiveM server? Check out our FiveM server hosting services at Iceline Hosting.

Categories
FiveM™

How to Set Yourself as a Superadmin in Your Server

What Is a Superadmin in FiveM?

FiveM has implemented a number of open- and admin commands in the server by default.

With superadmin, you can execute in-game commands such as /noclip. These commands cannot be used by normal players, but are for FiveM server owners to moderate with better efficiency. Also, /ban and /kick are examples of superadmin commands. Most superadmin commands can also be found in menus such as vMenu or Lambda. But these menus often use a lot of memory in-game, which can cause busy and large servers to lag. Superadmin is a good solution for this.

How to Set Yourself as a Superadmin in Your FiveM Server?

  1. Join your server via FiveM.
  2. When fully loaded, press the arrow up until the player’s dialog appears. (Otherwise try F10 or F11)
  3. In the player’s dialog find your user ID
  4. Remember your user ID and don’t exit or disconnect your game session
  5. Open your Iceline Game Console
  6. Type in: setgroup USERID superadmin. You need to replace USERID with your ID you found in section 3
  7. Press ENTER. The command will now run and set your user to superadmin
  8. Open the game and type an admin command to test. If it doesn’t work then please restart the game and run the in-game command again

Attention: In the newer version of ESX, es_extended and essentialmode have made updates. It is possible that you cannot give yourself a superadmin because of this. We recommend that you downgrade your es_extended to a version before April 1, 2020.

 

Learn more about hosting your own FiveM server through Iceline Hosting.

Categories
FiveM™

How to Add EUP to Your Server

What is EUP?

EUP is an all-in-one clothing stream pack, that contains a lot of Emergency uniforms. It also comes with a menu, so you can choose out of the big variety of pre-made uniforms. The clothes that are inside of the EUP pack is a high-quality pack. and it can improve the roleplay in your server.

How to Install EUP on Your FiveM Server

  1. Make sure your server has (at least) the “FiveM Element Club Argentum 💿”. 
  2. Download the EUP resource from this link (https://forum.cfx.re/t/release-eup-for-fivem-server-sided/139848).
  3. Download the NativeUI resource from this link (only required if you want the menu).
    (https://forum.cfx.re/t/release-dev-nativeuilua/98318)
  4. Drag the “NativeUI”, “eup-stream” and “eup-ui” folders into your servers resources folder via an FTP browser.
  5. In your server.cfg start the resources in this order:

start NativeUI

start eup-stream

start eup-ui

  • Save the server.cfg file and then clear your server’s cache by deleting the cache folder, then restart your FiveM server.

How to Apply the Fivem Element Club Modifications.

  1. Go to the FiveM Patreon page(https://www.patreon.com/join/fivem).
  2. Purchase the wanted pack (needs to be “FiveM Element Club Argentum 💿” one at least* to have EUP work on your server).
    Make sure you have bought it with the same email as your FiveM account.
  3. Go to FiveM’s keymaster page(https://keymaster.fivem.net/) and create a new key for your server. Then copy it.
  4. In your startup parameters go to the server license key box, and then paste the key you copied.
  5. Restart your FiveM server.

Facing Any Issues?

If you have followed all of the steps in this guide correctly, EUP should work on your FiveM server. If EUP is not working, make sure your server does have the right FiveM Element Club modification. If you are still having issues after this, feel free to contact Iceline Hosting’s support for further assistance.

 

Want to start your own FiveM server? Check out our FiveM server hosting services at Iceline Hosting.

Categories
FiveM™

How to Fix the “Failed to Getinfo” Error

What Is the “Failed to Getinfo” Error?

When hosting your own FiveM server, you may run into an error that states “Failed to getinfo after 3 attempts”. No need to worry, this is a very common error for FiveM servers that happens to many clients.          

How Do You Fix the “Failed to Getinfo” Error?

  1. Right-click on the FiveM shortcut on your desktop or on your taskbar, click “Properties”  
  2. Next, You will see an option for “Open file location” click on that and it will open the file explorer
  3. Once in the file explorer, you should see your FiveM local files (FiveM App. Data, and the shortcuts for FiveM)  
  4. Double click on the “FiveM Application Data” folder and you should see another folder called “cache”. Once this is located, you can go ahead and delete the cache folder. **Don’t worry this won’t break your FiveM! This makes sure that your local FiveM cache has been cleared and the folder will automatically be recreated when you re-launch your FiveM server
  5. Done! You should now be able to open FiveM and connect to your server without getting the “Failed to getinfo” error. 

Facing Any Issues?

Make sure that you have followed the tutorial step by step. If you’re still having issues, you can submit a ticket to Iceline Hosting’s support team.

 

Ready to start your own FiveM server hosting services? Learn more at Iceline Hosting.

Categories
FiveM™

How to Update Your Artifact Files

What Are FiveM Server Artifacts?

FiveM server artifacts are the “version” of your FiveM server. Every FiveM artifact update includes a fix for a certain issue or just a general update. It’s very important to update your server artifacts every once in a while because they could contain fixes for server issues and more.

How to Update Your FiveM Server Artifacts (Game Panel)

Please ensure you make a backup of your files before continuing with the following steps just in case any data loss occurs!

  1. Head over to your game panel and into your server page.
  2. Stop your server.
  3. Go into file management and delete the alpine folder.
  4. Stay on the same page and click on the reinstall button.
  5. Start your server.

How to Update Your FiveM Server Artifacts (VPS)

  1. Navigate to your FiveM server
  2. Delete the “citizen” folder
  3. Download the artifacts from here
  4. Extract the ZIP to your FiveM server and replace any files
  5. Restart your FiveM server

Facing Any Issues?

If you have followed all of the steps in this guide correctly, your server artifacts should be updated. If they aren’t, make sure you have dragged and replaced all of the files to the right place. If you are still having issues after this, feel free to contact Iceline Hosting’s support for further assistance.

 

Want fast, reliable, and affordable FiveM server hosting services? Check out our FiveM server hosting services at Iceline Hosting.

Categories
FiveM™

How to Add Y-Maps to Your Server

What is a Y-Map/MLO?

A Y-Map/MLO is a GTA interior that is created in a program called CodeWalker this allows you to make Interiors/edit. An interior is a unique thing, that makes your FiveM server look different from others!

How to Manually Install a Y-Map (Game Panel)

  1. Download a YMAP/MLO you would like from here.
  2. To the left of the game panel, click on File Management Create Directory and name it addon-maps.
  3. Connect to the SFTP using FileZilla, drag the YMAP-MLO into your addon-maps folder.
  4. Head back to the game panel, click on the server.cfg and add a line called [YMAP-MLO NAME].

How to Manually Install a Y-Map (VPS)

  1. Download a YMAP/MLO you would like from here.
  2. Go into your FiveM server and make a folder in resources called addon-maps.
  3. Drag the YMAP-MLO into the addon-maps folder.
  4. Head back to your VPS click on your FiveM server, click on the server.cfg and add a line called [YMAP-MLO NAME].

Facing Any Issues?

If an issue occurs, check the console for the error message, if you are still unsure of how to fix the occurring errors, feel free to contact our support team on our website.

 

Get reliable and powerful FiveM server hosting at Iceline Hosting today!

Categories
FiveM™

How to Setup FivePD

How to Install FivePD

  1. Download the latest version of the FivePD resource.
  2. Upload the folder into your server using an SFTP browser.
  3. Run the query of the SQL file provided in the server’s database.
  4. In the config.json that is in the resource, change the default connection details to your server’s database connection details.
  5. Go to your server.cfg and add “start FivePD”
  6. Restart your FiveM server hosting.

How to Run an SQL Query (HeidiSQL)

  1. Connect to your database via HeidiSQL.
  2. Click on the “File” category and then on “Run SQL file”.
  3. Select the “fivepd.sql” file from the FivePD resource.
  4. Run the file and disconnect.

How to run an SQL query (PhpMyAdmin)

  1. Connect to your database via the PhpMyAdmin button in the “databases” category.
  2. Click on the “Import” button and then on “Choose File”.
  3. Select the “fivepd.sql” file from the FivePD resource.
  4. Click on Go and disconnect.

Facing Any Issues?

If you have followed all of the steps in this guide correctly, FivePD should be successfully installed on your FiveM server hosting server from Iceline Hosting. If you are still having issues, make you have inserted the database details correctly. If you are still having issues after this, feel free to contact Iceline Hosting’s support for further assistance.

Categories
FiveM™

How to Install Resources Into Your FiveM Server

 

What is a Resource?

A Resource is also known as a script and is an add-on modification for servers in the FiveM Community. Some of the more popular scripts include things such as ESX and vRP,
These scripts enhance FiveM server hosting servers at Iceline Hosting to give the server other features such as money and food systems.

**Disclaimer** This video was recorded on an old version of the Game Panel, looks may vary to the updated panel. However, The steps required are the same and should still be followed.

How to Manually Install Resources

  1. Download the script that you would like to use.
  2. Once you have downloaded the script make sure there is a __resource.lua in the folder.
  3. Login to the Iceline Game Panel then go to “My Servers”.
  4. Upload the contents of the script you downloaded into the folder named “resources” located in the section “File Management”.
  5. Go into your server.cfg and type in the resource file name. (This is the folder name and is Cap Sensitive). For example: start vMenu.

Facing Any Issues?

If you are still having issues, make sure you have uploaded the script into the correct directory and the resource is started correctly in the server.cfg. If you are still having issues, feel free to contact our support team for help installing resources on your FiveM server hosting server.

Interested in Iceline Hosting’s FiveM server hosting services? Learn more here.

Categories
FiveM™

How to configure vMenu Permissions

vMenu Permissions

In this tutorial, you will learn how to configure and run your vMenu on a FiveM Server. There will be multiple examples of what you must do so it can work correctly. If this tutorial is followed correctly, you will have no issues with running this resource on your FiveM server hosting server from Iceline Hosting.

Please remember to not set any permissions to deny inside the permissions.cfg

Installing vMenu

  • When downloaded, you can choose to upload it to your Iceline FiveM server hosting server or you can choose to extract it on the desktop of your computer so we can start the configuration process.
  • When you have extracted the file, go to the location of your vMenu folder, head into the folder and find a folder called /config/, you will then see a permissions.cfg inside the folder. This is your permissions file and you are going to be using this to set up the Menus Permissions.

Setting up Permissions

Section A: Creating Groups and adding permissions to them

A1: Creating a group and adding players to it.

To create a group and add a player to it, add the text below somewhere into your Permissions.cfg file. In this example, we’ll use the steam identifier as an example.

add_principal identifier.steam:<steam_id_here> group.<groupName>

For example, if we wanted to add ourselves to the admin group, we would do so like this:

add_principal identifier.steam:11000101234567 group.admin 

A2: Giving group permissions

If we wanted to give group permissions, it’s simple as adding ace permissions. An example is below showing how we can add access to the full Online Players menu. 

add_ace group.admin “vMenu.OnlinePlayers.Menu” allow

add_ace group.admin “vMenu.OnlinePlayers.Menu” allow

A3: Summary of the A Section

With this part of the permissions config done, you should now be able to go in-game and access that menu. This can be used to set other permissions as well such as the vehicle menus, weapon access and so much more.

Here is a example of how your Permissions file should look now:

add_principal identifier.steam:11000101234567 group.admin

add_ace group.admin “vMenu.OnlinePlayers.Menu” allow

add_ace group.admin “vMenu.OnlinePlayers.Menu” allow

Section B: How to Deny Certain Permissions

B1: If you want to deny a permission, you have to put a “#” in front of the text. For example:

#add principal identifier.steam:11000101234567 group.admin

Section C: Starting your resource

C1:  Once you have configured your “permissions.cfg” save the file.

C2: Locate your server.cfg file in the “file manager”, Open the file and type Start vMenu. Then, under that, type exec permissions.cfg and save.

C3: Restart your FiveM server.

Start your FiveM server hosting services at Iceline Hosting today.