ACES

A list of all Actions, Conditions and Expressions supported in this addon.

API Validity

  • Actions

    Submit score {0} {1}

    Sends a score to kongregate's leaderboards

    Request user information{0}

    Request information asyncronously and triggers a callback event

    Show Kongregate registration Box

    If you detect player is a Guest, you may offer him to register into Kongregate

    Submit avatar {0}

    Kongregate's Avatar Export API gives you the ability to export in-game avatars and let users use them as their Kongregate profile avatar.

    Show Purchase Dialog offer {0}

    Shows kongregate's Kred purchase dialog for a specific offer

  • Conditions

    Is Kong API Loaded

    Checks wether Kongregate API was loaded correctly

    Is Player Guest

    Returns true if the player is a guest or not logged in

    Is info ready

    Triggers when player information has been read and parsed

    On Info Request Error

    Triggers when player information can't be retrieved by any reason

    On API Loaded

    Triggered when Kongregate's API is ready to be used. Please notice that this condition will only be triggered if the game is deployed in kongregate, otherwise it won't fire and you'll see a communication error on the console.

    On Login

    Triggered when player changes from Guest to a registered user (Login).

  • Expressions

    GetUserName

    Get name of kongregate user logged in.

    GetAuthToken

    Get Game authentication token for use with Server-Side Authentication API

    GetUserId

    Retrieves kongregate UserId, please notice this isn't the user's name, this Id can't be modified and is unique.

    GetAPIId

    Returns API id key you assigned in the plugin properties

    GetResponseString

    Returns the last response string from kongregate. Usefull for debug.

    GetAvatarURL

    Retrieves the URL of player's Kongregate Avatar

    GetPlayerLevel

    Retrieves player's Level

    GetPlayerPoints

    Retrieves player's experience points

Download

0.0.0.2 Stable (61.17 KB)

Info

Statistics

  • Download count313 total downloads
  • Latest download count 153 downloads of latest version
  • Average download count1 downloads per day average

Owners

  • 29 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • I currently use your Plugin. Works on some browsers and others it does not. I know IE was working fine, Chrome Crashes. I get this error:

    c3runtime.js:2 ReferenceError: window is not defined

    at new g_aO.g_HY.g_aBm.Instance (c3runtime.js:2)

    at Function.g_aO.g_ej (c3runtime.js:2)

    at g_aO.Instance.g_ajy (c3runtime.js:2)

    at g_aO.g_aiv.g_ajm (c3runtime.js:2)

    at new g_aO.g_aiv (c3runtime.js:2)

    at Function.g_aO.g_ej (c3runtime.js:2)

    at Function.g_sf (c3runtime.js:2)

    at g_aO.g_apk.g_arB (c3runtime.js:2)

    at g_aO.g_apk.g_akv (c3runtime.js:2)

    at async a (workermain.js:1)

    Any ideas on a fix?

    • Thanks for using it! This is happening because you have the worker mode enabled, this plugin currently doesn't support Web Worker. I'll try to upload an update as soon as I have more time.

      If you still have problems, you can reach me on twitter: twitter.com/sotano42

  • How do I Make the Leaderboard with your plug in. Do you have a video or something else that will help me, Thanks

  • Does the plugin still work?

  • Hey, thanks for the plugin! I'm 99,9% sure that I am the one who has done something wrong but I just wanted to double check that this plugin is still working? When I upload my game to Kongregate and preview it I can see the Highscore tab but when I publish the game, the tab disappears?

    • Just in case you are interested, I just uploaded a new version of the plugin with C2 & C3 support as well as minification. Happy new year!

    • Well, the plugin actually has nothing to do with Kongregate's tab managing, that's something the portal handles. The plugin should be posting the scores but I'm not aware if Kong changed anything regarding their leaderboard display conditions. Anyway, is out of the scope of the plugin. I also have a Google Analytics plugin for HTML5 games that may interest you too to track all your visits and even notify events. You can check it out here: bit.ly/2LQAsVH

  • yes very interested in this plugin for C3 runtime and would love a serious discussion to see how Kredits might be able to work.

  • Not showing up on addons?

  • Nicely done!

    • Just in case you are interested, I just uploaded a new version of the plugin with C2 & C3 support as well as minification. Happy new year!

    • Thank you! I will create a stable version trying to cover all of the features of Kongregate Client Side API and downloading the version so you guys are able to minify it.