
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
squad-logs
Advanced tools
This library is designed for the game Squad, it will give you the ability to easily parse game logs. It is possible to read the file locally or protocol SFTP. I hope this will be useful to you!
This library is designed for the game Squad, it will give you the ability to easily parse game logs. It is possible to read the file locally or protocol SFTP. I hope this will be useful to you!
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js.
If this is a brand new project, make sure to create a package.json first with
the npm init command.
Installation is done using the
$ npm install squad-logs
or
$ yarn add squad-logs
import { LogsReader } from 'squad-logs';
(async () => {
const logsReader = new LogsReader({
id: 1,
autoReconnect: true,
readType: 'remote',
adminsFilePath: '/SquadGame/ServerConfig/Admins.cfg',
filePath: '/SquadGame/Saved/Logs/SquadGame.log',
host: '127.0.0.1',
username: 'root',
password: '123456',
});
await logsReader.init();
const admins = await logsReader.getAdminsFile();
logsReader.on('PLAYER_CONNECTED', (data) => {
console.log(data);
});
})();
import { LogsReader } from 'squad-logs';
(async () => {
const logsReader = new LogsReader({
id: 1,
autoReconnect: true,
readType: 'local',
adminsFilePath: '/SquadGame/ServerConfig/Admins.cfg',
filePath: '/SquadGame/Saved/Logs/SquadGame.log',
});
await logsReader.init();
const admins = await logsReader.getAdminsFile();
logsReader.on('PLAYER_CONNECTED', (data) => {
console.log(data);
});
})();
| Event | Return | Type |
|---|---|---|
| ADMIN_BROADCAST | response | TAdminBroadcast |
| DEPLOYABLE_DAMAGED | response | TDeployableDamaged |
| NEW_GAME | response | TNewGame |
| PLAYER_CONNECTED | response | TPlayerConnected |
| PLAYER_DISCONNECTED | response | TPlayerDisconnected |
| PLAYER_DAMAGED | response | TPlayerDamaged |
| PLAYER_DIED | response | TPlayerDied |
| PLAYER_POSSESS | response | TPlayerPossess |
| PLAYER_UNPOSSESS | response | TPlayerUnpossess |
| PLAYER_REVIVED | response | TPlayerRevived |
| PLAYER_SUICIDE | response | TPlayerSuicide |
| PLAYER_WOUNDED | response | TPlayerWounded |
| ROUND_WINNER | response | TRoundWinner |
| ROUND_ENDED | response | TRoundEnded |
| ROUND_TICKETS | response | TRoundTickets |
| SQUAD_CREATED | response | TSquadCreated |
| VEHICLE_DAMAGED | response | TVehicleDamaged |
| TICK_RATE | response | TTickRate |
| connected | null | null |
| close | null | null |
FAQs
This library is designed for the game Squad, it will give you the ability to easily parse game logs. It is possible to read the file locally or protocol SFTP. I hope this will be useful to you!
We found that squad-logs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.