Properly support CommonCommands
Signed-off-by: Chris Sanders <zidane@outlook.com>
Revert "Properly support CommonCommands"

This reverts commit 6384f667e3c3102764c9c3217b69dafc6f0ba43f.
Only start WorldSaving in server-mode.
Signed-off-by: Chris Sanders <zidane@outlook.com>
WorldSaving/World unloads now in server-mode.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Throw exception in client-mode when chunks save.

This will show us where the extent of saving is (and harden it further to
server-mode).
Signed-off-by: Chris Sanders <zidane@outlook.com>
Lock down WorldSavingThread to server mode.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Only create world files in server mode
Signed-off-by: Chris Sanders <zidane@outlook.com>
Remove these from being final
Signed-off-by: Chris Sanders <zidane@outlook.com>
Set these final once again
Signed-off-by: Chris Sanders <zidane@outlook.com>
Partial fix for region files - RegionGenerator.java still not done
Change how the client handles the world and player

- Server sends a worldChanged to the Client
- Client constructs new SpoutClientWorld, deserializes datatable
- Server sends AddEntityMessage
- Client adds new entity to its' world, creates a new SpoutClientPlayer if
  the player joining the world is the client player. There is only one
  entity that has the -1 ID and that is the client player
- Override a few methods in SpoutClientWorld, throw
  UnsupportedOperationExceptions to let us see what the client is trying
  to do when it shouldn't.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Client player gets a camera
Signed-off-by: Chris Sanders <zidane@outlook.com>
On second thought, create client player on session

The client should always be connected to a server of sorts
Signed-off-by: Chris Sanders <zidane@outlook.com>
Make connecting to a server the first thing the client does

Signed-off-by: Jack Huey kitskub@gmail.com
Turn off region generator
Signed-off-by: Chris Sanders <zidane@outlook.com>
Forgot UUID here
Signed-off-by: Chris Sanders <zidane@outlook.com>
Separate SpoutWorld into SpoutWorld and SpoutServerWorld

Move some stuff from SpoutEngine to SpoutServer

Signed-off-by: Jack Huey kitskub@gmail.com
More separation of server from engine

Client starts
Working on protocol
Fix my session pulsing error from last PR

Fix tp command
Fix the variable naming in LoginMessage to reflect what it actually is
Changed NOTSPAWNEDID to be -999 because -1 was/is being used as a player id (this needs polishing)
Refactored start(boolean) in SpoutEngine to just start()

Signed-off-by: Jack Huey kitskub@gmail.com
Add protocol tests

And more

Signed-off-by: Jack Huey kitskub@gmail.com