Commit Graph

368 Commits

Author SHA1 Message Date
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
7f77b62852 Really really include mysql. 2013-02-07 10:30:25 +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
c21b87d930 Really include mysql 2013-02-01 07:29:54 +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
md_5
8797a29761 Add getServerInfo(name) and rework plugin channel system for stupud Bukkit limitations. 2013-01-24 14:13:27 +11:00
md_5
8f32374cda Dont remove from server if not connected to one. 2013-01-24 14:03:00 +11:00
md_5
ec35482102 Properly colour MOTDs 2013-01-24 11:34:30 +11:00
md_5
8021f58451 Implement server ping method. 2013-01-23 16:50:25 +11:00
md_5
355d4988f3 Fix alerts being cut off at start 2013-01-22 19:34:31 +11:00
md_5
e80c0de92b Include all the mysql! 2013-01-22 17:01:32 +11:00
md_5
6333f3bbb6 Actually format. 2013-01-22 16:25:05 +11:00
md_5
7e41a6cd70 Enable plugins like they were meant to 2013-01-22 16:00:13 +11:00
md_5
def2269b6e Merge API into master. This marks the dawn of a new Bungee era, but must be regarded as UNSTABLE. 2013-01-22 13:33:36 +11:00
md_5
cae71552cd Fix permissions and stuff, we are go for master! 2013-01-22 13:21:04 +11:00
md_5
a22f57c1f5 Add default permissions 2013-01-22 12:29:46 +11:00
md_5
ade3fe4311 Just need to add default permissions and we are ready for release. 2013-01-22 10:39:21 +11:00
md_5
4b9b2cbb96 Add plugin channel support for plugins. 2013-01-22 10:20:33 +11:00
md_5
39506f3fa6 Add crucial getter for server info 2013-01-21 17:49:34 +11:00
md_5
57576912c1 Add forced servers back. 2013-01-21 14:04:46 +11:00
md_5
c281f008c3 Ok, I guess tomorrow is testing day. 2013-01-20 15:09:13 +11:00
md_5
9ce148681d Add server connected event 2013-01-20 15:02:45 +11:00
md_5
77d5398124 Add yaml reconnect handler. 2013-01-19 17:02:49 +11:00
md_5
355afba6da Fix config, up next, reconnect handler. 2013-01-19 14:05:33 +11:00
md_5
bf1e7f09a9 Well, it compiles, time to start fixing stuff. 2013-01-19 13:33:04 +11:00
md_5
cf42a10ba4 Pretty close to compiling for the first time in ages. It wont be anywhere near working though. 2013-01-19 10:49:11 +11:00
md_5
8bff34b8b6 Add the start of a config loader. 2013-01-19 10:13:55 +11:00
md_5
4ba6993039 Clean commands a bit. 2013-01-18 11:39:15 +11:00
md_5
8e3f750c7c Make the tab list implementations pruddy. 2013-01-18 11:33:44 +11:00
md_5
df37612494 Add permissions 2013-01-18 11:11:52 +11:00
md_5
32ef5212f8 This is hard >.> 2013-01-18 10:46:55 +11:00
md_5
55867dbdc3 More work 2013-01-17 12:37:02 +11:00
md_5
592a504e77 Start work on making it compile again. 2013-01-17 11:59:59 +11:00
md_5
098ca5920e Start a hugely messy implementation of the API 2013-01-16 11:16:21 +11:00
md_5
b4105f8081 Finish up command API, with permissions and aliases! 2013-01-12 12:03:59 +11:00
md_5
434b950a92 More changes. API is going well, but struggling to break it up into sensible classes whilst allowing for the fact that in the future we will have:
- Player to Proxy
- Proxy to Proxy
- Player to Internal Server
Connections.
2013-01-11 09:49:54 +11:00
md_5
9196f8f61e More work on the API: Up next, command senders. 2013-01-10 19:54:12 +11:00
md_5
162f75423d Add stub api class. 2013-01-10 17:56:09 +11:00
md_5
0354ce3588 Don't want to stage them - update gitignore. 2013-01-10 17:43:32 +11:00
md_5
a7f7a49fc3 Refactor into maven modules. 2013-01-10 17:41:37 +11:00