New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@playerloop/node

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@playerloop/node

The official Playerloop NPM package. Sign up at https://playerloop.io

latest
Source
npmnpm
Version
0.9.4
Version published
Maintainers
2
Created
Source


PlayerLoop NPM package

Get bug reports from your players, fast. Improve your game, reward the community.

If your player thinks there is a bug, you have something to fix. A lot of these do not throw exceptions in your code. With PlayerLoop, you can easily implement a bug reporting feature inside your game. You also get an easy-to-use interface to check the reports and download the savegame files and the screenshots to figure out what the problem is.

We are currently in free closed Beta! You can join us here on Discord: Discord Chat

Getting started

If you did not do that already, head over playerloop.io and sign up for an account.

Then install the NPM package: npm install @playerloop/node

Now you can use Playerloop in your code:

const PlayerloopSDK = require('playerloop')

Now you can initate the object as follows. To initiate the object, you will need your Playerloop secret. You can retrieve it in your Settings page of your project at app.playerloop.io. Copy it from there and set it up as follows:

const playerloop = new PlayerloopSDK({ secret: "YOUR SECRET HERE" });

Now you can create a new bug report like this:

playerloop.createReport({text: "the text written by your player"})

Uploading files

You will want to attach a savegame file to your player's report, to make it easier to debug. To do so, you can call the same function as above with the additional attachment field:

playerloop.createReport({
  text: "the text written by your player",
  attachments: [ "file path 1", "file path 2" ]
})

The attachments will be uploaded together with your bug report.

Unique Player IDs

Coming soon

Full reference

Coming soon

Contributing

Make a PR :)

FAQs

Package last updated on 02 Nov 2022

Did you know?

Socket

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.

Install

Related posts