Skip to main content

Disable inventory (F2)

Connect to FTP

Before we can deactivate the inventory, the FTP access must be set up.

After this has been set up, you can now connect and open the server folder:

image

Makig the Changes

Now we open the server-data/resources/[esx] path, here we find an es_extended folder:

image

In this folder we now open the config.lua file.

After we have opened this file in a text editor, we look for the following code:

Config.EnableDefaultInventory   = true -- Display the default Inventory ( F2 )

Here we replace this with:

Config.EnableDefaultInventory   = false

Now we can save the file and restart the server, after we have joined the server, the inventory can no longer be opened.