Qurre 2.0.0-gamma-r26
Additional Details
outdated
This is a prerelease version of Qurre.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Qurre --version 2.0.0-gamma-r26
NuGet\Install-Package Qurre -Version 2.0.0-gamma-r26
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Qurre" Version="2.0.0-gamma-r26" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Qurre --version 2.0.0-gamma-r26
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Qurre, 2.0.0-gamma-r26"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Qurre as a Cake Addin
#addin nuget:?package=Qurre&version=2.0.0-gamma-r26&prerelease
// Install Qurre as a Cake Tool
#tool nuget:?package=Qurre&version=2.0.0-gamma-r26&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Qurre
Simple, convenient and functional plugin loader for SCP: Secret Laboratory
Select language
EN RU
Installation
Manual installation
- Download
Qurre.tar.gz
file from releases - Move
Qurre
folder into%appdata%
(on Linux:~/.config
) - Move
Assembly-CSharp.dll
into game folder:SCPSL_Data/Managed
(with file replacement) - That's all, you have successfully installed Qurre
Automatic installation
You can find the auto-installer on the discord server, or you can download the archive from here
Documentation
Coming soon
Configs
Configs are in JSON format and are located in
%appdata%/Qurre/Configs
You can see the contents of the config after installing Qurre
Plugin Examples
Coming soon
Small plugin example (to be removed after normal examples appear)
What is important to know:
- Method [PluginEnable] & [PluginDisable] must be static
- The [EventMethod] event method can be non-static, but for better performance, it is better to use a static method
using Qurre.API;
using Qurre.API.Attributes;
using Qurre.Events;
using Qurre.Events.Structs;
[PluginInit("MyPlugin", "Qurre Team", "1.0.0")]
static class Plugin
{
[PluginEnable] // Similarly, you can use [PluginDisable]
static internal void Enabled()
{
Log.Info("Plugin Enabled");
}
[EventMethod(PlayerEvents.Join)]
static internal void Join(JoinEvent ev)
{
Log.Info($"Player {ev.Player?.UserInfomation.Nickname} joined");
}
[EventMethod(PlayerEvents.PickupArmor)]
[EventMethod(PlayerEvents.PickupItem)]
static internal void TestMultiple(IBaseEvent ev)
{
if (ev is PickupArmorEvent ev1)
{
Log.Info($"Armor; Pl: {ev1.Player?.UserInfomation.Nickname}; Item: {ev1.Pickup?.Serial}");
//ev1.Allowed = false;
}
else if (ev is PickupItemEvent ev2)
{
Log.Info($"Item; Pl: {ev2.Player?.UserInfomation.Nickname}; Item: {ev2.Pickup?.Serial}");
//ev2.Allowed = false;
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
v2-beta
Current version: Gamma
Release > https://github.com/Qurre-sl/Qurre/releases/tag/v2-gamma-r26