Hi :) There is some problem with TabExecutor and I think I found the problem. Exemple : /send <playerName|all|current> <targetServer> When I write "/send " (with trailing space) and press Tab, I don't have any suggestion. But when I wrote the first character of an online player, it suggest all players which start with this same character (expected behavior) The problem is the same when I wrote "/send marcbal " (with trailing space). When I press Tab key, I have "marcbal" suggested instead of servers suggestion. (the result is "/send marcbal marcbal"). But when i wrote the first character of a server name, it suggest all servers which start with this same character (expected behavior) other exemple : there is 2 players online in the same server : me (marcbal) and marcbaleeee (for exemple) when I wrote "/send marcbal " (with trailing space) and I press Tab key, I have the suggestion of the 2 player names. I deduced that the onTabComplete() don't care about the trailing space of the command string (exemple : "/send marcbal ") and probably a problem when splitting (removing last trailing empty args), so, the onTabComplete method try to complete the first argument "marcbal" instead of the second empty argument. To split the command line, you use the method Pattern.split(CharSequence) that remove trailing empty strings http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#split(java.lang.CharSequence) So, we should use the other split() method, with a second argument which has to be a negative integer value. (see Javadoc) PS : Sorry for my bad english x) |
||
---|---|---|
api | ||
bootstrap | ||
chat | ||
config | ||
event | ||
module | ||
native | ||
protocol | ||
proxy | ||
query | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
nb-configuration.xml | ||
pom.xml | ||
README.md |
BungeeCord
The most reliable Minecraft server portal suite.
BungeeCord is a piece of Java software which allows a user to link multiple Minecraft servers together, allowing players to teleport between them and access advanced features. This makes it perfect for servers looking to expand their player base and spread across multiple gameplay styles.
History
For a long time developers have tried to create these mythical 'cloud' systems as outlined above. Until now, none of them have succeeded in making a fully open source and reliable 'cloud'. You may have already noticed my quoting of the word 'cloud', and this is one of the last times you will see it in this document. BungeeCord is NOT a 'cloud'. The actual meaning of the aforementioned word is quoted below:
The use of computing resources (hardware and software) that are delivered as a service over a network (typically the Internet).
BungeeCord does not do this and therefore is not a 'cloud'. Please do not refer to it as one, since the owners and operators of real clouds will get very angry, and you will be seen as ignorant and stupid. Instead I encourage you to use the term 'Server Port Suite' or something to that effect.
Installation & Usage
For and in depth guide to the installation and usage of BungeeCord you should check the current primary download location. The current link is provided below for your convenience.