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 server.

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 server. 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 Server

 

What is a Resource?

A Resource also known as a script is an add-on modification for servers in the FiveM Community, there are popular scripts such as ESX and vRP,
These scripts enhance servers 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.

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.

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, 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 setup 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 for an example.

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

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

add_principal identifier.steam:11000101234567 group.admin 

A2: Giving group permissions

If we wanted to give permissions, it’s simple as adding ace permissions, an example is going to be below showing how we can add access for 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 then save.

C3: Restart your server.

Categories
FiveM

How to Add an Addon Vehicle Onto Your Server

What Is an Addon Vehicle?

An addon vehicle is a vehicle that when is added to your FiveM server, it doesn’t take one of the regular GTA 5 car slots, but adds an additional slot only for itself. Addon vehicles are recommended because they are not spawned in the game by default, which can help reduce the server lag unlike changing default GTA 5 vehicles. You can set a custom name for your addon vehicle and edit it’s handling.

How to Add an Addon Vehicle Onto Your Server

  1. Download the addon vehicle from the internet For example: GTA5 Mods has a variety of vehicles
  2. Make a new folder in your PC and make another folder called stream inside of it.
  3. Get OpenIV downloaded on your PC and start it
  4. Enable edit mode on your OpenIV and drag the dlc.rpf file into OpenIV
  5. Open the dlc.rpf file in OpenIV, go into the “x64” folder until you find the files that end in .yft and .ytd
  6. Grab all of the files and drop them inside of the stream file you have created. Be aware that car extras would be in a different folder called “vehiclemods”
  7. Go back to the dlc.rpf file and go into the “common” folder until you find the files that end in .meta
  8. In the main folder, create a new file called “__resource.lua” and inside of it type the following (then save the file).

resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
files {'vehicles.meta', 'carvariations.meta', 'carcols.meta', 'handling.meta', 'vehiclelayouts.meta',}
data_file 'HANDLING_FILE' 'handling.meta'
data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta'
data_file 'CARCOLS_FILE' 'carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta'
data_file 'VEHICLE_LAYOUTS_FILE' 'vehiclelayouts.meta'

  1. Upload the main folder into your server’s resources folder using an SFTP such as FileZilla.
  2. Go into your server.cfg and type “start ” and then your main folder name. For example: “start car1”
  3. Restart your server and you are done.
  4. You can find the cars name in-game by looking at the name of the file ending with .yft(not the “name”_hi one)
  5. Here is an example of how should the file look like at the end: download

Facing Any Issues?

If you have followed all of the steps in this guide correctly, your addon car should be available in-game. If it isn’t, make sure you have dragged all of the files to the right place, copied the “__resource.lua” text correctly and started the resource with the exact name of the file. If you are still having issues after this, feel free to contact Iceline Hosting’s support for further assistance.

 

Categories
FiveM

How to Change Slots on Your Server

What Are Slots?

Slots are the amount of players that can join your server at one time. If you set your player slots at 32, 32 players will be able to join your server.

How to Change Slots on Your Server (Game Panel)

  1. Login to your control panel
  2. Go to “Configuration”
  3. Go to “Startup Parameters”
  4. Change the slots at “Max Players”
  5. Save and restart your server.

How to Change Slots on Your Server (VPS)

  1. Locate your server.cfg
  2. Find the “sv_maxclients” line
  3. Enter the number of slots you want i.e. sv_maxclients 40
  4. Save the server.cfg
  5. Restart your server

Facing Any Issues?

If you are still having issues, please double-check you are changing the player slots under startup parameters and not in the server.cfg if on the game panel. If you are still having issues after this, feel free to contact Iceline Hosting’s support for further assistance.