Created
October 11, 2021 13:01
-
-
Save JOELwindows7/ba79db473ab5e4765293fb19c62240cb to your computer and use it in GitHub Desktop.
GameJolt keys template for HaxeFlixel Friday Night Funkin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JOELwindows7: from https://github.com/TentaRJ/GameJolt-FNF-Integration | |
// Yeah uh, don't share the live GameJolt key publicly pls. you must gitignore it | |
// and you might wanna manually upload instead with your private GameJolt keys compiled if you insist. | |
package; | |
class GJKeys | |
{ | |
public static var id:Int = 0; // Put your game's ID here | |
public static var key:String = ""; // Put your game's private API key here | |
} |
CI tips
Put the GameJolt private keys in your CI setting, NOT THE CI yml CONFIG FILE!!!. make it so that it edits the GJKeys.hx
to fill those keys into each variable respectively.
You may instead put the entire code into the setting (NOT THE CI yml CONFIG FILE!!!) including the private key. Then make the CI Touch (make new empty file named GJKeys.hx
) & write the codes into it.
Remember, NEVER PRINT OR DISPLAY THE PRIVATE KEYS PUBLICLY!!!
Never echo
, cat
, or anything that makes those keys shown into the terminal transcript!!! Even luckily you have reset keys in GameJolt, other game hosting may not have such.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Correction! name the file
GJKeys.hx
The filename should be
GJKeys.hx
instead of same but withk
. watch capitalK
! it must be BIG UPPERCASEK
not small lowercasek
.