Commit Graph

80 Commits

Author SHA1 Message Date
md-5
f27f8e9ae7 Use kick exception to disconnect on login. 2013-02-16 08:53:20 +11:00
md_5
7974ccc0bf No more errors in the server console, but a certain mod is still breaking the rules. 2013-02-14 19:50:57 +11:00
md_5
9b1f1d9a50 Forge support is now working - however an unidentified mod is breaking it due to the use of packet 80. All I can tell is this mod is present in FTB lite. 2013-02-14 19:41:16 +11:00
md_5
bef2818537 Fix forge support - #111 2013-02-14 18:30:48 +11:00
md_5
0451c35bf8 Finish up Forge support - yay. 50% chance this works. Fixes issue #111 2013-02-14 17:27:35 +11:00
Austin Smith
a8c60180d7 Don't instantiate a ReconnectHandler if a plugin has provided one on load 2013-02-14 06:25:23 +11:00
md_5
379376f0fa Add player disconnect event, thanks @lazertester 2013-02-13 18:49:08 +11:00
md_5
d2a919fc06 Rework packet reading a little in more preparation for Forge. 2013-02-12 12:05:06 +11:00
md_5
d17c457040 Add experimental offline mode support - closes issue #121 2013-02-12 11:48:38 +11:00
md_5
0d5099bee5 Call login event 2013-02-11 17:26:52 +11:00
md_5
2b1d2cba04 All I actually needed was: nextServer = null; 2013-02-10 21:40:06 +11:00
md_5
25d2902240 Quick fix for /server, will do a better job later 2013-02-10 21:36:37 +11:00
md_5
9c5e02e20a Add groundwork for custom protocols such as forge in a really cool manner - has not been tested, so may be a regression on prior build. 2013-02-10 21:26:49 +11:00
md_5
9f4fc4dfac Forge and Spoutcraft are so annoying they accidentally got locked out again. 2013-02-10 21:24:44 +11:00
md_5
da9c41ae66 Fix reloading. 2013-02-10 21:08:41 +11:00
md_5
c5e15697a4 Fix server ping method. 2013-02-10 20:18:08 +11:00
md_5
154722eacc Add perm debug command 2013-02-10 17:41:34 +11:00
md_5
9e2eda672d Cache the client status packet. 2013-02-09 19:01:18 +11:00
md_5
b946e376c7 Fill out all handlers for packets just in case they are needed. 2013-02-09 18:06:15 +11:00
md_5
23582a635b Reformat to new code style, lots of spaces for easy reading. 2013-02-09 17:57:09 +11:00
md_5
69d618c648 Use custom packet out stream to ease transition to a netty channel when it is required 2013-02-09 17:48:42 +11:00
md_5
1df6fdf973 Fix ProxiedPlayer.connect from plugins. 2013-02-09 14:19:21 +11:00
md_5
1bc4316e0a Add messages to state checks 2013-02-08 16:23:49 +11:00
md_5
48447addba Hasten login process a tad, maybe a 100ms saved for the user 2013-02-08 16:21:08 +11:00
md_5
f1f68ab85b Ask and 70.93 seconds later you shall receive - cross server message channel. 2013-02-07 17:23:49 +11:00
md_5
7e39cb8da6 Remove useless disconnect channel. 2013-02-07 16:55:32 +11:00
md_5
a2ebb92d56 Scumbags Forge and Spout. 2013-02-03 20:53:58 +11:00
md_5
fbacafb752 No excuses this time. 2013-02-02 10:24:54 +11:00
md_5
c65a3ec55e Use a stateful login system for the initial handler. 2013-02-02 10:17:37 +11:00
md_5
36f5f33db0 Forward even when no players are online. 2013-02-02 09:11:26 +11:00
md_5
4055139dcd Don't create new sections for each player. 2013-02-01 21:47:14 +11:00
md_5
00e0e3c1a3 Use more ram to reduce CPU. 2013-02-01 21:34:13 +11:00
md_5
7538ff46ed Remove bulk reading, because for an unexplainable reason it can cause garbled data. (reverse-merged from commit ed667e2b72) 2013-02-01 21:14:40 +11:00
md_5
ecf5b4dc30 Automatically queue packets to send when a player connects, and change the API regarding this. Please don't use the Server methods anymore, instead use ServerInfo.
CC: @TheDgtl
2013-01-31 20:53:22 +11:00
md_5
0721e3cc75 Sweet trick to avoid locking in global tab list, basically reimplement HashSet based on a ConcurrentHashMap. 2013-01-31 17:55:46 +11:00
md_5
e5bb5e5168 Use same initial ping as Minecraft - 1000 2013-01-31 17:46:15 +11:00
md_5
f9c4251417 Send forwaded data along the Bungee channel. 2013-01-28 09:19:06 +11:00
md_5
ed667e2b72 Allow bulk reading for what again should be a substantial reduction in CPU cycles, mostly due to the previous commit which didn't actually reduce CPU because of this not being present. 2013-01-27 19:33:11 +11:00
md_5
0985794eab Add GetServers channel. 2013-01-27 10:05:22 +11:00
md_5
8f090b6692 Add player list and player count channels. 2013-01-27 09:51:45 +11:00
md_5
b61758ca8e Actually don't need name for IP packet 2013-01-26 16:56:33 +11:00
md_5
bed67a90ef Dont let Bungee channels reach the user 2013-01-26 16:55:55 +11:00
md_5
f7d1c168fc Implement a way to get the users real IP. 2013-01-26 16:53:33 +11:00
md_5
45a62a111e Rework entity map to do both directions. 2013-01-26 09:22:26 +11:00
md_5
769e2e2148 And users before.... 2013-01-25 13:34:02 +11:00
md_5
931fcf416f Update everyones player list when a new player joins (GLOBAL tab list) 2013-01-25 13:29:22 +11:00
md_5
d6c3420ea1 *bungeecord permission for alert 2013-01-25 10:20:44 +11:00
md_5
1600d3509c * glist not list 2013-01-25 09:45:12 +11:00
md_5
2e04640638 Add getters for game / protocol version. 2013-01-24 14:55:21 +11:00
md_5
7fec907ab8 Use the set ping event 2013-01-24 14:51:10 +11:00