1
Litebans Error
Hello! I've recently purchased and attempted to setup the Litebans plugin for my servers website and im getting console errors. Here is the console message:
[23:24:13] [Server thread/INFO]: [LiteBans] Enabling LiteBans v2.7.5
[23:24:13] [Server thread/ERROR]: [LiteBans] [!!] Could not load config.yml.
[23:24:13] [Server thread/ERROR]: [LiteBans] [!!] Configuration error found: while scanning for the next token
found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
in 'string', line 1, column 1:
# LiteBans config.yml generated ...
^
[23:24:13] [Server thread/ERROR]: [LiteBans] [!!] Your configuration might be invalid. It can be checked using: yaml-online-parser.appspot.com/
[23:24:13] [Server thread/ERROR]: [LiteBans] [!!] LiteBans will use the default configuration until errors have been fixed.
[23:24:13] [Server thread/INFO]: [LiteBans] Loading SQL driver: h2 1.4.197 (org.h2.Driver)
[23:24:13] [Server thread/INFO]: [LiteBans] Connecting to database...
[23:24:13] [Server thread/INFO]: [LiteBans] litebans-pool - Starting...
[23:24:14] [Server thread/INFO]: [LiteBans] litebans-pool - Start completed.
[23:24:14] [Server thread/INFO]: [LiteBans] Connected to [jdbc:h2:///home/container/plugins/LiteBans/litebans] (163.2 ms).
[23:24:14] [Server thread/INFO]: [LiteBans] Database connection fully initialized (664.4 ms).
[23:24:14] [Server thread/INFO]: [LiteBans] v2.7.5 enabled. Startup took 761 ms.
And here is the config:
pastebin.com/ceErr2iu
I cant figure out why this isnt working, The Config for the website is but the plugin part of it isnt.
[23:24:13] [Server thread/INFO]: [LiteBans] Enabling LiteBans v2.7.5
[23:24:13] [Server thread/ERROR]: [LiteBans] [!!] Could not load config.yml.
[23:24:13] [Server thread/ERROR]: [LiteBans] [!!] Configuration error found: while scanning for the next token
found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
in 'string', line 1, column 1:
# LiteBans config.yml generated ...
^
[23:24:13] [Server thread/ERROR]: [LiteBans] [!!] Your configuration might be invalid. It can be checked using: yaml-online-parser.appspot.com/
[23:24:13] [Server thread/ERROR]: [LiteBans] [!!] LiteBans will use the default configuration until errors have been fixed.
[23:24:13] [Server thread/INFO]: [LiteBans] Loading SQL driver: h2 1.4.197 (org.h2.Driver)
[23:24:13] [Server thread/INFO]: [LiteBans] Connecting to database...
[23:24:13] [Server thread/INFO]: [LiteBans] litebans-pool - Starting...
[23:24:14] [Server thread/INFO]: [LiteBans] litebans-pool - Start completed.
[23:24:14] [Server thread/INFO]: [LiteBans] Connected to [jdbc:h2:///home/container/plugins/LiteBans/litebans] (163.2 ms).
[23:24:14] [Server thread/INFO]: [LiteBans] Database connection fully initialized (664.4 ms).
[23:24:14] [Server thread/INFO]: [LiteBans] v2.7.5 enabled. Startup took 761 ms.
And here is the config:
pastebin.com/ceErr2iu
I cant figure out why this isnt working, The Config for the website is but the plugin part of it isnt.
Create an account or sign in to comment.
5
I looked at the PasteBin, and the problem is very clear. The log tells you this:
found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
in 'string', line 1, column 1:
And look at the pastebin again, the first line. It has a tab, and after a while the #.
Remove the empty space before # and try again.
found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
in 'string', line 1, column 1:
And look at the pastebin again, the first line. It has a tab, and after a while the #.
Remove the empty space before # and try again.
Diddn't notice that, thanks! For some reason the host im using has a auto indentation thing that made it do that.
Can you use Pastebin to post the config?
Did you check the config at the site suggested in the config?
Did you check the config at the site suggested in the config?
Also, I've made it into pastebin
Yes, It has the same error as the console messgage.