I have been using this for a few days now on our demo server running BL2R, the first thing I noticed it did not create a PB.txt for the database, so I made a folder called database and created a file called PB.txt which I put into the database folder folder, I then edited the LFSLapper.cfg to point at the PB.txt, "Database = LFSLapper\database\PB.txt" then copied the cfg and placed that in the bin folder.
The commands to get your stats and top places or any other command only work if you are on the track or in the pits, they won't work from spectate, well not for me anyway.
A copy of my cfg
#
# This is sample script for LFSLapper
#
# Lines beginning with '#' are commentaries and are ignored by program.
# Host IP.
# Leave as it is.
Host = 127.0.0.1
# Insim UDP port.
# Before starting LFSLapper you must configure LFS server
# to use this port for InSim. You can do that in command line when starting LFS
# or in talk window of LFS (/insim 29999).
Port = 29999
#Change Password to match Admin password on LFS server.
Password = ******
# This is filepath of file containing personal best laps.
# Will be created if it doesnt exist yet. <---THIS DID NOT HAPPEN
Database = LFSLapper\database\PB.txt
# Enable if you want to show control of players when leaving the garage.
ShowPlayerControl = true
# Disable if you do not want action on split times.
ShowSplitWarnings = true
# Define max time of split to trigger action.
Split1 = 0.29.00
Split2 = 1.00.00
Split3 = 1.30.00
# Actions to do on splits
# Possible variables to use:
# {0} - Split time
# {1} - Nickname of driver
Split1Action = /msg Great 1st split ({0}) by {1}^8 !
Split2Action = /msg Great 2nd split ({0}) by {1}^8 !
Split3Action = /msg Great 3rd split ({0}) by {1}^8 !
# Message that is shown to players when they connect to server. Use '|' for new line.
ConnectMsg = ^7Welcome to ^1LFSLapper ^7powered server !|Type !help after leaving garage to see commands.
# Action to do on new personal best lap.
# Possible variables to use:
# {0} - Nickname of driver
# {1} - Lap time achieved
# {2} - Car used
PBAction = /msg New PB by {0}^8 ({2}): {1}
# Actions that are performed on received messages. Use '|' for next pattern/action pair and to separate pattern from action.
# Possible variables to use:
# {0} - Nickname of driver
AutoAction = hello|/msg ^3Howdy , {0}!|hehe|/msg ^3:-)|no name no game|/kick unnamed
# Private multiline messages to send to player. Use '|' for next pattern/message pair and to separate pattern from message. Use ':' for new line.
# Possible variables to use:
# {0} - Nickname of driver that sent message
AutoMsgPrivate = ****|^3No Bad Language or You'll Be Kicked {0}!|!help|!top [table offset] [3-letter car name] ["filter" pattern]:!stats [playername pattern]:!ver:!help