CodeCrafter47 / BungeeTabListPlus

GNU General Public License v3.0
148 stars 69 forks source link

Error #248

Open RaitMan opened 7 years ago

RaitMan commented 7 years ago

I have this error

Cannot create property=components for JavaBean=codecrafter47.bungeetablistplus.config.FixedSizeConfig@48e1f6c7 in 'reader', line 1, column 1: showTo: "all" ^ Cannot create property=columns for JavaBean=codecrafter47.bungeetablistplus.config.components.PlayersByServerComponent@4722ef0c in 'reader', line 60, column 3:

AND MY CONFIG IS THIS!

showTo: "all"

priority: 22

type: FIXED_SIZE

showHeaderFooter: true

header:

headerAnimationUpdateInterval: 0.2

footer:

footerAnimationUpdateInterval: 0.5

customPlaceholders: afk_tag: !conditional condition: ${player essentials_afk} true: '&7|&oaway' 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}"

defaultIcon: colors/dark_gray.png defaultPing: 1000 size: 80 playerSets: global: filter: "true" lobby: filter: |- ${player server} == "lobby" survival: filter: |- ${player server} == "survival" pvp: filter: |- ${player server} == "pvp" event: filter: |- ${player server} == "event" components:

CodeCrafter47 commented 7 years ago

To use the table component use !table not !players_by_server. You can find more information about using the table component on the following wiki page: https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/Configuration-Basics-Part-8---Fixed-Size-Tablist---Table

RaitMan commented 7 years ago

Now i have 1 error.

23:53:43 [WARNING] [BungeeTabListPlus] Failed to load default.yml while scanning for the next token found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation) in 'reader', line 43, column 59: ... lors/dark_gray.png", ping: 1000} ^

at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:420)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226)
at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:531)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147)
at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:198)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:152)
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:246)
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:225)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:154)
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:246)
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:225)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:154)
at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:199)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:152)
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:246)
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:225)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:154)
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:122)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:505)
at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:465)
at codecrafter47.bungeetablistplus.yamlconfig.YamlConfig.read(YamlConfig.java:100)
at codecrafter47.bungeetablistplus.yamlconfig.YamlConfig.read(YamlConfig.java:96)
at codecrafter47.bungeetablistplus.managers.TabListManager.loadTabLists(TabListManager.java:67)
at codecrafter47.bungeetablistplus.BungeeTabListPlus.onEnable(BungeeTabListPlus.java:371)
at codecrafter47.bungeetablistplus.BungeePlugin.onEnable(BungeePlugin.java:40)
at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:227)
at net.md_5.bungee.BungeeCord.start(BungeeCord.java:273)
at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:55)
at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
CodeCrafter47 commented 7 years ago

As the error message says you cannot use tabs, you must use spaces instead.