Permissions and groups

  • Steam or Standalone?
    Steam
    Singleplayer or multiplayer?
    Multiplayer
    Error message?
    No
    Operating system
    Linux

    Hi,


    Im looking for an explanation of the Permissions system. I read through the Java permissions post, i see it's mostly similar to the currect .json config.


    I am missing how to create a default player group and how to add players into that group automatically when they enter the game. So 2 groups, guest and admin. Everyone is guest, except when explicitly changed by an admin.


    Where can i find these variables?

  • Everyone who joins your server will be assigned permissions based on the default.json file located in the main directory (Permissions).

    You can, of course, rename this file to something like "guest.json," but then you'll need to specify this new name in the server.properties file (at the very bottom) so that it's used as the default permissions file.

    Group permissions belong in the "groups" folder... for example, admin.json and player.json

    These group permissions can be assigned to players in-game by an administrator using the "setplayergroup" command.

  • Hi thanks, i also found a Default Groups for new players option. Last line of server.properties.

    For now i switched most Permissions in default.json to false and made myself admin. I will monitor this, if needed I make a group with some extra settings.

    Can you tell something about Land protection? I read about F9 Command but it does not seem to function. Do i need some more settings for this?

    Looking forward, thanks for the engagement

  • Can you tell something about Land protection? I read about F9 Command but it does not seem to function. Do i need some more settings for this?

    It doesn't require any special settings. You can only use it in creative mode. Press F9 (set to option 1) and first draw an area (left-click once to start, then fly diagonally and click again in the other corner; then use page up/down to adjust the height and depth). Finally, right-click to create it. Then switch to option 2 and adjust the settings using the radial menu.

  • Everyone who joins your server will be assigned permissions based on the default.json file located in the main directory (Permissions).

    You can, of course, rename this file to something like "guest.json," but then you'll need to specify this new name in the server.properties file (at the very bottom) so that it's used as the default permissions file.

    Group permissions belong in the "groups" folder... for example, admin.json and player.json

    These group permissions can be assigned to players in-game by an administrator using the "setplayergroup" command.

    i found an issue with using the default.json being in the base permissions directory. for some reason the default permission does not work when a player logs on and allows them to do admin stuff with plugins, like it passes the isAdmin() method. for a fix we renamed the default and placed it in the groups directory. we then made a new default in the permissions directory and set everything to false. glad you said something as i had forgot to mention this to red51

  • Thanks for the heads-up. I will look into installing a plugin for some protections on the starter lands, but will need to look into the Permissions also it seems.


    I will set default groups for new players to default, copy the current default (mostly false) to the Groups folder. This makes both the Default Group as the Fallback permissions the same.


    Admin group got everything on True but no-one is in there. I hope this helps me to make a survival server with good permissions that apply to everyone.

    • :)
    • ;)
    • :(
    • :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!