Commit graph

51 commits

Author SHA1 Message Date
zeeZ
dfb66d9415 Added weather to json world output (hasStorm and isThundering) 2011-05-10 12:51:52 +02:00
zeeZ
1618820180 Organize imports 2011-05-10 12:51:52 +02:00
FrozenCow
0cb23ac84a Fixed tabs. 2011-05-07 22:11:41 +02:00
zeeZ
c19a2e0a3a Strip colors off chat, use getDisplayName instead of getName 2011-05-01 23:11:29 +02:00
zeeZ
e853df78f6 Fix for worlds with weird names and URLDecode mumbo-jumbo 2011-04-28 16:34:50 +02:00
FrozenCow
84dfa3c1d5 Another attempt to make server conform http. 2011-04-06 00:54:48 +02:00
FrozenCow
be1424ec14 Removed redundant configuration values and made use of customizable join/quit messages. 2011-04-05 22:30:43 +02:00
FrozenCow
08e85fe23d Another import removal. 2011-03-17 02:36:26 +01:00
Jason Booth
9c799c71a2 WebChat enhancement and fixes
Added Spam Message config
Internal server now replies a spam message
Fixed getting webchat-interval to get int rather than double then cast
Fixed holding down "enter" on the empty chat line would spam chat attempts
Fixed so jsonip.appspot query is only done once
2011-03-15 19:17:58 -05:00
FrozenCow
53533ec599 Added webchat-interval for anti-spam webmessaging. 2011-03-15 22:43:48 +01:00
FrozenCow
411e1adbfc Removed some warnings, redisabled BufferedOutputStream closing. 2011-03-15 21:04:53 +01:00
alron
fb55dcd0e3 oops, didn't need that ^^ 2011-03-12 01:36:43 -08:00
alron
d0e2096104 Close potential filedescriptor leak. 2011-03-12 01:35:07 -08:00
alron
bc9a0d54d0 Close potential filedescriptor leak. 2011-03-12 01:33:30 -08:00
FrozenCow
767810ca4c Fixed shutting down http server(?) 2011-03-11 15:22:14 +01:00
FrozenCow
a080825060 Code cleanup. 2011-03-10 15:59:19 +01:00
FrozenCow
d9bbef12f8 Some changes after running Findbugs. 2011-03-05 16:09:26 +01:00
FrozenCow
1f05bc99e2 Optimized stringifyJson a bit. 2011-03-04 22:17:50 +01:00
FrozenCow
630fcf7c93 Cleaned Http handling a bit. 2011-03-04 21:31:16 +01:00
FrozenCow
f7c731f855 Enabled '-' and '.' to be valid world-characters. 2011-03-04 20:15:52 +01:00
FrozenCow
e4cf55c7d6 Added configuration caching. 2011-03-01 18:52:15 +01:00
FrozenCow
f4dcfe77a9 Nicer invalid update-url handling (for invalid world-names or non-existing worlds). 2011-02-26 20:27:54 +01:00
FrozenCow
5c685af299 Fixed httpserver thereby also more optimized. 2011-02-19 00:01:42 +01:00
FrozenCow
d11b0819a6 Fixed stupid mistake with body of http requests. 2011-02-18 19:42:32 +01:00
FrozenCow
a294e10413 Organized imports. 2011-02-15 21:44:08 +01:00
FrozenCow
a73795270d Make sure request-body is skipped if not read. 2011-02-15 21:06:14 +01:00
FrozenCow
a17eb9859a Added sendmessage handler (for chatting back). 2011-02-15 21:00:36 +01:00
FrozenCow
82437d5620 Improved HTTP performance and POST/PUT compatbility. 2011-02-15 21:00:04 +01:00
FrozenCow
51097b4f88 Added helper classes for HTTP. 2011-02-15 14:19:43 +01:00
FrozenCow
fe2cd9e206 Report world for players in updates. 2011-02-15 13:38:46 +01:00
FrozenCow
1a58a4e879 Re-added flushing again (oops). 2011-02-13 23:22:57 +01:00
FrozenCow
e4ecb706e1 Fixed time being reported of the correct world. 2011-02-13 22:46:45 +01:00
FrozenCow
440412254b Fixed HttpServer some more. 2011-02-13 22:30:24 +01:00
FrozenCow
9031181c6f Some improvements to HttpServer. 2011-02-13 02:56:00 +01:00
FrozenCow
829a7138c4 Added multiworld update support along with client-side support. 2011-02-13 01:19:47 +01:00
FrozenCow
22b8550b41 Fixed handling invalid http requests. 2011-02-09 17:22:16 +01:00
FrozenCow
1e64fb7a23 Better exception handling. 2011-02-08 20:59:51 +01:00
FrozenCow
6c1a69a517 Made updates in JSON format. Combined chat and tile queues into one UpdateQueue. Fixed UpdateQueue. 2011-02-06 03:00:51 +01:00
FrozenCow
35f663b329 Fixed Json stringify. 2011-02-06 02:00:27 +01:00
FrozenCow
d9f539b2bd Added reflection-support for stringifyJson. 2011-02-05 21:09:49 +01:00
FrozenCow
2e31e3d7a9 Moved stringifyJson to Json class. 2011-02-05 21:02:39 +01:00
FrozenCow
2757b8d34c Moved FileHandler to handlers package. 2011-02-05 20:54:28 +01:00
FrozenCow
4f1c932c67 Renamed WebServer to HttpServer and WebServerRequest to HttpServerConnection. 2011-02-05 20:53:42 +01:00
FrozenCow
6cd10e21bc Moved handlers to their own (independent) classes. 2011-02-05 20:51:20 +01:00
FrozenCow
79552bf040 Removed debugging + small fix. 2011-02-05 19:57:32 +01:00
FrozenCow
0031c5b6c9 More work on HttpServer. 2011-02-05 19:51:48 +01:00
FrozenCow
66c501f281 Initial http-server work. 2011-02-05 19:51:48 +01:00
FrozenCow
a89ef6ac75 Applied Eclipse formatting. 2011-02-05 02:25:18 +01:00
FrozenCow
4c392d940f Updated Server.getTime to World.getTime (to reflect Bukkit's changes) 2011-02-02 11:40:49 +01:00
FrozenCow
ed67225a9e Added showchatballoons, showplayerfacesonmap and showplayerfacesinmenu to configuration. 2011-02-01 15:16:54 +01:00