##################################################################### # # This is sample script for LFSLapper. # # Use non-formatting text editor such as notepad to modify script. # If using unicode characters save script as unicode text document. ##################################################################### # Lines beginning with '#' are comments and are ignored by program. ################################### # General options ################################### # Host IP. Host = 192.168.1.5 # 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 (/insim=29999) or in talk window of LFS (/insim 29999). Port = 29999 # Change Password to match Admin password on LFS server. Password = ********** # Message that is shown to players when they connect to server. Use '|' for new line. # You can also use colors (as in all text responses): # ^0 - black # ^1 - red # ^2 - green # ^3 - yellow # ^4 - blue # ^5 - violet # ^6 - cyan # ^7 - white # ^8 - no color ConnectMsg = ^7Welcome to ^1LFSLapper ^7powered server !|^2Type ^7!help ^2after leaving garage to see commands. # Enable if you want to show control of players when leaving the garage. ShowPlayerControl = false # Action to do on race restarts. # If more actions, separate them with '|'. # Possible variables to use: # {ShortTime} - Current system time #RaceStartAction = /msg ^3Please, brake in time ! RaceStartAction = /rcm ^3Please, REMEMBER TO Pit !|/rcm_all # Default car to show, when no car is specified in !top or !drf command. #DefaultTopCar = XF GTI #DefaultTopCar = XR GT DefaultTopCar = BMW SAUBER # How much time will big text messages last (text that is started by rcm_all command). # In milliseconds. MessageTime = 6000 # Actions to execute, when speed of player is zero for some time # If more actions, separate them with '|'. # Possible variables to use: # {Nickname} - Nickname of driver # {Username} - Username of driver OnIdleAction1 = /msg {Nickname}^3 is idling ! Spectate in 10 seconds OnIdleAction2 = /spectate {Nickname} # How many ticks before idle timeout ( timeout = OnIdleTimeout * CarStateRefresh [s] ) OnIdleTimeout1 = 10 OnIdleTimeout2 = 15 # Whether to use usernames instead of nicknames for authentication of user executing AutoAction. # Should be set to true for licensed servers, false for demo servers. UseUsernameForAuthentication = true # Actions that are executed on received messages. Use '|' for next pattern/action pair and to separate pattern from action. # If more actions or patterns, separate them with ':'. # Use @ sign at end of patterns, if you wish to specify users, that are allowed to execute action. # Possible variables to use: # {Nickname} - Nickname of driver # {Username} - Username of driver AutoAction = hehe:haha|/msg ^3What's so funny, {Nickname}?|no name no game|/kick unnamed|!admin:!adi@^7Mon^4k^1ster,Mo|/rcm {Nickname} is authenticated user!:/rcm_all # Actions that are executed on schedule. Use '|' for next schedule/action pair and to separate schedule from action. # If more schedules or actions, separate them with ':'. # To escape ':' type '\:' if you want ':' in your message. # # ssmmhhddMMYYYY #ScheduledAction = 0 * * * * * : 30 * * * * *|/msg Kicking time (every 30 seconds)!:/kick unnamed ScheduledAction = 0 0 0 * * * |/rcm Midnight warning to all working men!:/rcm_all| 0 0 0 1 1 * |/rcm Happy New Year!:/rcm_all # 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: # {Nickname} - Nickname of driver that sent message AutoMsgPrivate = fuck:shit|^3Calm down, {Nickname}!|!help|^7!top ^8[table offset] [3-letter car name] ["filter" pattern]:^7!drf ^8[table offset] [3-letter car name] ["filter" pattern]:^7!stats ^8[playername pattern]:^7!dstats ^8[playername pattern]:^7!ver:^7!help # Receive packets about car position, speed and angle. Required for drifting, idling detection and AngleVelocityAction. # In seconds. 0 to disable. CarStateRefresh = 1 # Minimum angle velocity to trigger action. MinAngleVelocity = 250 # Action to execute when angle velocity is higher than MinAngleVelocity. # If more actions, separate them with '|'. # Possible variables to use: # {Nickname} - Nickname of driver # {Username} - Username of driver # {AngleVelocity} - Angle velocity in degrees #AngleVelocityAction = /spectate {Nickname}|/msg {Nickname} ^3 removed from track for wrecking #AngleVelocityAction = /msg Cool stunt by {Nickname}^8 : {AngleVelocity} pts AngleVelocityAction = /msg ^1Danger! {Nickname} ^2lost control! #MaxNbInStunt is Max number of seconds where the player is in stunt mode before MaxNbInStuntAction start, if -1 No MaxNbInStuntAction are activated MaxNbInStunt = 5 MaxNbInStuntAction = /spectate {Nickname} # Results files can also be transferred to FTP server. # Define following parameters to use this feature. #FtpServer = your ftp server #FtpLogin = your login #FtpPasswd = your password #FtpRemotePath = your remote dir #################################### # Drifting options #################################### # Actions to do on new personal best drift lap. # If more actions, separate them with '|'. # Possible variables to use: # {Nickname} - Nickname of driver # {Username} - Username of driver # {DriftScore} - Drift score # {Car} - Car used #DriftPBAction = /rcm {Nickname}^3 made new Drift PB :^7{DriftScore} ^3pts!|/rcm_all DriftPBAction = /msg {Nickname}^3 made new Drift PB :^7{DriftScore} ^3pts! # This is filepath of file containing collected data. # Will be created if it doesnt exist yet. # You must ensure read/write access to this path. DriftDatabase = ./DriftPB.txt # Actions to do to when drift score is higher or equal to MinimumDriftScore. # If more actions, separate them with '|'. # Possible variables to use: # {Nickname} - Nickname of driver # {Username} - Username of driver # {DriftScore} - Drift score # {Car} - Car used DriftLapAction = /msg {Nickname} ^3drifted to ^7{DriftScore} ^3pts # Realtime private message to get on drift. # Possible variables to use: # {Nickname} - Nickname of driver # {Username} - Username of driver # {DriftScore} - Drift score # {Angle} - Difference between heading and direction # {Speed} - Speed of car in kph PrivateMessageOnDriftScore = Score:^7{DriftScore} (A:{Angle} S:{Speed}) # Minimum drift score required to get private message. MinimumDriftScore = 50 # Actions to do at end of lap when MinimumDriftScore is not achieved # If more actions, separate them with '|'. # Possible variables to use: # {Nickname} - Nickname of driver # {Username} - Username of driver # {DriftScore} - Drift score # {Car} - Car used #DriftTooLowAction = /msg {Nickname}^3 disqualified|/spectate {Nickname} DriftTooLowAction = /msg {Nickname}^3 is one lousy drifter ({DriftScore} pts) # Minimum speed in km/h to maintain. Driving below that speed will reset score. MinimumDriftSpeed = 50 MinimumDriftAngle = 15 MaximumDriftAngle = 100 #################################### # Hotlapping options #################################### # This is filepath of file containing collected data. # Will be created if it doesnt exist yet. # You must ensure read/write access to this path. Database = ./PB.txt # Define max time of split to trigger action. Split1 = 0.19.50 Split2 = 0.40.00 Split3 = 00.56.00 # Actions to do on splits. # If more actions, separate them with '|'. # Possible variables to use: # {SplitTime} - Split time # {Nickname} - Nickname of driver Split1Action = /msg Great 1st split ({SplitTime}) by {Nickname}^8 ! Split2Action = /msg Great 2nd split ({SplitTime}) by {Nickname}^8 ! Split3Action = /msg Great 3rd split ({SplitTime}) by {Nickname}^8 ! # Maximum allowed lap time to record it and execute action. MaxLapTime = 2.00.00 # Action to do on new personal best lap. # If more actions, separate them with '|'. # Possible variables to use: # {Nickname} - Nickname of driver # {Username} - Username of driver # {LapTime} - Lap time achieved # {Car} - Car used #PBAction = /msg New Server PB by {Nickname}^8 ({Car}): {LapTime} PBAction = /rcm New Server PB by {Nickname}^8 ({Car}): {LapTime}|/rcm_all