Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I've placed this in on init, but I get an error - Server.setNumAllowedDownloads(3); - any ideas?
Server.setNumAllowedDownloads(3);
Solved it. This was missing in the source ADD_API_METHOD_1(setNumAllowedDownloads); I'll make a pull request.
ADD_API_METHOD_1(setNumAllowedDownloads);