Added login plugin
This commit is contained in:
18
Plugins/Login/Configuration.cs
Normal file
18
Plugins/Login/Configuration.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using SharedLibraryCore;
|
||||
using SharedLibraryCore.Interfaces;
|
||||
|
||||
namespace IW4MAdmin.Plugins.Login
|
||||
{
|
||||
class Configuration : IBaseConfiguration
|
||||
{
|
||||
public bool RequirePrivilegedClientLogin { get; set; }
|
||||
|
||||
public IBaseConfiguration Generate()
|
||||
{
|
||||
RequirePrivilegedClientLogin = Utilities.PromptBool("Require privileged client login");
|
||||
return this;
|
||||
}
|
||||
|
||||
public string Name() => "LoginConfiguration";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user