Skip to content

Commit

Permalink
6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco authored and Francesco committed May 14, 2023
1 parent 46aa703 commit 1a7d4ba
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 29 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


### SCPUtils Plugin:<br />
### SCPUtils [Mongo DB Edition] Plugin:<br />

This is the list of SCPUtils features with a brief description, i recomend to read configs:

Expand All @@ -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.**<br /><br />
**Each server must have it's own database, you cannot use one database on multiple servers!**<br /><br />
**You must add LiteDB.dll and Newtonsoft.Json.dll into Plugins/dependencies folder or plugin won't work**<br /><br />
**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).**<br /><br />
**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.**<br /><br />
**Minimum requirements: Exiled version: 7.0.0-rc2-1 and MongoDB (depedencies are already included by base)**


### Configs:
Expand Down
11 changes: 6 additions & 5 deletions README.md.bak
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


### SCPUtils Plugin:<br />
### SCPUtils [Mongo DB Edition] Plugin:<br />

This is the list of SCPUtils features with a brief description, i recomend to read configs:

Expand All @@ -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.**<br /><br />
**Each server must have it's own database, you cannot use one database on multiple servers!**<br /><br />
**You must add LiteDB.dll and Newtonsoft.Json.dll into Plugins/dependencies folder or plugin won't work**<br /><br />
**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).**<br /><br />
**LiteDb SCP-Utils version is still avaible but with limited support, check releases tab. It's avisable to use this version.**<br /><br />
**Minimum requirements: Exiled version: 7.0.0-rc2-1 and MongoDB (depedencies are already included by base)**


### Configs:
Expand Down Expand Up @@ -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 | <userid / id> | scputils.whitelistma | Whitelists / unwhitelist an account from multiaccount detector |
| scputils_badge_playtime | <badge> <days> | scputils.playtime | Show playtime for a specific badge |
| scputils_reports | use help paramenter | scputils.reports | See many stats |

**Console commands**

Expand All @@ -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.

Expand Down
8 changes: 4 additions & 4 deletions SCPUtils/Configs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
31 changes: 17 additions & 14 deletions SCPUtils/SCPUtils.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\SteamLibrary\steamapps\common\SCP Secret Laboratory Dedicated Server\SCPSL_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-Publicized, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Assembly-CSharp-Publicized.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Assembly-CSharp_publicized">
<HintPath>D:\SteamLibrary\steamapps\common\SCP Secret Laboratory Dedicated Server\SCPSL_Data\Managed\publicized_assemblies\Assembly-CSharp_publicized.dll</HintPath>
</Reference>
Expand All @@ -54,7 +58,7 @@
<HintPath>..\packages\AWSSDK.SecurityToken.3.7.100.14\lib\net45\AWSSDK.SecurityToken.dll</HintPath>
</Reference>
<Reference Include="CommandSystem.Core, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\CommandSystem.Core.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\CommandSystem.Core.dll</HintPath>
</Reference>
<Reference Include="Costura, Version=5.8.0.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
<HintPath>..\packages\Costura.Fody.5.8.0-alpha0098\lib\netstandard1.0\Costura.dll</HintPath>
Expand All @@ -63,28 +67,28 @@
<HintPath>..\packages\DnsClient.1.6.1\lib\net471\DnsClient.dll</HintPath>
</Reference>
<Reference Include="Exiled.API, Version=7.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.API.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.API.dll</HintPath>
</Reference>
<Reference Include="Exiled.CreditTags, Version=7.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.CreditTags.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.CreditTags.dll</HintPath>
</Reference>
<Reference Include="Exiled.CustomItems, Version=7.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.CustomItems.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.CustomItems.dll</HintPath>
</Reference>
<Reference Include="Exiled.CustomRoles, Version=7.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.CustomRoles.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.CustomRoles.dll</HintPath>
</Reference>
<Reference Include="Exiled.Events, Version=7.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.Events.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.Events.dll</HintPath>
</Reference>
<Reference Include="Exiled.Loader, Version=7.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.Loader.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.Loader.dll</HintPath>
</Reference>
<Reference Include="Exiled.Permissions, Version=7.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.Permissions.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.Permissions.dll</HintPath>
</Reference>
<Reference Include="Exiled.Updater, Version=3.1.2.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\Exiled.Updater.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\Exiled.Updater.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
Expand Down Expand Up @@ -120,10 +124,10 @@
<HintPath>..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="NorthwoodLib, Version=1.2.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\NorthwoodLib.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\NorthwoodLib.dll</HintPath>
</Reference>
<Reference Include="PluginAPI, Version=12.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\EXILED.7.0.0-rc.1\lib\net48\PluginAPI.dll</HintPath>
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\PluginAPI.dll</HintPath>
</Reference>
<Reference Include="SharpCompress, Version=0.30.1.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL">
<HintPath>..\packages\SharpCompress.0.30.1\lib\net461\SharpCompress.dll</HintPath>
Expand Down Expand Up @@ -295,9 +299,8 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>G:\SteamLibrary\steamapps\common\SCP Secret Laboratory Dedicated Server\SCPSL_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
</Reference>
<Reference Include="YamlDotNet, Version=8.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\NewExiled\Exiled\EXILED\Plugins\dependencies\YamlDotNet.dll</HintPath>
<Reference Include="YamlDotNet, Version=11.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e, processorArchitecture=MSIL">
<HintPath>..\packages\EXILED.7.0.0-rc.2-1\lib\net48\YamlDotNet.dll</HintPath>
</Reference>
<Reference Include="ZstdSharp, Version=0.6.2.0, Culture=neutral, PublicKeyToken=8d151af33a4ad5cf, processorArchitecture=MSIL">
<HintPath>..\packages\ZstdSharp.Port.0.6.2\lib\net461\ZstdSharp.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion SCPUtils/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<package id="AWSSDK.SecurityToken" version="3.7.100.14" targetFramework="net48" />
<package id="Costura.Fody" version="5.8.0-alpha0098" targetFramework="net48" developmentDependency="true" />
<package id="DnsClient" version="1.6.1" targetFramework="net48" />
<package id="EXILED" version="7.0.0-rc.1" targetFramework="net48" />
<package id="EXILED" version="7.0.0-rc.2-1" targetFramework="net48" />
<package id="Fody" version="6.6.0" targetFramework="net48" developmentDependency="true" />
<package id="Lib.Harmony" version="2.2.1" targetFramework="net48" />
<package id="Microsoft.Bcl.AsyncInterfaces" version="5.0.0" targetFramework="net48" />
Expand Down

0 comments on commit 1a7d4ba

Please sign in to comment.