This script allow you to jail a player if they breaking the server rule, but it is not too serious for a ban. The script allow the player to have time and look back what they done and hopefully they will make some changes.
I personally inspect a lot from the qb-prison (QBCore Framework). So you might find some similarities in both script.
- Jail/unjail a player.
- Still process the jail even if they player quit and log back in.
- Keep track position of player to avoid escape.
- Display a notify to discord information about the jailled player and the admin that did so.
Join our discord today for latest update and faster support:
- Download the file from Github
- Unzipped the file
- Drag and drop [mb-oocjail] to your server folder
- Go to your
qb-core/server/player.lua
line 102 and add thisPlayerData.metadata['oocjail'] = PlayerData.metadata['oocjail'] or 0
- Go to your
server.cfg
and ensuremb-oocjail
If you find any bugs or have any suggestion, feel free to open an "Issues" on Github or simply join my Discord for support
Check out my other script at: https://guess-project.tebex.io/