/$$ /$$ /$$$$$$$$ /$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$$$ /$$ /$$ | $$ | $$| $$_____/| $$ /$$__ $$ /$$__ $$|_ $$_/|__ $$__/| $$ /$$/ | $$ | $$| $$ | $$ | $$ \ $$| $$ \__/ | $$ | $$ \ $$ /$$/ | $$ / $$/| $$$$$ | $$ | $$ | $$| $$ | $$ | $$ \ $$$$/ \ $$ $$/ | $$__/ | $$ | $$ | $$| $$ | $$ | $$ \ $$/ \ $$$/ | $$ | $$ | $$ | $$| $$ $$ | $$ | $$ | $$ \ $/ | $$$$$$$$| $$$$$$$$| $$$$$$/| $$$$$$/ /$$$$$$ | $$ | $$ \_/ |________/|________/ \______/ \______/ |______/ |__/ |__/
The official socket protocol for Velocity.
C2S Registering
REGISTER username password
S2C Too few args
ERR_NEEDMOREPARAMS
S2C Too many args
ERR_TOOMANYPARAMS
S2C Username in use
ERR_ALREADYREGISTRED
S2C Register confirm
CONFIRM_REGISTER
C2S Logging in
LOGIN username password
S2C Incorrect login
ERR_INVALIDCREDENTIALS
S2C Login confirm
CONFIRM_LOGIN
S2C Ping
PING 912389
C2S Pong
PONG 912389
C2S Sending a message
MSG :hello world
S2C Not logged in
ERR_NOAUTH
S2C Receiving message
MSG username :hello world
C2S Sending a DM
PRIVMSG username :hello world
S2C User not online
ERR_NOSUCHUSER
S2C Receiving a DM
PRIVMSG sender :hello world
C2S Fetching 10 messages from index 50
FETCH 50
S2C Receiving a fetched message
FETCH timestamp username :message
C2S Sending an image
IMAGE link
S2C Receiving an image
IMAGE username link