Closed zezadas closed 9 years ago
{'auth': {'authenticated': False}}
Someone just needs to update the demo
I did that, and is not working I have start_settings = { 'username': 'player_name', 'authenticated': False, }
the only way I got to run the demo was changing
default_settings = { 'authenticated': True, <-- This True to False 'sess_quit': True, } in file spock/plugins/core/auth.py
Settings parser doesn't work like that, I haven't documented it (yet?)
By passing a dict to the "start" parameter, you're telling ONLY the "start" plugin that those are the settings you want it to use. Start plugin doesn't care about authentication, you can either pass {'authenticated': False}
as an "auth" parameter or you can build a more general settings dict and pass that to the "settings" parameter.
Anyway, fixed in https://github.com/SpockBotMC/SpockBot-Contrib/commit/8f39df86795b19bc2f36ce79c9e62e321c8ea4cf
humm ok. Now, I understand, thanks
https://github.com/SpockBotMC/SpockBot/commit/47919485da01f55565932b6e985f380a3a2d4a88
I think this commit breaks offline demo