@CodeCrafter47 The 2 servers in 1 column I get. I also get 3 world names in 1 column, but then it shows me in all 3 worlds at the same time.
It doesn't really matter whether you want to display servers or worlds. To display players of a single world just create a player set containing just these players. Example: Code (Text): playerSets: survival_nether: filter: ${player server} == "survival" and ${player world} == "world_nether"
Why sorted bei rank? My problem is that "${server:<servername> tps}" doesn't work for me. (missing number) Here is my config: http://pastebin.com/jGCnUJ3J I hope you can help me.
Oh sorry. This one's wrong: Code (Text): server_colored_TPS: !conditional condition: "${citybuild tps} >= 18 or ${citybuild tps} <= 22" true: "&a${citybuild tps} &7TPS" false: "&e${citybuild tps} &7TPS" needs to be Code (Text): server_colored_TPS: !conditional condition: "${server:citybuild tps} >= 18 or ${server:citybuild tps} <= 22" true: "&a${server:citybuild tps} &7TPS" false: "&e${server:citybuild tps} &7TPS" You can alternatively use a custom placeholder with parameter so you can show the tps of different servers: Code (Text): custom_server_tps0: !conditional parameters: 1 condition: "${server:%0 tps} <= 16 or ${server:%0 tps} >= 24" true: "&c${server:%0 tps}" false: "&e${server:%0 tps}" custom_server_tps: !conditional parameters: 1 condition: "${server:%0 tps} <= 18 or ${server:%0 tps} >= 22" true: "${custom_server_tps0 %0}" false: "&a${server:%0 tps}" And then use ${custom_server_tps citybuild}, ${custom_server_tps farm}, ... in the components section of the config.
I see i've send you the wrong "config.yml" xD I tried your parameters but it still doesn't work. The TPS number is missing.
Can you try the following config? It's only intended for testing purposes (it will not display any players). Code (Text): showTo: "true" priority: 10000 playerSets: all_players: filter: ${player bungeecord_primary_group} != "" hiddenPlayers: VISIBLE type: FIXED_SIZE size: 40 defaultIcon: colors/dark_gray.png defaultPing: 1000 components: - !players_by_server playerSet: all_players playerOrder: 'alphabetically' playerComponent: [] morePlayersComponent: [] includeEmptyServers: true serverOrder: playercount serverHeader: !conditional condition: ${server_player_count} > 0 true: - "$&f{server:${server} tps}" - "${server tps}" false: - "&7$&7{server:${server} tps}" - "&7no player connected" It will display the list of tps placeholders for all your servers and the value. In my testing setup it looks like this:
Inside Playersets Code (Text): playerSets: global: filter: "true" adventure: filter: ${player server} == "Adventure" citybuild: filter: ${player server} == "Citybuild" farm: filter: ${player server} == "Farm" handel: filter: ${player server} == "Handel" lobby: filter: ${player server} == "Lobby" Inside customPlaceholders Code (Text): customPlaceholders: afk_tag: !conditional condition: ${player essentials_afk} true: ' &7| &oAFK' false: '' viewer_colored_ping0: !conditional condition: "${viewer ping} < 50" true: "&a${viewer ping}" false: "&e${viewer ping}" viewer_colored_ping: !conditional condition: "${viewer ping} < 150" true: ${viewer_colored_ping0} false: "&c${viewer ping}" custom_server_tps0: !conditional parameters: 1 condition: "${server:citybuild tps} <= 16 or ${server:citybuild tps} >= 24" true: "&c${server:citybuild tps} &7TPS" false: "&e${server:citybuild tps} &7TPS" custom_server_tps: !conditional parameters: 1 condition: "${server:citybuild tps} <= 18 or ${server:citybuild tps} >= 22" true: "${custom_server_tps0 %0}" false: "&a${server:citybuild tps} &7TPS" serverstatusCityBuild: !conditional condition: "${server:citybuild online} or ${server:citybuild online}" true: "&2Online" false: "&4Offline" serverstatusFarm: !conditional condition: "${server:farm online} or ${server:farm online}" true: "&2Online" false: "&4Offline" serverstatusHandel: !conditional condition: "${server:handel online} or ${server:handel online}" true: "&2Online" false: "&4Offline" serverstatusAdventure: !conditional condition: "${server:adventure online} or ${server:adventure online}" true: "&2Online" false: "&4Offline" Inside Components Code (Text): - !table columns: 0: - {text: "&6&lCityBuild&r :&e ${playerset:citybuild size}", icon: "colors/gold.png", ping: 0} - {text: "${serverstatusCityBuild} &f| ${custom_server_tps citybuild}"} - !players playerSet: citybuild playerOrder: 'vaultGroupInfo' playerComponent: {text: "${player name}${afk_tag}", icon: "${player skin}", ping: "${player ping}"} morePlayersComponent: {text: "&7... and ${other_count} others", icon: "default/players.png", ping: 0} 1: - {text: "&5&lHandel&r :&d ${playerset:handel size}", icon: "colors/dark_purple.png", ping: 0} - {text: "${serverstatusHandel} &f| ${server_colored_TPS}"} - !players playerSet: handel playerOrder: 'vaultGroupInfo' playerComponent: {text: "${player name}${afk_tag}", icon: "${player skin}", ping: "${player ping}"} morePlayersComponent: {text: "&7... and &e${other_count} &7others", icon: "colors/gray_form1.png", ping: 0} 2: - {text: "&2&lFarm&r :&a ${playerset:farm size}", icon: "colors/dark_green.png", ping: 0} - {text: "${serverstatusFarm} &f| ${server_colored_TPS}"} - !players playerSet: farm playerOrder: 'vaultGroupInfo' playerComponent: {text: "${player name}${afk_tag}", icon: "${player skin}", ping: "${player ping}"} morePlayersComponent: {text: "&7... and &e${other_count} &7others", icon: "colors/gray_form1.png", ping: 0} 3: - {text: "&4&lAdventure&r :&c ${playerset:adventure size}", icon: "colors/dark_red.png", ping: 0} - {text: "${serverstatusAdventure} &f| ${server_colored_TPS}"} - !players playerSet: adventure playerOrder: 'vaultGroupInfo' playerComponent: {text: "${player name}${afk_tag}", icon: "${player skin}", ping: "${player ping}"} morePlayersComponent: {text: "&7... and &e${other_count} &7others", icon: "colors/gray_form1.png", ping: 0}
I think the problem is, that your server is called Citybuild not citybuild, so you need to use ${custom_server_tps Citybuild} not ${custom_server_tps citybuild}.
Hmm... still doesn't work. I've edit the last post. I've add the playerSets for you. ${server:Citybuild tps} & ${server:citybuild tps} doesn't work and if i change it to ${custom_server_tps Citybuild} then I see this: Code (Text): 17.12 14:13:16 [Server] SEVERE [BungeeTabListPlus] Error while updating tablist 17.12 14:13:16 [Server] INFO java.lang.StackOverflowError 17.12 14:13:16 [Server] INFO at sun.misc.FloatingDecimal$BinaryToASCIIBuffer.dtoa(FloatingDecimal.java:431) 17.12 14:13:16 [Server] INFO at sun.misc.FloatingDecimal$BinaryToASCIIBuffer.access$100(FloatingDecimal.java:259) 17.12 14:13:16 [Server] INFO at sun.misc.FloatingDecimal.getBinaryToASCIIConverter(FloatingDecimal.java:1785) 17.12 14:13:16 [Server] INFO at sun.misc.FloatingDecimal.getBinaryToASCIIConverter(FloatingDecimal.java:1738) 17.12 14:13:16 [Server] INFO at sun.misc.FloatingDecimal.toJavaFormatString(FloatingDecimal.java:70) 17.12 14:13:16 [Server] INFO at java.lang.Double.toString(Double.java:204) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.NumberToken.<init>(NumberToken.java:29) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.ExpressionTokenizer.nextToken(ExpressionTokenizer.java:144) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression.<init>(Expression.java:49) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.config.CustomPlaceholder$Conditional.instantiate(CustomPlaceholder.java:97) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.placeholder.Placeholder$CustomPlaceholder.evaluate(Placeholder.java:285) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$PlaceholderPart.evaluate(Expression.java:237) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$LesserOrEqualThanPart.evaluate(Expression.java:407) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$LogicPart.evaluate(Expression.java:263) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$OrPart.evaluate(Expression.java:315) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$LogicPart.evaluate(Expression.java:263) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression.evaluate(Expression.java:163) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.config.CustomPlaceholder$Conditional$Instance.evaluate(CustomPlaceholder.java:118) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.placeholder.Placeholder$CustomPlaceholder.evaluate(Placeholder.java:290) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.template.TextTemplate$PlaceholderPart.evaluate(TextTemplate.java:87) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.template.TextTemplate.evaluate(TextTemplate.java:58) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.config.CustomPlaceholder$Conditional$Instance.evaluate(CustomPlaceholder.java:118) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.placeholder.Placeholder$CustomPlaceholder.evaluate(Placeholder.java:290) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$PlaceholderPart.evaluate(Expression.java:237) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$LesserOrEqualThanPart.evaluate(Expression.java:407) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$LogicPart.evaluate(Expression.java:263) 17.12 14:13:16 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$OrPart.evaluate(Expression.java:315) 17.12 14:13:17 [Multicraft] Skipped 997 lines due to rate limit (30/s) 17.12 14:13:17 [Server] SEVERE [BungeeTabListPlus] Error while updating tablist 17.12 14:13:17 [Server] INFO java.lang.StackOverflowError 17.12 14:13:17 [Server] INFO at sun.misc.FloatingDecimal$BinaryToASCIIBuffer.dtoa(FloatingDecimal.java:431) 17.12 14:13:17 [Server] INFO at sun.misc.FloatingDecimal$BinaryToASCIIBuffer.access$100(FloatingDecimal.java:259) 17.12 14:13:17 [Server] INFO at sun.misc.FloatingDecimal.getBinaryToASCIIConverter(FloatingDecimal.java:1785) 17.12 14:13:17 [Server] INFO at sun.misc.FloatingDecimal.getBinaryToASCIIConverter(FloatingDecimal.java:1738) 17.12 14:13:17 [Server] INFO at sun.misc.FloatingDecimal.toJavaFormatString(FloatingDecimal.java:70) 17.12 14:13:17 [Server] INFO at java.lang.Double.toString(Double.java:204) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.NumberToken.<init>(NumberToken.java:29) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.ExpressionTokenizer.nextToken(ExpressionTokenizer.java:144) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression.<init>(Expression.java:49) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.config.CustomPlaceholder$Conditional.instantiate(CustomPlaceholder.java:97) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.placeholder.Placeholder$CustomPlaceholder.evaluate(Placeholder.java:285) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$PlaceholderPart.evaluate(Expression.java:237) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$LesserOrEqualThanPart.evaluate(Expression.java:407) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$LogicPart.evaluate(Expression.java:263) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$OrPart.evaluate(Expression.java:315) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$LogicPart.evaluate(Expression.java:263) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression.evaluate(Expression.java:163) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.config.CustomPlaceholder$Conditional$Instance.evaluate(CustomPlaceholder.java:118) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.placeholder.Placeholder$CustomPlaceholder.evaluate(Placeholder.java:290) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.template.TextTemplate$PlaceholderPart.evaluate(TextTemplate.java:87) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.template.TextTemplate.evaluate(TextTemplate.java:58) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.config.CustomPlaceholder$Conditional$Instance.evaluate(CustomPlaceholder.java:118) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.placeholder.Placeholder$CustomPlaceholder.evaluate(Placeholder.java:290) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$PlaceholderPart.evaluate(Expression.java:237) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$LesserOrEqualThanPart.evaluate(Expression.java:407) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$LogicPart.evaluate(Expression.java:263) 17.12 14:13:17 [Server] INFO at codecrafter47.bungeetablistplus.expression.Expression$OrPart.evaluate(Expression.java:315)
The error looks like you changed something in the custom placeholder part of the config. Please use the custom placeholder exactly like this and do not change it: Code (Text): custom_server_tps0: !conditional parameters: 1 condition: "${server:%0 tps} <= 16 or ${server:%0 tps} >= 24" true: "&c${server:%0 tps}" false: "&e${server:%0 tps}" custom_server_tps: !conditional parameters: 1 condition: "${server:%0 tps} <= 18 or ${server:%0 tps} >= 22" true: "${custom_server_tps0 %0}" false: "&a${server:%0 tps}" Then in the components part use it like that: Code (Text): - {text: "${serverstatusCityBuild} &f| ${custom_server_tps Citybuild}"} same for the other servers. The server name must exactly match the name in BungeeCord's config.yml. Note that you need to be connected to the citybuild server otherwise it won't show the tps.
Okay. I've fixed it. ${server:Citybuild tps} < this works. Yeah i think it was my fault. xD Thank you very much for your help.
Hello! I noticed a bug in the current version. The conditional component (with a basic component) Code (Text): !conditional condition: |- ${server:survival online} == true true: {text: "&bSurvival: &aONLINE", icon: "colors/green.png", ping: 0} false: {text: "&bSurvival: &cOFFLINE", icon: "colors/red.png", ping: 0} Does not work in "customPlaceholders". (The conditional component with plaintext works.) Furthermore, I have also 2 suggestions. 1. Can you add a ${server whitelist} & ${player iswhitelisted} placeholder? 2. "players_by_server" has a "serverOrder" property with the available options: alphabetically, playercount and online. A "custom order" would be very useful.
Custom placeholders are no components. They are (intentionally!) text-only placeholders. A placeholder to check whether a server has a whitelist would requires at least one player to be connected to every server otherwise it won't be resolved (just like the tps placeholder). That probably kills most use cases, for that reason such a placeholder doesn't exist. The way player based placeholders are currently implemented they are always resolved on the server the player is connected to, adding a placeholder to check whether a player is on the white list makes absolutely no sense in that system. A custom order option for the players by server component is basically a good idea. I can imagine this to be useful for many people. I'll think about how to add this.