Installation

1. Insert the .sql file to your database


2. Install dependencys


3. Restart your Server


4. Config

The visa system has a relatively large config. You should adjust everything in peace through and accordingly. All settings have an additional comment to briefly explain what it does.

Restarts

The visa end of the players is set via the server restarts. This means that the players' visa always ends at the time of a server restart. This makes things easier and more efficient. Enter all server restarts in the config accordingly, so that the visa end is always placed perfectly at a server restart.

Current Players

You decide what happens to players who are already playing on the server before the visa system is integrated.

Either these players will have their whitelist directly..

Config.fetchOldPlayers = true

..or they will have a visum as well.

Config.fetchOldPlayers = true

For both versions you have to enter the command "fetchplayer" once in the server console. This will add all old players to the visa table.

Visum-Vehicles

Players can pick up a visa vehicle from the NPC which they can use for the duration of the visa. When the visa expires, the vehicle is automatically confiscated. Everything in the vehicle will be deleted!

The reason for this is that there are many different systems for storing items in cars.

Last updated

Was this helpful?