Skip to content

Destructive protection and backups

Every resource you protect gets these, with nothing to set up.

  • Database guard. Queries a player’s event sets off are refused when they would drop or empty a table, change every row, or when the player’s text changed the query itself. Normal queries keep working, including players deleting their own characters.
  • Server commands and files. A player’s event can’t make your server run console commands, write script or config files, or load code.
  • One player hitting many. One player jailing, cuffing, killing or kicking lots of others in seconds is stopped.
  • Database tripwire. If a big table suddenly loses rows, every server on your licence goes into panic and a backup is taken.
  • Risky scripts. The file scan warns about scripts that build queries in an unsafe way.

It covers Lua scripts using oxmysql, mysql-async or ghmattimysql. It can’t see JS or C# scripts, or scripts you haven’t protected. It adds a safety net around your scripts; it doesn’t fix them.

With oxmysql, the anticheat backs up your database every night at 4 am server time, on panic, and when you press Back up now. The last 7 are kept in the resource’s backups folder, and you can keep encrypted copies on the Albion panel too.

Only the licence owner can download or restore a backup. A restore first checks the whole backup on throwaway copies and refuses one that is cut short or doesn’t match.

Under Setup > Settings > Staff, tick what staff may do: noclip, god mode, spawning, weapons, spectating, mass actions, database and server commands. A staff member banning lots of players in a minute is held and you’re alerted, in case their account was taken over.