01
Where to type commands
Three places accept commands, each with its own rules:
- The server console: the FXServer terminal or your host's console. Commands are typed without a slash (
ensure vorp_stables), with every right.
- The in-game chat: commands start with
/ (/tpm). The player needs the permission.
- The F8 console in game: the same commands as the chat, without the slash.
VORP Core commands are meant for the game only: typed in the server console, they answer you must be in game to use this command. You therefore have to be connected, with the rights, to give an item or heal a player.
txAdmin, the web admin tool shipped with the artifacts, can manage a RedM server you install yourself. This guide does without it: it covers what works on any RedM server, including our plans, which do not use txAdmin. Setting up the server is described in creating a RedM server.
02
FXServer console commands
These commands are documented by Cfx.re for FiveM and RedM, which share the same server.
Resources.
refresh
ensure nom_ressource
restart nom_ressource
stop nom_ressource
start nom_ressource
refresh rescans the resources folder: run it after adding a resource;
ensure restarts a running resource, or starts it if it was stopped;
restart, stop and start restart, stop and start a resource, or a category in square brackets such as [VORP].
A standalone module can be restarted live without trouble. For vorp_core, vorp_inventory or oxmysql, which the other modules depend on, restart the whole server instead. Adding a script is covered in installing a RedM script.
Players.
status
clientkick 12 Merci de relire le règlement
status lists players with their identifier, server ID, name, address and ping; clientkick kicks a player by server ID, with a reason. Both come from the rconlog resource, which ships with the default Cfx.re resources and supports RedM. VORP's official server.cfg does not start it: add ensure rconlog if the console does not recognise these commands.
Server.
exec resources/[VORP]/vorp_admin/vorp_perms.cfg
quit Maintenance en cours
exec runs the commands in a file (this is how VORP's server.cfg loads its permissions). quit stops the server and shows the reason to players.
03
ACE permissions: add_ace and add_principal
Rights go through the Cfx.re ACE system. add_ace allows or denies a right to a group; add_principal puts a player in a group. VORP's official server.cfg contains:
add_ace group.admin command allow
add_ace group.admin command.quit deny
The group.admin group can run every command except quit. To put a player in it, VORP identifies everyone by their Steam identifier; the line goes in vorp_admin/vorp_perms.cfg, which server.cfg loads with exec:
add_principal identifier.steam:110000xxxxxxxxx group.admin
To remove or check a right:
remove_principal identifier.steam:110000xxxxxxxxx group.admin
test_ace identifier.steam:110000xxxxxxxxx command
A line typed in the console only lasts until the restart: write it in the file to keep it. Each VORP Core command also has its own permission, listed in vorp_perms.cfg (vorpcore.tpm.Command, vorpcore.additems.Command, vorpcore.ban.Command…). Give the vorpcore.showAllCommands permission to the whole team: without it, commands do not show up in the chat suggestions. The full file is explained in the RedM server.cfg.
04
VORP Core: becoming admin and commands
VORP Core accepts a command if the player has the matching ACE permission or if their group, stored in the database, is admin. The VORP documentation therefore asks, on top of the add_principal line, to set the group column of the users and characters tables to admin, after your first login:
UPDATE users SET `group` = 'admin' WHERE identifier = 'steam:110000xxxxxxxxx';
UPDATE characters SET `group` = 'admin' WHERE identifier = 'steam:110000xxxxxxxxx';
Then restart the server. The following commands come from the command configuration file of vorp_core. ID is the player's server ID, and the number of arguments must be exact, otherwise VORP points you to the command's help.
/addGroup ID admin: changes a player's group, /addGroupChar ID admin their character's group;
/addJob ID métier grade libellé: the job must be registered, by its script or in config/jobs.lua of vorp_core;
/addItems ID objet quantité and /addWeapon ID WEAPON_REVOLVER_CATTLEMAN (weapon name);
/addMoney ID type quantité, with type 0 for money, 1 for gold, 2 for the "rol" currency; /delMoney ID type quantité to take it away;
/revive ID and /heal ID: revive or heal a player;
/tpm: teleport to the waypoint set on the map;
/delHorse and /delWagons rayon: delete your horse or the wagons around you;
/modifyCharName ID prénom nom and /addChar ID nombre (number of characters allowed);
/myJob: open to everyone, shows your own job.
VORP Core also declares ban, warning and whitelist commands, but the identifier they expect is unclear in the current code: to sanction players, use the vorp_admin menu, described below. All these commands are specific to VORP: RSG Core has its own commands and groups (see RSG Core on RedM). Installing the framework is covered in installing VORP Core.
05
The vorp_admin menu
vorp_admin, installed by the official VORP recipe, is the framework's admin menu. With its default configuration, it opens in game with the /adminMenu command or the Page Down (PgDn) key. Both can be changed in its config.lua.
It covers what the commands do not:
- Players: list of connected players, teleport to a player or bring them to you (with a way back), freeze, spectate, revive and heal;
- Sanctions: kick, ban and unban, including for an offline player, and whitelisting;
- Gifts: items, weapons, horses, wagons, money and gold, clearing an inventory or money;
- Roles: a player's group and job;
- Tools: announcement, god mode, infinite ammo, noclip, invisibility, teleport to the map waypoint or to coordinates.
The menu does not look at ACEs: it reads the player's group in the users table. In its config.lua, the Config.AllowedActions block maps each group to a list of actions: admin has everything, moderator a list you can trim down, for example to kicking and spectating. A moderator is appointed with /addGroup ID moderator. After changing the file, restart the resource (ensure vorp_admin) and check the console: a syntax error shows up right away. If something goes wrong, see RedM server errors.
06
On a CloudFive server
On our RedM hosting plans, from €2.50 per month:
- VORP Core installs in one click, with its MariaDB database, from the manager.cloudfive.fr customer area;
- RedM servers do not use txAdmin: FXServer commands are typed in the customer area's console, and
vorp_perms.cfg or config.lua are edited in the Files tab or over SFTP;
- backups are available in the customer area: make one before touching permissions or the database.
Servers are in France, on our AS218808 network, with Ryzen 9 9950X, DDR5 and NVMe, and Anti-DDoS Premium included with a RedM-specific profile. Billing is monthly with no commitment, and support answers in French 7 days a week, through tickets and on Discord.
07
Frequently asked questions
How do I become an admin on a RedM server with VORP?
Add the line add_principal identifier.steam followed by your Steam identifier and group.admin to vorp_admin/vorp_perms.cfg. After your first login, set the group column of the users and characters tables to admin in the database, then restart the server.
Why do VORP commands not work in the server console?
VORP Core commands are meant for the game: typed in the console, they answer that you must be in game. Log in with an admin account and type them in the chat, starting with a slash.
How do I kick a player on a RedM server without txAdmin?
In the server console, status gives the player's server ID and clientkick followed by that ID and a reason kicks them. Both commands come from the rconlog resource, which you start with ensure rconlog. The vorp_admin menu can also kick and ban.
How do I open the VORP admin menu?
With the default vorp_admin configuration, type /adminMenu in the chat or press the Page Down key. The menu reads the player's group in the users table: admin has every action, moderator the ones you leave it in config.lua.
Is txAdmin provided with CloudFive RedM servers?
No. CloudFive RedM servers do not use txAdmin: everything is managed from the customer area, with the console, files, MariaDB databases and backups. VORP Core installs there in one click.