Installation

How to install and set up More Doorscreator on your server.

Follow these steps to get More Doorscreator running. Do them in this order: the old doorlock has to be gone before the new one starts.

  1. 1

    Download the resource

    Extract the resource folder more_doorscreator into your server's resources folder, for example resources/[more-scripts]/more_doorscreator. Install more_lib and oxmysql as well. The folder must keep the name more_doorscreator.

  2. 2

    Import the database

    Run the SQL file backend/[SQL]/sql.sql in your database manager (HeidiSQL, phpMyAdmin or similar). It creates the two tables more_doorscreator and more_doorscreator_history. This step is mandatory: without the tables the resource cannot load its doors.

  3. 3

    Replace your old doorlock

    Remove the ensure line of your old doorlock (ox_doorlock, qb-doorlock, rcore_doorlock or doors_creator) before you start the Door Creator. After the first start, bring your doors over in the creator under Settings, System, Import. ox_doorlock and doors_creator are read from their database tables and qb-doorlock from its config files, so those three can stay stopped. rcore_doorlock is read through its own export: start it once for the import, then stop it again. A backup is made before every import.

  4. 4

    Give your admins access

    The creator opens with /doorscreator. The groups in MS.FullRights in backend/config/sv_config.lua may do everything. The groups in MS.StaffGroups get the rights listed there, and a full-rights admin can change them in game under Rights. A group in neither list has no access. On QBCore only the groups that more_lib's permissions recognise work. The Configuration page explains both lists.

  5. 5

    Configure the resource

    Most options are changed in game in the creator under Settings. backend/config/cl_config.lua holds their defaults, and a reset in the creator brings those back. Server options (rights, icon hosts, keypad limits, lockpick limits, plate recognition, logs, backups, the Discord webhook, game time and the dispatch alert) are in backend/config/sv_config.lua. Every option is explained on the Configuration page.

  6. 6

    Start the server

    Add the ensure lines below to your server.cfg, after your framework. more_lib and oxmysql have to start before more_doorscreator. Restart the server, join as an admin and type /doorscreator.

server.cfg
1ensure oxmysql2ensure more_lib3ensure more_doorscreator

Things to know

Only backend/config/cl_config.lua, backend/config/sv_config.lua and the two locale files (en.lua and de.lua) are editable, every other Lua file is encrypted. A restart ends every power cut, lockdown and keypad block, and every picked door locks again. The resource ships a 3D map of Los Santos for the creator, so players download about 28 MB more, once, when they join. To update, replace the resource folder, keep your edited config and locale files, the templates folder and data/door_models.json, and run every update SQL file the changelog lists since your version.

Last updated