Sim Posted January 24, 2021 Posted January 24, 2021 { "name": "Jobs", "version": "1.0.0", "description": "This module adds a job system to your game that gives players the ability to get a job thst pays daily and move up the ranks to earn more money.", "author": { "name": "William Hughes", "url": "http:\/\/. coming soon.com" }, "pageName": "Jobs", "accessInJail": false, "requireLogin": true, "adminGroup": "Game Mechanics", "admin": [ { "text": "View Rank's", "method": "view" }, { "text": "View Jobs", "method": "viewJobs" }, { "text": "New Job/Rank", "method": "new" }, { "hide": true, "text": "Edit Rank", "method": "editRank" }, { "hide" : true, "text": "Edit Job", "method": "editJob" }, { "hide": true, "text": "Delete Rank", "method": "deleteRank" }, { "hide": true, "text": "Delete Job", "method": "deleteJob" }, ] } Everything was working fine until inedited my module.json file. I done recreated it about 6x. This happens to me every note amd again when adding extra links. I can't seem to find my problem. But sure another set of eyes can. Edit: nvm, found this one. Near end, unwanted comma. Quote
AdamHull Posted January 24, 2021 Posted January 24, 2021 https://jsonlint.com/ this is a tool that you can use on your mobile to validate your json if you ever find your self stuck in the future 1 1 Quote
ags_cs4 Posted January 26, 2021 Posted January 26, 2021 { "hide": true, "text": "Delete Job", "method": "deleteJob" }, remove the last , in array in json Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.