Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Permission Setup

GrafDimenzio edited this page Dec 19, 2020 · 7 revisions

Synapse Permission

Synapse has an own permission system which overrides the permission system used by SCP: Secret Laboratory which means you need to set up the permissions, in order to have access to the RemoteAdmin.

permission.syml

Everything will be defined in the permission.syml which will be created by Synapse on the first boot of the Server in ~/Synapse/configs/server-{serverport}.

By default, the Server Section, an example Owner and User group will be generated.

[Server]
{
# If Enabled the GlobalBanTeam gets their global Permissions
globalBanTeamAccess: true
# If Enabled the Manager gets their global Permissions
managerAccess: true
# If Enabled the Staff gets their global Permissions
staffAccess: true
}

[Owner]
{
# If Enabled this Group will be assigned to all players,which are in no other Group
default: false
# If Enabled this Group will be assigned to Northwood staff players,which are in no other Group
northwood: false
# If Enabled this Group has Acces to RemoteAdmin
remoteAdmin: true
# The Badge which will be displayed in game
badge: Owner
# The Color which the Badge has in game
color: red
# If Enabled The Badge of this Group will be displayed instead of the global Badge
cover: true
# If Enabled the Badge is Hidden by default
hidden: true
# The KickPower the group has
kickPower: 254
# The KickPower which is required to kick the group
requiredKickPower: 255
# The Permissions which the group has
permissions:
- '*'
# The UserID´s of the Players in the Group
members:
- 0000000@steam
}

[User]
{
default: true
northwood: false
remoteAdmin: false
badge: NONE
color: NONE
cover: false
hidden: false
kickPower: 0
requiredKickPower: 1
permissions:
- synapse.command.help
- synapse.command.plugins
members:
}

Permission Wildcard

You can give a group every permission by adding the Permission '*',.*.

If you want to add all Permissions for a specific plugin you can do this with pluginname.*.

Example:

permissions:
- plugin.*
- synapse.command.*

Vanilla Permissions

Maybe you have noticed that you have no vanilla permissions (except you use the wildcard), which you can change by adding the permission vanilla.* for all vanilla permissions or vanilla.permissionname. (The nodes of the permissions can you find here)

Example:

permissions:
- vanilla.FacilityManagement
- vanilla.PlayersManagement

Synapse Permissions

Permission Description
synapse.see.invisible Allows a Player to see another Player which is in Invisible Mode
synapse.permission.groups Allows a Player to get all ServerGroups defined in the permission.syml
synapse.permission.setgroup Allows a Player to set the Group of other Players (Warning: This can be abused to get more permissions, so be careful!)
synapse.command.* Permission for the Synapse Commands. You may read here for more information

Colors

A list of all colors that you can use can you see here

Password authentication

Synapse does not support password authentication and it is recommended to disable it on your Server in the SCP:SL Configs to prevent bugs that may occur

Clone this wiki locally