IMPORTANT: This step should be implemented ONLY if you have an agreement with us that the game should be playable only within our portals.
If thatâs the case then you can use the isSiteLock() call from the API in order to make the check.The call will not lock the game, but return a Boolean value indicating if the game should be allowed to run or not. In case you receive true you should.
- block the game so itâs not playable
- display a message that the game can be played onÂ our portals
- display our portal logo
Before you are able to check if the game should be site locked or not the API must be loaded. Check our article on how to Load the API section).