MediaWiki:Cg.js/doc

Privacy policy & disclaimer
The ChatGame script will NOT send any personal information such as IP or country. It will NOT attempt to post messages that could reasonably be considered messages typed by a human unless you explicitly allow it to through the 'Broadcast result' option, which will cause one message to be sent announcing who won the game. It will NOT attempt to interact with private messages or any other users in any way, other than sending them game commands. The script does NOT have access to your password or Wikia account and CANNOT access any other pages other than the chatroom. By using the ChatGame script, you are NOT compromising the security of your Wikia account. You can stop the ChatGame script from sending messages at any time by refreshing the page.

ChatGame uses an insecure encryption system to facilitate team games and discouraging cheating. This encryption system requires a password, which can be user-defined. '''THIS SYSTEM IS NOT SECURE. IT CAN BE CRACKED VERY EASILY BY ANYONE WITH HIGH SCHOOL LEVEL MATHEMATICS. DO NOT USE ANY PASSWORDS YOU USE TO LOG INTO ANY ACCOUNTS, INCLUDING ACCOUNTS ON OTHER WEBSITES'''. If you do, the ChatGame script and developer(s) are NOT liable for any damage that may occur if your account(s) is/are compromised as a result.

Developers using the ChatGame API: It is your responsibility to make sure that your game script does not communicate personal information about the end user, and does not interfere with chat use any more than the core API does. If the variable ChatGame.broadcastEnabled is true, then your game is permitted to send ONE message at the end of every game announcing the winner, with the prefix '[ChatGame]'. If this variable is not true, then your game is not permitted to send any messages other than communication messages with the other player's ChatGame script. Failure to comply with these terms will result in you and your games being listed on a blacklist further down this page.

Wiki administrators and chat moderators: The ChatGame script will post messages in chat. By default, ChatGame includes functionality to hide all !ChatGame messages that appear in chat. HOWEVER users who are not using the ChatGame script will continue to see these messages. If you wish to hide them, but do not wish your users to have access to ChatGame by default, you can use MediaWiki:ChatGameHide.js. This script does NOT have access to any ChatGame functions (including sending messages) other than removing !ChatGame messages from main chat.

The ChatGame script imports the following pages for the following reasons:

Blacklist
None!

How it works
The ChatGame script needs to communicate with other users in the chat room in order to tell them what is happening in the game at the moment. These communications take the following form:

!ChatGame Recipient CG TTT 12345 ttt-click-11

The following table contains explanations of the functions of the elements of a ChatGame communication.