Log from your own scripts
Any server script can add its own lines:
exports.albion_logs:log('shop', 'Bought a pistol for £2,500', { item = 'weapon_pistol', price = 2500 }, source)exports.albion_logs:logAction('heist', 'start', 'Fleeca heist started', { bank = 'Legion' }, source)- The first value is the category. Use your own, such as
shoporheist. - The text is what staff read in the panel.
- The table holds details you can search on.
- Pass the player’s
sourceto link the line to them.