Skip to content

[Release] vMenu v3.0.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@TomGrobbe TomGrobbe released this 19 Mar 19:18

vMenu v3.0.1 (pre-release)

Small update to address the missing "Save Ped" button in the player appearance menu.
This update also adds a feature that has been requested many times, which is database support for bans. However, don't get your "hopes" up, because of the following:

  • This is implemented using SQLite, not your normal MySQL database used for many frameworks.
  • This is not 100% tested, use at your own risk right now.
  • You can only use the SQL DB, OR the bans.json at a time, you can not use both.

The SQLite database file will be automatically created if it doesn't exist. By default, this is in the same folder where your server.cfg file is located. You can change this using convars.

If you currently already have a list of banned players, make sure to switch the convar option to use the JSON file, then boot the server, and use the vmenuserver migrate command from the server console. After that switch the convar to use the SQLite db file and restart the server.

IMPORTANT

If you're running a linux server, update to the latest artifacts and then (temporarily) take the following files from this zip: CitizenFX.Core.Server.zip and place those in the following folder:

/alpine/opt/cfx-server/citizen/clr2/lib/mono/4.5/

If they're already there, then don't replace them, this is just if the latest version is missing those files.

New convars in this update

  • vmenu_bans_database_filepath default: "" the file path for the database file. If you enter a custom filepath, then the filepath MUST end with a trailing /, for example:
    setr vmenu_bans_database_filepath "resources/vMenu/"
  • vmenu_bans_use_database default: true enables or disables the SQLite database for storing banned players.

SQLite was not stress-tested, use at your own risk.