Project info

Login and account management

Merge your Unity game’s user accounts with your WordPress website’s user accounts. Creating an account on one automatically allows you to log into the other also.

Features list

key features
  • Login using existing website credentials
  • Create an account on your website directly from within your game
  • Share login details across all your games
  • Automatically receive ANY user data stored in the usermeta table as soon as login succeeded
  • All functions and data are stored statically and can thus be accessed at any time from any script in any scene without having to link anything to anything else
    • Untty via a Singleton
    • Unreal via a SubSystem
  • Includes a fully functional and 100% skin-able prefab to get started ASAP
  • GUI and functionality are kept separate. This makes the kit 100% GUI agnostic. Create your own GUI using any system you wish. No need to modify the code to make it work with your chosen GUI system
  • Supports the "Remember me" option and auto login if enabled
  • Temporarily kick or permanently ban users from specific games
  • Features password resetting in case you can't log in
  • Allows password changing for logged in users
  • Update basic personal info: real names, email, website details
  • Use your existing Gravatar image as your in-game avatar
  • Select Gravatar type to generate for users who don't have a Gravatar account
  • Fetch the appropriate age restricted Gravatar for your game
  • Includes a security feature to prevent outside tampering with your site or games
  • Incredibly easy to add new, custom functionality to the kit
  • Features callbacks to hook into for any/all server responses
  • Every call to the server results in either a success or failure response, each triggering a callback. Access to these events allow you full control over what to do in each case, no matter the action you tried to perform and what result the server returned.
Implementation into your game
  1. Install the wordpress_for_gaming plugin on your website (if you haven't done so already)
  2. In your dashboard, click on GAMING->All Games to create a new game just like you would make a normal WordPress post
  3. In Unity, give the login prefab/blueprint your website url and the game ID generated in step 2. For unreal set these values in the Project Settings window
  4. Drag the login prefab/blueprint into a scene
  5. Your game is now configured to run from your website's database. Just hit play to see it in action!
Website features

The WordPress for Gaming plugin includes a full featured dashboard from which to configure everything in a single location.

NOTE: The dashboard settings are restricted to admin access only!

Shortcodes and widgets
  • Create a default game layout and have the plugin auto generate game pages for you.
    You already created the page content when you generated the game so now the plugin can generate pages for all your games using your skeleton layout and the details you provided per game
  • Create a page that automatically generates banners to point visitors to your game's description page
  • Generate vertical or horizontal animated banners
  • Generate a poster image with rounded corners and customizable styles
  • Display a logged in user's status for the current game (Good, kicked, banned)
  • Display leaderboards and even Unity WebGL games direct on your website
Unity WebGL Games

Simply build the WebGL game in Unity, upload the folder to your website (optionally, delete everything except the "Data" folder) and then, wherever you want to display your game, assuming your game folder is called "MyGame", just use this shortcode

[wub_webgl game="MyGame" height="500px"]

Done! Now you just need to decide between:

  • Displaying the placeholder graphic so games don't load automatically (Save user's bandwidth)
  • ...or load games automatically without placeholder images. (Games show faster)