PermissionsEx

PermissionsEx

14M Downloads

PEX stopped loading in when I added more permissions

anime2902 opened this issue ยท 3 comments

commented

Can anyone please tell me what the problem is. Here is what I have in my .json
https://pastebin.com/5H5b5CKR

commented

that paste doesn't exist anymore can't help you if you don't send a valid paste

commented

oh
here

{
    "subjects": {
        "default": {
            "default": [
                {
                    "contexts": {
                        "localip": "127.0.0.1"
                    },
                    "permissions-default": 0
                }
            ],
            "user": [
                {
                    "parents": [
                        "group:default"
                    ]
                }
            ]
        },
        "group": {
            "admin": [
                {
                    "permissions-default": 3,
                    "options": {
                        "pay": "300",
                        "prefix": "&L&f[ADMIN]"
                    }
                }
            ],
            "VIP": [
                {
                    "parents": [
                        "group:member"
                    ],
                    "options": {
                        "pay": "300",
                        "prefix": "&L&6[VIP]"
                    },
                    "permissions-default": 0
					"permissions": {
						"nucleus.teleport.tpaccept.base": 1,
                        "nucleus.home.set.base": 1,
                        "griefprevention.createclaims": 1,
                        "nucleus.tpa": 1,
                        "nucleus.teleport.tpa.base": 1,
                        "world.spawn": 1,
                        "nucleus.spawn.base": 1,
                        "nucleus.teleport.tpdeny.base": 1,
                        "world.teleport": 1,
                        "nucleus.home.base": 1
                }
            ],
            "default": [
                {
                    "options": {
                        "pay": "100",
                        "prefix": "&L&3[GUEST]"
                    },
                    "permissions-default": 0,
                    "permissions": {
                        "nucleus.teleport.tpaccept.base": 1,
                        "nucleus.home.set.base": 1,
                        "griefprevention.createclaims": 1,
                        "nucleus.tpa": 1,
                        "nucleus.teleport.tpa.base": 1,
                        "world.spawn": 1,
                        "nucleus.spawn.base": 1,
                        "nucleus.teleport.tpdeny.base": 1,
                        "world.teleport": 1,
                        "nucleus.home.base": 1
                    }
                }
            ],
            "member": [
                {
                    "options": {
                        "pay": "150",
                        "prefix": "&L&a[MEMBER]"
                    },
                    "permissions-default": 0,
                    "permissions": {
                        "nucleus.teleport.tpaccept.base": 1,
                        "nucleus.home.set.base": 1,
                        "griefprevention.createclaims": 1,
                        "nucleus.tpa": 1,
                        "nucleus.teleport.tpa.base": 1,
                        "world.spawn": 1,
                        "nucleus.spawn.base": 1,
                        "nucleus.teleport.tpdeny.base": 1,
                        "world.teleport": 1,
                        "nucleus.home.base": 1
                    }
                }
            ],
            "silver": [
                {
                    "options": {
                        "pay": "150",
                        "prefix": "&L&7[SILVER]"
                    },
                    "permissions-default": 0,
                    "permissions": {
                        "nucleus.teleport.tpaccept.base": 1,
                        "nucleus.home.set.base": 1,
                        "griefprevention.createclaims": 1,
                        "nucleus.tpa": 1,
                        "nucleus.teleport.tpa.base": 1,
                        "world.spawn": 1,
                        "nucleus.spawn.base": 1,
                        "nucleus.teleport.tpdeny.base": 1,
                        "world.teleport": 1,
                        "nucleus.home.base": 1
                    }
                }
            ],
            "gold": [
                {
                    "options": {
                        "pay": "150",
                        "prefix": "&L&6[GOLD]"
                    },
                    "permissions-default": 0,
                    "permissions": {
                        "nucleus.teleport.tpaccept.base": 1,
                        "nucleus.home.set.base": 1,
                        "griefprevention.createclaims": 1,
                        "nucleus.tpa": 1,
                        "nucleus.teleport.tpa.base": 1,
                        "world.spawn": 1,
                        "nucleus.spawn.base": 1,
                        "nucleus.teleport.tpdeny.base": 1,
                        "world.teleport": 1,
                        "nucleus.home.base": 1
                    }
                }
            ],
            "sapphire": [
                {
                    "options": {
                        "pay": "150",
                        "prefix": "&L&1[SAPPHIRE]"
                    },
                    "permissions-default": 0,
                    "permissions": {
                        "nucleus.teleport.tpaccept.base": 1,
                        "nucleus.home.set.base": 1,
                        "griefprevention.createclaims": 1,
                        "nucleus.tpa": 1,
                        "nucleus.teleport.tpa.base": 1,
                        "world.spawn": 1,
                        "nucleus.spawn.base": 1,
                        "nucleus.teleport.tpdeny.base": 1,
                        "world.teleport": 1,
                        "nucleus.home.base": 1
                    }
                }
            ],
            "ruby": [
                {
                    "options": {
                        "pay": "150",
                        "prefix": "&L&c[RUBY]"
                    },
                    "permissions-default": 0,
                    "permissions": {
                        "nucleus.teleport.tpaccept.base": 1,
                        "nucleus.home.set.base": 1,
                        "griefprevention.createclaims": 1,
                        "nucleus.tpa": 1,
                        "nucleus.teleport.tpa.base": 1,
                        "world.spawn": 1,
                        "nucleus.spawn.base": 1,
                        "nucleus.teleport.tpdeny.base": 1,
                        "world.teleport": 1,
                        "nucleus.home.base": 1
                    }
                }
            ],
            "owner": [
                {
                    "permissions-default": 4,
                    "options": {
                        "pay": "300",
                        "prefix": "&L&5[OWNER]"
                    }
                }
            ]
        },
        "user": {
            "5ab890fd-9d33-490b-9e72-4c2019becfff": [
                {
                    "parents": [
                        "group:sapphire"
                    ],
                    "options": {
                        "name": "anime2902",
                    }
                }
            ],
            "49ca595d-49e0-4912-8fd6-e81340b68d3e": [
                {
                    "parents": [
                        "group:admin"
                    ]
                }
            ],
            "cd1a5103-7b0a-4779-b7c8-769dbba71a0c": [
                {
                    "parents": [
                        "group:VIP"
                    ],
                    "options": {
                        "name": "BalloonJeans8"
                    }
                }
            ],
            "aa513f4c-d3ff-4daf-a9bb-adcc0e8f8423": [
                {
                    "parents": [
                        "group:VIP"
                    ],
                    "options": {
                        "name": "JustKeepLily"
                    }
                }
            ]
        }
    },
    "schema-version": 4,
    "rank-ladders": {
        "default": [
            "group:default",
            "group:member",
            "group:VIP"
        ]
    },
    "context-inheritance": {}
}
commented

you have syntax errors in your json -- check it in a json validator (they're on google)