Skip to content

DamirAlkhaov/polyGameLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues

polyGameLogger

This code can be used to log activity on yours Polytoria Games.

current version: 0.1.1


Basic Setup

First of all, you need to create a .env file with the value DISCORD_URL, which will be your discord webhook url and the value SECRET_KEY, which will be your custom api key(aka password).

Secondly, you'll need to install typescript on your machine.

Thirdly, you'll have to create a heroku account and set up an app and follow their guide on how to connect your machine to heroku so that you can push files to the app.


After you did all that, you should write the following into the terminal:

Install packages

$ npm i

Compile typescript, created js files will be in 'built' folder

$ tsc

Do your ordinary git stuff

$ git add .

$ git commit -m "message"

Push files to heroku

$ git push heroku master


Polytoria .lua setup

Open up the polytoria creator, add a script and put the contents of scripts/main.lua into that script. Be sure to change the URLs to the ones you need.

About

This code can be used to log activity on yours Polytoria Games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors