In this guide, you will learn how to change what each player group can do on your Portal Knights server, such as who can build, open chests, use crafting stations or kick players.
Player Groups
Portal Knights has three player groups. Players are put in a group based on the password they join with.
| Group | Password They Join With | Default Access |
|---|---|---|
admins | Admin Password | Everything, including kicking players. |
guests | Guest Password | Can only look around. Guests can only join when Guest Login is enabled. |
users | Server Password | Everything except kicking players. |
Editing Group Permissions
- 1Log in to Bropanel and
Stopyour server. - 2In the sidebar, go to
Filesand navigate todedicated_server. - 3Open
server_config.json. - 4Find the
admins,usersorguestssection and set each permission totrueorfalse. - 5Save the file and start your server.
Leave the password lines and the guests' canLogin alone in this file. Those are set from your Settings page.
Here is an example guests section that lets guests use crafting stations and talk to NPCs, without letting them build or open chests.
"guests": {
"credentials": {
"password": ""
},
"canLogin": true,
"canKickPlayers": false,
"canModifyWorld": false,
"canInteractWithCraftingStations": true,
"canInteractWithChests": false,
"canInteractWithNPCs": true
}
Permissions List
| Permission | Description |
|---|---|
canInteractWithChests | Allows opening and using chests. To stop a group taking chests, also set canModifyWorld to false, otherwise they can still mine them. |
canInteractWithCraftingStations | Allows using crafting stations. |
canInteractWithNPCs | Allows talking to NPCs. |
canKickPlayers | Allows kicking other players from the server. |
canLogin | Allows the group to join the server at all. |
canModifyWorld | Allows mining and building blocks and props. |
Default Permissions
| Permission | Admins | Users | Guests |
|---|---|---|---|
canInteractWithChests | true | true | false |
canInteractWithCraftingStations | true | true | false |
canInteractWithNPCs | true | true | false |
canKickPlayers | true | false | false |
canLogin | true | true | false |
canModifyWorld | true | true | false |
