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.
<PackageVersion Include="Qurre" Version="2.0.0-gamma-r26" />
                    
Directory.Packages.props
<PackageReference Include="Qurre" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Qurre --version 2.0.0-gamma-r26
                    
#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.
#addin nuget:?package=Qurre&version=2.0.0-gamma-r26&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Qurre&version=2.0.0-gamma-r26&prerelease
                    
Install as a Cake Tool

Qurre

Simple, convenient and functional plugin loader for SCP: Secret Laboratory

Select language

EN RU

Installation

Manual installation

  1. Download Qurre.tar.gz file from releases
  2. Move Qurre folder into %appdata% (on Linux: ~/.config)
  3. Move Assembly-CSharp.dll into game folder: SCPSL_Data/Managed (with file replacement)
  4. 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:

  1. Method [PluginEnable] & [PluginDisable] must be static
  2. 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 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