From 1a7d4ba2691c9ce8311309f0af19147c488592f3 Mon Sep 17 00:00:00 2001 From: Francesco Date: Sun, 14 May 2023 16:00:33 +0200 Subject: [PATCH] 6.0.0 --- README.md | 9 ++++----- README.md.bak | 11 ++++++----- SCPUtils/Configs.cs | 8 ++++---- SCPUtils/SCPUtils.csproj | 31 +++++++++++++++++-------------- SCPUtils/packages.config | 2 +- 5 files changed, 32 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 18c91c1..243d5c7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -### SCPUtils Plugin:
+### SCPUtils [Mongo DB Edition] Plugin:
This is the list of SCPUtils features with a brief description, i recomend to read configs: @@ -23,10 +23,9 @@ This is the list of SCPUtils features with a brief description, i recomend to re - **Handcuff ownership:** By simply updating a config only who cuff the player will be able to uncuff it. - **SCP-Swap:** By setting a config you can decide the max allowed time for SCP-Swap requests and if the SCP has to be full health for swap to be allowed, you can configure swap even for scps that are not spawned. -**Database will get created inside Exiled/SCPUtils folder.**

-**Each server must have it's own database, you cannot use one database on multiple servers!**

-**You must add LiteDB.dll and Newtonsoft.Json.dll into Plugins/dependencies folder or plugin won't work**

-**Minimum requirements: Exiled version: 7.0.0 Dependencies: LiteDB 5.0.15 and Newtonsoft.Json 13.0.2** +**To use this plugin you will have to install MongoDB and MongoDB Compass (the last one only if you want to manage your database).**

+**LiteDb SCP-Utils version is still avaible but with limited support, check releases tab. It's advisable to use this version, for more info check pinned message in SCPUtils channel on Exiled.**

+**Minimum requirements: Exiled version: 7.0.0-rc2-1 and MongoDB (depedencies are already included by base)** ### Configs: diff --git a/README.md.bak b/README.md.bak index aa3639b..8b2a5d0 100644 --- a/README.md.bak +++ b/README.md.bak @@ -1,6 +1,6 @@ -### SCPUtils Plugin:
+### SCPUtils [Mongo DB Edition] Plugin:
This is the list of SCPUtils features with a brief description, i recomend to read configs: @@ -23,10 +23,9 @@ This is the list of SCPUtils features with a brief description, i recomend to re - **Handcuff ownership:** By simply updating a config only who cuff the player will be able to uncuff it. - **SCP-Swap:** By setting a config you can decide the max allowed time for SCP-Swap requests and if the SCP has to be full health for swap to be allowed, you can configure swap even for scps that are not spawned. -**Database will get created inside Exiled/SCPUtils folder.**

-**Each server must have it's own database, you cannot use one database on multiple servers!**

-**You must add LiteDB.dll and Newtonsoft.Json.dll into Plugins/dependencies folder or plugin won't work**

-**Minimum requirements: Exiled version: 7.0.0 Dependencies: LiteDB 5.0.15 and Newtonsoft.Json 13.0.2** +**To use this plugin you will have to install MongoDB and MongoDB Compass (the last one only if you want to manage your database).**

+**LiteDb SCP-Utils version is still avaible but with limited support, check releases tab. It's avisable to use this version.**

