SynapseController.Server
or with Server.Get
. (The refrence is the same, it's just a shortcut)Reload()
=> Reloads all Synapse configs and translationsOfflineBanID()
=> Bans the ID of a User even when he is not on the ServerOfflineBanIP()
=> Bans the IP of a User even when he is not on the ServerGetObjectsOf<TObject>
() => Gives you all Unity objects of that typeGetObjectOf<TObject>
() => Gives you the first object of that type the Server can findGetPlayers(Func<Player,bool>)
=> Gives you a list of Players with special arguments (Example: GetPlayers(x => x.NickName == "Dimenzio")
=> Gives you all players whose name is Dimenzio)SynapseController.Server.Logger
or with Logger.Get
(The refrence is the same, it's just a shortcut)Info(object)
=> Sends a LogInfo to the ConsoleWarn(object)
=> Sends an LogWarn to the ConsoleError(object)
=> Sends an LogError to the ConsoleSend(string, ConsoleColor)
=> Sends a message with a defined color to the Console (Plugin name will not be added).SynapseController.Server.Map
or Map.Get
(The refrence is the same, it's just a shortcut)GetRoom()
=> Gives you a specific roomGetDoor()
=> Gives you a specific doorGetElevator()
=> Gives you a specific ElevatorSendBroadcast()
=> Sends to all Players a BroadcastAnnounceScpDeath()
=> Announces the Death of an scpCassie()
=> Sends an Cassie MessageGlitchedCassie()
=> Sends an glitchy Cassie messageSpawnGrenade()
=> Spawns a GrenadeExplode()
=> Spawns and explode a GrenadePlaceBlood()
=> Places blood for all PlayersSynapseController.Server.Map.Nuke
or Map.Get.Nuke
(The refrence is the same, it's just a shortcut)StartDetonation()
=> Stars the DetonationCancelDetonation()
=> Cancel the DetonationDetonate()
=> Detonated the WarheadInstantPrepare()
=> Prepares the Nuke to detonate instantShake()
=> Shakes the screen of all PlayersSynapseController.Server.Map.Nuke.InsidePanel
or Map.Get.Nuke.InsidePanel
(The refrence is the same, it's just a shortcut)SynapseController.Server.Map.Nuke.OutsidePanel
or Map.Get.Nuke.OutsidePanel
(The refrence is the same, it's just a shortcut)SynapseController.Server.Map.Round
or Map.Get.Round
(The refrence is the same, it's just a shortcut)StartRound()
=> Starts the RoundEndRound()
=> Ends the RoundRestartRound()
=> Restarts the RoundDimScreens()
=> Make the Screens from all Players blackShowRoundSummary()
=> Shows the winning screenMtfRespawn()
=> Respawns a Mtf/ChaosSynapseController.Server.Map.Decontamination
or Map.Get.Decontamination
(The refrence is the same, it's just a shortcut)InstantStart()
=> Starts the DecontaminationSynapseController.Server.Map.HeavyController
or Map.Get.HeavyController
(The refrence is the same, it's just a shortcut)Recontain079()
=> starts the recontainment of SCP 079Overcharge()
=> starts a overchargeLightsOut()
=> disables all lights for a set time SynapseController.Server.Map.Scp914
or Map.Get.Scp914
(The refrence is the same, it's just a shortcut)Activate()
=> Activates Scp914 UpgradeItemID()
=> Gives you the id of the Item it should become with the current RecipesTrigger()
=> Activates the gateInstantTrigger()
=> Activates the gate instant like Scp-079Use()
=> Activates the ElevatorTryBreakDoor()
=> tries to break the doorTryPry()
=> tries to pry the door (Plays the Animation of Scp096 raging through gates)LightsOut()
=> Deactivates the Lights in the RoomSetLightIntensity()
=> Sets the Intensity of the LightOvercharge()
=> Overcharge the GeneratorDestroy()
=> Destroys the RagdollRotateToPosition()
=> Rotates the dummy to a specific locationDespawns()
=> Despawns the DummySpawn()
=> Spawns the DummyDestroy()
=> Destroys the dummyRefresh()
=> Refreshes all fieldsGetOldTranslationFile()
=> Gives you the path of the old Translation file systemGetTranslationPath()
=> Gives you the Path of a TranslationFileGetPluginDirectory()
=> Gives you the Directory of an PluginSynapseController.Server.ItemManager
or Server.Get.ItemManager
(The refrence is the same, it's just a shortcut)GetBaseType(int id)
=> Gives you the ItemType on which the item with the id is based onGetName(int id)
=> Gives you the Name of the Item with that idGetInfo(int id)
=> Gives you the CustomItemInformations
object with which the item with that id was registeredIsIDRegistered(int id)
=> Gives you a boolean back which is set to true if the Id exist (also it gives a true by all Vanilla Item ids)UpdateSection()
) because Synapse Reloads you Config automatic(for more information read here)GetOrSetDefault<T>()
=> Gets the Config for the IConfigSection or create deafults if they not existsGetOrSetDefault()
=> The same from above but don't need the Type(not recommended to use)UpdateSection<T>()
=> Writes the configs from the ConfigSection in the config.symlReload()
=> Reloads the config.symlReload()
=> Reloads the entire Permission SystemAddServerGroup()
=> Creates a new ServerGroup inside the permission.symlGetServerGroup()
=> Gives you the ServerGroup with that nameGetPlayerGroup()
=> Gives you the ServerGroup of that PlayerGetDefaultGroup()
=> Gives you the default ServerGroup which all Players without a group getsGetNorthwoodGroup()
=> Gives you the Northwood Group which Northwood staffs without a group gets(can be null)AddPlayerToGroup()
=> Adds a Player to the members of a ServerGroup in the permission.symlRemovePlayerGroup()
=> Remove a Player from all GroupsSynapseController.PluginLoader
.PluginInformation
about Plugins that are installedSynapseController.CommandHandlers
.TryGetCommand()
=> Gives you the Command with that name/aliasRegisterCommand()
=> Register the Command in the CommandHandler (use it only if you dont want to use ISynapseCommand)