Skip to main content

Using console commands

The plugin includes some additional console commands that you can use when testing your game. These are useful for testing how your game behaves to events that typically take a long time to fire, or are otherwise rare or difficult to test.

Simulating an Anti-Cheat kick

You can test how you game responds to an Anti-Cheat kick in the editor by running:

ONLINE ANTICHEAT SIMULATEKICK

Simulating a login expiry / required credential refresh

If you're writing your own authentication provider, you will want to ensure that your game refreshes credentials properly when the EOS SDK requests them. You can simulate the expiry event firing by running:

ONLINE IDENTITY SIMULATEEXPIRY 0

0 is the local user number / controller index; it's typically 0 because most platforms only support one local player, but it could be a higher number on console platforms if you're supporting split-screen play.