Search the Community
Showing results for tags 'json'.
Found 2 results
-
Both SQL and JSON are used in WurmUnlimited, for those wanting to learn how to work with them a good resource is W3Schools.com as they are free, and teach both of those along with many other programming aspects, mostly web oriented. Just be aware that WurmUnlimited for the most part uses Java, NOT JavaScript (except the aforementioned JSON of course) which is a completely different thing. Of the 2 they only teach JavaScript there so while it may be interesting it won't help you do too much modding here.
-
I made a little Node.js script that exports all merchants and their inventory to a JSON file. It can be used to display merchants inventories on a webpage, or in an external application. If you want, give it a go and let me know what you think! Suggestions are welcome. The script: https://github.com/woubuc/wu-merchant-exporter (see the Readme for information on how to use it) Example output from my local test server: https://gist.github.com/woubuc/33a2a5d5bcec8ce078a7 If there are any bugs, feel free to create an issue or submit a PR. Note: I have only tested this with a couple of merchants on a local creative test server. I don't know how resource-hungry the script will be when used on a busy server, so be careful.