Load JSON File in client (config)

Hello guys,
I wanna use json files as language settings.

Now I wanna make the clients downloading the json files, but it doesnt work.
I added the json files to the addon resource:


But when I connect to the server It gets an error in the server console:

What can I do ? How can I send the json files to the client ?

You can’t send .json files. If you want to implement languages, have them be in .lua files.

An alternative option would be to have the client download the languages externally, from GitHub or something using


Oh ok… thats sad :stuck_out_tongue: Thank you anyways! :slight_smile:

Just append it with .lua, and AddCSLuaFile that way. Don’t run it, just read it.