+**Minimum requirements: Exiled version: 7.0.0-rc2-1 and MongoDB (depedencies are already included by base)** ### Configs: @@ -77,6 +76,7 @@ You can see settings and edit them inside Exiled/port-config.yml file(example Ex | scputils_broadcast_list | none | scputils.broadcastlist | List all created broadcast | | scputils_multiaccount_whitelist | | scputils.whitelistma | Whitelists / unwhitelist an account from multiaccount detector | | scputils_badge_playtime | | scputils.playtime | Show playtime for a specific badge | +| scputils_reports | use help paramenter | scputils.reports | See many stats | **Console commands** @@ -103,6 +103,7 @@ You can see settings and edit them inside Exiled/port-config.yml file(example Ex | ------------- | ------------- | | scputils.bypassnickrestriction | Allows to bypass nickname restrictions | | scputils.help | Show also admin command list in scputils_help command, without this permission only user commands are shown | +| scputils.bypasscooldown | Bypass command cooldown | Pro tip: use scputils_speak.* to allow someone to speak with all the SCPs, set permission to default role to allow everyone to speak with that scp. diff --git a/SCPUtils/Configs.cs b/SCPUtils/Configs.cs index c85d2c4..3f7dc93 100644 --- a/SCPUtils/Configs.cs +++ b/SCPUtils/Configs.cs @@ -12,19 +12,19 @@ public class Configs : IConfig [Description("DATABASE CONFIGS - Database name")] public string DatabaseName { get; private set; } = "ScpUtils"; - [Description("Database IP")] + [Description("Database IP - IP Address where you host the database")] public string DatabaseIp { get; private set; } = "localhost"; - [Description("Database port")] + [Description("Database port - Don't change unless you need it")] public ushort DatabasePort { get; private set; } = 27017; [Description("Database user")] public string DatabaseUser { get; private set; } = "user"; - [Description("Database password")] + [Description("Database password - If you are using it locally password might be empty")] public string DatabasePassword { get; private set; } = "StrongPassword"; - [Description("Database auth type")] + [Description("Database auth mechanism")] public string DatabaseAuthType { get; private set; } = "SCRAM-SHA-256"; [Description("PLUGIN CONFIGS")] diff --git a/SCPUtils/SCPUtils.csproj b/SCPUtils/SCPUtils.csproj index 83b44e5..37e6247 100644 --- a/SCPUtils/SCPUtils.csproj +++ b/SCPUtils/SCPUtils.csproj @@ -44,6 +44,10 @@ False D:\SteamLibrary\steamapps\common\SCP Secret Laboratory Dedicated Server\SCPSL_Data\Managed\Assembly-CSharp-firstpass.dll + + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Assembly-CSharp-Publicized.dll + True + D:\SteamLibrary\steamapps\common\SCP Secret Laboratory Dedicated Server\SCPSL_Data\Managed\publicized_assemblies\Assembly-CSharp_publicized.dll @@ -54,7 +58,7 @@ ..\packages\AWSSDK.SecurityToken.3.7.100.14\lib\net45\AWSSDK.SecurityToken.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\CommandSystem.Core.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\CommandSystem.Core.dll ..\packages\Costura.Fody.5.8.0-alpha0098\lib\netstandard1.0\Costura.dll @@ -63,28 +67,28 @@ ..\packages\DnsClient.1.6.1\lib\net471\DnsClient.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.API.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.API.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.CreditTags.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.CreditTags.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.CustomItems.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.CustomItems.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.CustomRoles.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.CustomRoles.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.Events.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.Events.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.Loader.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.Loader.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.Permissions.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.Permissions.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.Updater.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.Updater.dll ..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll @@ -120,10 +124,10 @@ ..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\NorthwoodLib.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\NorthwoodLib.dll - ..\packages\EXILED.7.0.0-rc.1\lib\net48\PluginAPI.dll + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\PluginAPI.dll ..\packages\SharpCompress.0.30.1\lib\net461\SharpCompress.dll @@ -295,9 +299,8 @@ False G:\SteamLibrary\steamapps\common\SCP Secret Laboratory Dedicated Server\SCPSL_Data\Managed\UnityEngine.PhysicsModule.dll - - False - ..\..\..\..\..\NewExiled\Exiled\EXILED\Plugins\dependencies\YamlDotNet.dll + + ..\packages\EXILED.7.0.0-rc.2-1\lib\net48\YamlDotNet.dll ..\packages\ZstdSharp.Port.0.6.2\lib\net461\ZstdSharp.dll diff --git a/SCPUtils/packages.config b/SCPUtils/packages.config index 178efec..d8a37bd 100644 --- a/SCPUtils/packages.config +++ b/SCPUtils/packages.config @@ -4,7 +4,7 @@ - +