Permission/Groups Help

  • Steam or Standalone?
    Steam
    Singleplayer or multiplayer?
    Multiplayer
    Error message?
    Yes
    Operating system
    Windows

    The Error I am getting is -

    "One Or More Permissions Could Not Be Loaded. Please Check The Syntax Of The Following Permission Files:" then lists EVERY .json file I have in my servers "groups" folder.

    I've attached a .zip of all my .json files of the groups. Considering its every single one of them listed in this folder, I can only assume its 1 issue on all of them. They are all slightly different (its factions, admins, mods) and so its making me think its the "images" section somehow. Its the only thing I've changed since the last time I had all these working.

    Thoughts? Appreciate any help!

  • Would you post the text of one of the permissions? I don't want to download all your permissions to be able to comment on them. There's probably an extra comma somewhere (if you added the image section at the very bottom, the last comma needs to be removed, for example).


    Maybe you'll get a reply from someone who downloaded it ;)

  • Would you post the text of one of the permissions? I don't want to download all your permissions to be able to comment on them. There's probably an extra comma somewhere (if you added the image section at the very bottom, the last comma needs to be removed, for example).


    Maybe you'll get a reply from someone who downloaded it ;)

    Like, just a copy paste of it? Would you even be able to tell whats wrong based off that?

  • {

    "info": {

    "chat": true,

    "chatcolor": "#6BC292",

    "chatemojis": true,

    "chatnamecolor": "#6BC292",

    "chatnameprefix": "[ALWH]",

    "chatnamesuffix": "",

    "chatprefix": "",

    "chatrichtext": true,

    "group": "Aldewyth",

    "groupcolor": "#6BC292",

    "nametagalwaysvisible": true,

    "nametagcolor": "#FFFFFF",

    "nametagprefix": "[ALWH]",

    "nametagprefixcolor": "#FFFFFF",

    "nametagsuffix": "",

    "nametagsuffixcolor": "#FFFFFF",

    "showadmintag": false,

    "showdistance": true,

    "showinplayerlist": true,

    "shownametag": true

    },

    "area": {

    "addplayer": true,

    "create": true,

    "delete": true,

    "removeplayer": true,

    "setclaimable": true,

    "setname": true,

    "setpermission": true,

    "setpriority": true

    },

    "blueprint": {

    "create": false,

    "createown": false,

    "maxelements": -1,

    "maxsize": -1,

    "place": false,

    "placelimitsession": -1,

    "placeterrain": true,

    "placevegetation": true

    },

    "command": {

    "backup": false,

    "ban": false,

    "cleanup": false,

    "clearinventory": false,

    "deletenpc": false,

    "deleteplayer": false,

    "deletesector": false,

    "disablenpc": false,

    "editnpc": false,

    "findbase": false,

    "gc": true,

    "getplayerinfo": false,

    "getserverinfo": false,

    "heal": false,

    "itemgive": true,

    "kick": false,

    "kill": false,

    "makeadmin": false,

    "plugins": true,

    "recalculatelods": true,

    "reloadjournal": true,

    "reloadpermissions": false,

    "reloadplugins": true,

    "reloadscheduler": false,

    "restart": false,

    "revokeadmin": false,

    "saveall": false,

    "savepermissions": false,

    "setclothing": false,

    "setdate": false,

    "setdefaultgroup": false,

    "setinventory": false,

    "setplayergroup": false,

    "setsky": false,

    "setspawn": false,

    "settime": false,

    "settimespeed": false,

    "setweather": false,

    "showareas": false,

    "shutdown": false,

    "spawnnpc": false,

    "spawnvehicle": false,

    "sql": true,

    "teleport": false,

    "toggleterrain": false,

    "togglewater": false,

    "updatescheduler": false,

    "visualization": true,

    "yell": false

    },

    "creative": {

    "allrecipes": false,

    "areatools": false,

    "edittools": false,

    "fly": false,

    "freecrafting": false,

    "godmode": false,

    "infiniteitems": false,

    "instantdigging": false,

    "light": true,

    "placementtools": false,

    "removaltools": false,

    "terraintools": false,

    "watertools": false

    },

    "general": {

    "changeblockshape": true,

    "changeclothes": true,

    "changegamemode": false,

    "changeskin": true,

    "crafting": true,

    "destroyitems": true,

    "destroyownvehicles": true,

    "destroyvehicles": true,

    "dropitems": true,

    "edititems": true,

    "editnpcs": true,

    "editownitems": true,

    "editownvehicles": true,

    "editvehicles": true,

    "fixedspawn": false,

    "fly": false,

    "godmode": false,

    "healthregeneration": 1,

    "instantdigging": false,

    "keepinventory": true,

    "noclipping": false,

    "nofalldamage": false,

    "nohungerthirst": false,

    "nostamina": false,

    "notemperature": false,

    "openinventory": true,

    "pickupitems": true,

    "placeitems": true,

    "placevehicles": true,

    "pve": true,

    "pvp": true,

    "ridemounts": true,

    "unlockalldoors": false,

    "useallchests": true,

    "usealllights": true,

    "useallobjects": true,

    "useallvehicles": true,

    "voicechat": true

    },

    "image": {

    "delete": true,

    "deleteown": true,

    "maxamount": 500,

    "maxresolution": 512

    },

    "map": {

    "allicons": false,

    "createglobalmarker": false,

    "createlocalmarker": true

    },

    "world": {

    "destroyconstructions": true,

    "destroyobjects": true,

    "destroyownconstructions": true,

    "destroyownobjects": true,

    "destroyownvegetations": true,

    "destroyterrain": true,

    "destroyvegetations": true,

    "editconstructions": true,

    "editobjects": true,

    "editownconstructions": true,

    "editownobjects": true,

    "editownvegetations": true,

    "editvegetations": true,

    "placeconstructions": true,

    "placeobjects": true,

    "placeobjectsexception": [],

    "placeterrain": true,

    "placevegetations": true,

    "undo": true

    },

    "forbidden": {

    "crafting": [],

    "items": [],

    "objects": []

    }

    }

  • yes

    I read that the ".permissions" is only needed for Java version, and ".json" for the Unity version. We're on Unity, and these are .json files. I still have no idea what I did wrong. Im bashing my head in a wall here Lol.

    I've looked over the code several times, and compared them to others, and the only difference is the Blueprints section, Images section, and Map section, in comparison to Red's post of Permissions.

  • I thought maybe the square brackets in the info section were annoying... but you already had that before, and I tested it on one of my permissions... no problem.

    The location of the added section doesn't matter either... I've looked at all the files, and there's really nothing to complain about.

    You've probably restarted several times by now. The folder structure is probably fine... Permissions/Groups + Areas + default.json... (why would you have changed it anyway?)... Try adding the map and image sections to the admin.json and see if they're listed.

  • I did some testing; this is what happens when I try to start your permission with my server:


    I'll try something else again... I'll get back to you... but maybe someone else already knows what this means or where the error lies.

  • Lol you're amazing for even coming this far with it. I appreciate you!

    THAT looks like a foreign language to me. I can do and understand the coding of the .json files, and simple lines of code and such, but that right there? A mystery! :lol:

  • Well, I don't know what to do (Superficially, I see no difference to my files) ... I'm attaching my default.json file, which loads without any problems;

    Since your default.json is also on the list, you can replace it in the main permissions directory and see what happens

    • :)
    • ;)
    • :(
    • :P
    • ^^
    • :D
    • :verysad:
    • ;(
    • X(
    • :*
    • :|
    • :crazy:
    • :lol:
    • :dizzy:
    • =O
    • <X
    • ||
    • :thinking:
    • :wacko:
    • :/
    • 8)
    • :wat:
    • :huh:
    • :silenced:
    • :wow:
    • 8|
    • :angry:
    • :thumbdown:
    • :thumbup:
    • :sleeping:
    • :hushed:
    • :nerd:
    • :saint:
    • :drooling:
    • :love:
    • :monocle:
    • :poo:
    • :party:
    • :drunk:
    • <3
    • :!:
    • :?:
    The maximum number of attachments: 10
    Maximum File Size: 1 MB
    Allowed extensions: 7z, asset, avi, bmp, dds, gif, jpeg, jpg, json, log, lua, mp3, mp4, ogg, pdf, permissions, png, properties, rar, txt, unitypackage, xml, zip

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!