Jump to content
MakeWebGames

Undefined index admin.inc line 40


Sim

Recommended Posts

{
    "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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...