In order to be able to use the "gm" command, the "changegamemode" permission (under "general") needs to be set to true. Like this:
In addition to that, you can also define which creative mode tools should be accessible to the player. They're located under "creative":
Make sure the resulting file is valid JSON. You could either put that into the default.json permission (if you want it to affect all players), or create a separate group for creative mode players. I've attached a permission file which solely enables creative mode (with all tools except the area tools - that one should only be allowed for the admin). Put that file into the "groups" folder in the "permissions" directory, then assign players via the "spg" command (e.g. "spg galochka creative")
Thank you Red for 7s, but I have several files identical to yours, I have been working with them for several years since Java. Thanks for the "code check" link, yes, I have been using similar services since the Java version.
Yes, in the group "by default" all permissions were given, except for ban, kick, etc. (as part of the experiment).
To the point. Another question:
Looks like I somewhere on the forum missed the information that the area works only for admins, and that the server somehow retains the old settings (but the server behaves this way).
I am inclined to believe that somewhere in the settings some kind of saving (copy) is enabled, which somehow works on the server. Is it possible?
I used the Admin group to create the Builder group and accordingly changed the color of the group to green, after deleting the Builder group (because it does not work, there is no protection for the area), the Admin group is green on the server, and in the permissions it is red (I’m not garbage inside the server I keep, all files that are not up-to-date are stored on a separate storage medium or deleted).
It was:
Group "Builder"
"chat": true,
"chatcolor": "# FF0000",
"chatemojis": true,
"chatnamecolor": "# 00b300", <= GREEEN Color
"chatnameprefix": "",
"chatprefix": "",
"chatrichtext": false,
"group": "Builder",
"groupcolor": "# 00b300",
"nametagcolor": "# 00b300",
"nametagprefix": "",
"nametagprefixcolor": "# 00b300",
"nametagsuffix": "",
"nametagsuffixcolor": "# 00b300",
"showadmintag": true,
"showdistance": true,
"showinplayerlist": true,
"shownametag": true
Now:
"info": {
"chat": true,
"chatcolor": "# FF0000", <= Red Color.
"chatemojis": true,
"chatnamecolor": "# FF0000",
"chatnameprefix": "ADMIN",
"chatprefix": "ADMIN",
"chatrichtext": false,
"group": "ADMIN",
"groupcolor": "# FF0000",
"nametagcolor": "# FF0000",
"nametagprefix": "ADMIN",
"nametagprefixcolor": "# FF0000",
"nametagsuffix": "[ADMIN]",
"nametagsuffixcolor": "# FF0000",
"showadmintag": true,
"showdistance": true,
"showinplayerlist": true,
"shownametag": true
The Builder group does not exist inside the server (I have it on my computer). And the Admins on the server are green.
I come back to the question.
It may be that some type of "cloud" saving is enabled in the settings. Is it possible?