Player Name |
||||||||
General description | ||||||||
This message provides the name of the player connecting to the server. | ||||||||
Usage | ||||||||
This message is mandatory to log into the server. Once logged, a player cannot change his or her name; disconnection is necessary before changing name. |
||||||||
|
||||||||
Protocol 0.2 | ||||||||
PLAYERNAME|Judge Hedd | ||||||||
Protocol 1.0 | ||||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Client Type |
|||||||||||||||
General Description | |||||||||||||||
This message provides information about the client software used to connect to the server. | |||||||||||||||
Usage | |||||||||||||||
This message is mandatory to log into the server. | |||||||||||||||
|
|||||||||||||||
Protocol 0.2 | |||||||||||||||
CLIENTTYPE|JDuplicate Swing Client#0.12#0.2 | |||||||||||||||
Protocol 1.0 | |||||||||||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Chatting |
|||||||
General Description | |||||||
This message contains chat text written by the player. | |||||||
Usage | |||||||
In the current server version, there is no need to indicates the name of the player who chatting, as his or her identity is determined by the server. This avoids spoofind issues. | |||||||
|
|||||||
Protocol 0.2 | |||||||
CHATREQUEST|Hello there | |||||||
Protocol 1.0 | |||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Whispering |
||||||||||
General Description | ||||||||||
This message contains a whisper text and the player to whom this text is to be sent to. | ||||||||||
|
||||||||||
Protocol 0.2 | ||||||||||
WHISPERREQUEST|O-Dog#it's getting tough! | ||||||||||
Protocol 1.0 | ||||||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Chat Action |
|||||||
General Description | |||||||
This message describes a 'chat action' similar to the popular IRC /me
command. |
|||||||
|
|||||||
Protocol 0.2 | |||||||
CHATACTIONREQUEST|believes JDuplicate is great! | |||||||
Protocol 1.0 | |||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Disconnecting From Server |
|||||||
General Description | |||||||
This message indicates that the player is disconnecting from the server. | |||||||
Usage | |||||||
This message has to be sent before leaving sever in order to quit cleanly. In case of a sudden disconnection (such as a connection reset), the server detects it and disconnects the player. This can sometime require a timeout, which is never really convenient for anyone. | |||||||
|
|||||||
Protocol 0.2 | |||||||
DISCONNECT|Good bye everyone! | |||||||
Protocol 1.0 | |||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Creating A Game |
||||||||||||||||||||||||
General Description | ||||||||||||||||||||||||
This message provides information needed to create a game. | ||||||||||||||||||||||||
Usage | ||||||||||||||||||||||||
In server versions 0.5 and 0.6, only games with predefined settings can be created. | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
Protocol 0.2 | ||||||||||||||||||||||||
CREATEGAMEREQUEST|ams's game#120#fr#8#No word stealing please | ||||||||||||||||||||||||
Protocol 1.0 | ||||||||||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Joining A Game |
||||||||
General Description | ||||||||
This message is a request to join a game. | ||||||||
Usage | ||||||||
The game should already exist otherwise an error will be returned by the server. | ||||||||
|
||||||||
Protocol 0.2 | ||||||||
JOINGAMEREQUEST|Luc's game | ||||||||
Protocol 1.0 | ||||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Starting A Game |
General Description |
This message sends a start game signal. It does not use any parameter. |
Usage |
In server v0.5 only game creator can start the game. In future game operators support might be added. |
Protocol 0.2 |
STARTGAMEREQUEST| |
Protocol 1.0 |
<?xml version="1.0" encoding="UTF-8"?>
|
Change Letters |
||||||||
General Description | ||||||||
This message enables to change one or more letter of own hand. | ||||||||
|
||||||||
Usage | ||||||||
Change own letters can only be used when the player is in a game and each player has his own hand. | ||||||||
Protocol 0.2 | ||||||||
CHANGELETTERS|Z#G# | ||||||||
Protocol 1.0 | ||||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Player's Moves |
||||||||||||||||||||||
General Description | ||||||||||||||||||||||
This message contains the player's moves for the current turn. | ||||||||||||||||||||||
Usage | ||||||||||||||||||||||
The player can send his moves before the time per turn runs out, or his moves are requested by server at the end of the time out. | ||||||||||||||||||||||
|
||||||||||||||||||||||
Protocol 0.2 | ||||||||||||||||||||||
MOVES|8&H&B#9&H&I#10&H&S#11&H&e# | ||||||||||||||||||||||
Protocol 1.0 | ||||||||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Manually Starting a Turn |
||||||||||||||||||||||
General Description | ||||||||||||||||||||||
This message specifies that a turn should start when told by this message. This happens in Boggle where there is a forced pause between turns. | ||||||||||||||||||||||
Usage | ||||||||||||||||||||||
Only game operators can issue this command, after receiving the WAITINGFORSTARTTURN message. | ||||||||||||||||||||||
|
||||||||||||||||||||||
Protocol 0.2 | ||||||||||||||||||||||
MOVES|8&H&B#9&H&I#10&H&S#11&H&e# | ||||||||||||||||||||||
Protocol 1.0 | ||||||||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Board Type Request |
General Description |
This message requests the type of board used in this game (i.e. board dimension, locations of bonus squares). |
Usage |
The player has to be in a game to request its the board type. |
Protocol 0.2 |
Not used. |
Protocol 1.0 |
<?xml version="1.0" encoding="UTF-8"?>
|
Kicking A Player |
|||||||||||
General Description | |||||||||||
This message allows kicking a player out of the current game. | |||||||||||
Usage | |||||||||||
Only game creators (and eventually game operators) can kick players from his game. | |||||||||||
|
|||||||||||
Protocol 0.2 | |||||||||||
KICKREQUEST|Ahmadeus#Because i want to :) | |||||||||||
Protocol 1.0 | |||||||||||
<?xml version="1.0" encoding="UTF-8"?>
|
Leaving The Game |
|||||||
General Description | |||||||
This message indicates that the player is leaving the game. | |||||||
Usage | |||||||
Anytime when connected to a game. | |||||||
|
|||||||
Protocol 0.2 | |||||||
LEAVEGAMEREQUEST|I'm too bad to play with you | |||||||
Protocol 1.0 | |||||||
<?xml version="1.0" encoding="UTF-8"?>
|