remove immunityreservedslots
This commit is contained in:
parent
4c7de59b44
commit
ce896e1a04
@ -1,113 +0,0 @@
|
||||
// This file was auto-generated by SourceMod (v1.4.7)
|
||||
// ConVars for plugin "immunityreserveslots_connect.smx"
|
||||
|
||||
|
||||
// Allow direct connecting reserve slot users to connect without having to type in the password on a password protected server with the Connect extension (0 - disable, 1 - enable, 2 - as with 1 but allow all connecting clients to connect).
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
// Maximum: "2.000000"
|
||||
sm_irs_autopassword "0"
|
||||
|
||||
// The immunity value to give to donators, if required for immunity checks within IRS.
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
// Maximum: "99.000000"
|
||||
sm_irs_donator_immunity "0"
|
||||
|
||||
// When enabled along with the donators plugin, donaotrs will be allowed to connect (0 - disable, 1 - allow donators to connect).
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
// Maximum: "1.000000"
|
||||
sm_irs_donator_support "0"
|
||||
|
||||
// The maximum amount of players that can connect to the server and kick a low immunity reserve slot player (0 - no limit, more than 0 to set the max limit).
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
sm_irs_highimmunitylimit "0"
|
||||
|
||||
// This value and over are players who are considered to have high immunity (0 - disable, more than 0 to set the high immunity value).
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
sm_irs_highimmunityvalue "0"
|
||||
|
||||
// Enable immunity check (0 - disable, 1 - immunity check if server is full of reserves, 2 - as with 1 but also allow players with high enough immunity and no reserve flag to stay connected).
|
||||
// -
|
||||
// Default: "1"
|
||||
// Minimum: "0.000000"
|
||||
// Maximum: "2.000000"
|
||||
sm_irs_immunity "1"
|
||||
|
||||
// This tries to kick people in such a way to prevent autobalance (0 - disable, 1 - enable).
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
// Maximum: "1.000000"
|
||||
sm_irs_keepbalance "0"
|
||||
|
||||
// Path to kick list file ("default" - uses a file in the sourcemod config folder called irs_kicklist.ini, anything else uses what you enter e.g. "cfg/kicklist.cfg").
|
||||
// -
|
||||
// Default: "default"
|
||||
sm_irs_kicklist_file "default"
|
||||
|
||||
// Enable kick list mode (0 - disable, normal reserve slot operation, 1 - only use a kick list to kick specific clients, 2 - as with 1 but allow any connecting client to kick people from the server).
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
// Maximum: "2.000000"
|
||||
sm_irs_kicklist_mode "0"
|
||||
|
||||
// Message to display when a client is kicked for a normal reserve slot ("default" - uses translation phrase, anything else uses what you enter).
|
||||
// -
|
||||
// Default: "default"
|
||||
sm_irs_kickreason "default"
|
||||
|
||||
// Message to display when a client is kicked for a reserve slot based on immunity ("default" - uses translation phrase, anything else uses what you enter).
|
||||
// -
|
||||
// Default: "default"
|
||||
sm_irs_kickreason_immunity "default"
|
||||
|
||||
// The delay, in seconds, to kick spectators (0 - instant, any other value gives spectators a grace of xx seconds until they can be kicked).
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
sm_irs_kickspecdelay "0"
|
||||
|
||||
// When enabled spectators are always kicked first before anyone else (0 - disable, all players are taken into account for kicking, 1 - enable).
|
||||
// -
|
||||
// Default: "1"
|
||||
// Minimum: "0.000000"
|
||||
// Maximum: "1.000000"
|
||||
sm_irs_kickspecfirst "1"
|
||||
|
||||
// Who to kick when a valid player is found (0 - random, 1 - highest ping, 2 - highest time, 3 - lowest time).
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
// Maximum: "3.000000"
|
||||
sm_irs_kicktype "0"
|
||||
|
||||
// Enable logging (0 - disable, 1 - enable highly verbose logs, 2 - only log the disconnected and connecting users in regular SM logs).
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
// Maximum: "2.000000"
|
||||
sm_irs_log "0"
|
||||
|
||||
// Message to display when a client gets rejected for a reserve slot when they have reserve rights with the Connect extension ("default" - uses translation phrase, anything else uses what you enter).
|
||||
// -
|
||||
// Default: "default"
|
||||
sm_irs_rejectreason "default"
|
||||
|
||||
// Enable reject reason with the Connect extension (0 - disable, 1 - enable).
|
||||
// -
|
||||
// Default: "0"
|
||||
// Minimum: "0.000000"
|
||||
// Maximum: "1.000000"
|
||||
sm_irs_rejectreason_enable "0"
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
// Just enter someone's steamid and they're added to the system
|
||||
// e.g. (without being commented out, obviously)
|
||||
// STEAM_0:1:12345678987654321
|
||||
// STEAM_0:1:98765432123456789
|
||||
// etc.
|
File diff suppressed because it is too large
Load Diff
@ -1,41 +0,0 @@
|
||||
#if defined _Connect_Included
|
||||
#endinput
|
||||
#endif
|
||||
#define _Connect_Included
|
||||
|
||||
enum EConnect
|
||||
{
|
||||
k_OnClientPreConnectEx_Reject = 0,
|
||||
k_OnClientPreConnectEx_Accept = 1,
|
||||
k_OnClientPreConnectEx_Async = -1
|
||||
};
|
||||
|
||||
forward EConnect OnClientPreConnectEx(const char[] sName, char sPassword[255], const char[] sIP, const char[] sSteam32ID, char sRejectReason[255]);
|
||||
|
||||
native bool ClientPreConnectEx(const char[] sSteam32ID, EConnect RetVal, char sRejectReason[255]);
|
||||
|
||||
/**
|
||||
* Do not edit below this line!
|
||||
*/
|
||||
public Extension __ext_connect =
|
||||
{
|
||||
name = "Connect",
|
||||
file = "connect.ext",
|
||||
#if defined AUTOLOAD_EXTENSIONS
|
||||
autoload = 1,
|
||||
#else
|
||||
autoload = 0,
|
||||
#endif
|
||||
#if defined REQUIRE_EXTENSIONS
|
||||
required = 1,
|
||||
#else
|
||||
required = 0,
|
||||
#endif
|
||||
};
|
||||
|
||||
#if !defined REQUIRE_EXTENSIONS
|
||||
public __ext_connect_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("ClientPreConnectEx");
|
||||
}
|
||||
#endif
|
@ -1,106 +0,0 @@
|
||||
#if defined _donator_included_
|
||||
#endinput
|
||||
#endif
|
||||
#define _donator_included_
|
||||
|
||||
#define DONATOR_API_VERSON 1.1
|
||||
|
||||
functag DonatorMenuCallback DonatorMenu:public(client);
|
||||
|
||||
/**
|
||||
* Register a menu item.
|
||||
*
|
||||
* @param name Name of the menu item.
|
||||
* @param func Callback for menu items.
|
||||
* @return Menu item ID.
|
||||
*/
|
||||
native Donator_RegisterMenuItem(const String:name[], DonatorMenuCallback:callback);
|
||||
|
||||
/**
|
||||
* Unregister a menu item.
|
||||
*
|
||||
* @param name Name of the menu item.
|
||||
* @param func Callback for menu items.
|
||||
* @return Bool
|
||||
*/
|
||||
native Donator_UnregisterMenuItem(iItemId);
|
||||
|
||||
/**
|
||||
* Get a clients donator level, -1 if invalid
|
||||
*
|
||||
* @param iClient Client
|
||||
* @return Donator level
|
||||
*/
|
||||
native GetDonatorLevel(iClient);
|
||||
|
||||
/**
|
||||
* Sets a clients donator level
|
||||
*
|
||||
* @param iClient Client
|
||||
* @param iLevel Donator level
|
||||
* @return Nothing
|
||||
*/
|
||||
native SetDonatorLevel(iClient, iLevel);
|
||||
|
||||
/**
|
||||
* Returns True if a client is a donator, -1 if invalid
|
||||
*
|
||||
* @param iClient Client
|
||||
* @return bool
|
||||
*/
|
||||
native bool:IsPlayerDonator(iClient);
|
||||
|
||||
/**
|
||||
* Returns True if a steamid is a donator, -1 if invalid
|
||||
*
|
||||
* @param iClient Client
|
||||
* @return bool
|
||||
*/
|
||||
native bool:FindDonatorBySteamId(const String:szSteamId[]);
|
||||
|
||||
/**
|
||||
* Returns a donators connect message
|
||||
|
||||
* @param iClient Client
|
||||
* @return Clients connect message
|
||||
*/
|
||||
native GetDonatorMessage(iClient, const String:szMessage[], iLength);
|
||||
|
||||
/**
|
||||
* Sets a donators connect message
|
||||
*
|
||||
* @param iClient Client
|
||||
* @param szMessage Message to show on donator connect
|
||||
* @return Nothing
|
||||
*/
|
||||
native SetDonatorMessage(iClient, const String:szMessage[]);
|
||||
|
||||
/*
|
||||
native SaveToDatabase(const String:szColumnName[], any:data);
|
||||
native GetFromDatabase(const String:szColumnName[], any:data);
|
||||
*/
|
||||
|
||||
/**
|
||||
* Forwards when a donator connects.
|
||||
* Note: This is before OnPostDonatorCheck - Cookies are not loaded here
|
||||
*
|
||||
* @param iClient Client
|
||||
* @noreturn
|
||||
*/
|
||||
forward OnDonatorConnect(iClient);
|
||||
|
||||
/**
|
||||
* Forwards after OnPostAdminCheck for everyone.
|
||||
*
|
||||
* @param iClient Client
|
||||
* @noreturn
|
||||
*/
|
||||
forward OnPostDonatorCheck(iClient);
|
||||
|
||||
/**
|
||||
* Forwards after the donators has been reladed with sm_reloaddonators.
|
||||
*
|
||||
* @param iClient Client
|
||||
* @noreturn
|
||||
*/
|
||||
forward OnDonatorsChanged();
|
@ -1 +0,0 @@
|
||||
../../../includes/entWatch.inc
|
@ -1,115 +0,0 @@
|
||||
"Phrases"
|
||||
{
|
||||
"irs_version"
|
||||
{
|
||||
"en" "Immunity Reserve Slots version."
|
||||
}
|
||||
"irs_kicktype"
|
||||
{
|
||||
"en" "Who to kick when a valid player is found (0 - random, 1 - highest ping, 2 - highest time, 3 - lowest time)."
|
||||
}
|
||||
"irs_kickreason"
|
||||
{
|
||||
"en" "Message to display when a client is kicked for a normal reserve slot (\"default\" - uses translation phrase, anything else uses what you enter)."
|
||||
}
|
||||
"irs_rejectreason_enable"
|
||||
{
|
||||
"en" "Enable reject reason with the Connect extension (0 - disable, 1 - enable)."
|
||||
}
|
||||
"irs_rejectreason"
|
||||
{
|
||||
"en" "Message to display when a client gets rejected for a reserve slot when they have reserve rights with the Connect extension (\"default\" - uses translation phrase, anything else uses what you enter)."
|
||||
}
|
||||
"irs_kickreason_immunity"
|
||||
{
|
||||
"en" "Message to display when a client is kicked for a reserve slot based on immunity (\"default\" - uses translation phrase, anything else uses what you enter)."
|
||||
}
|
||||
"irs_log"
|
||||
{
|
||||
"en" "Enable logging (0 - disable, 1 - enable highly verbose logs, 2 - only log the disconnected and connecting users in regular SM logs)."
|
||||
}
|
||||
"irs_immunity"
|
||||
{
|
||||
"en" "Enable immunity check (0 - disable, 1 - immunity check if server is full of reserves, 2 - as with 1 but also allow players with high enough immunity and no reserve flag to stay connected)."
|
||||
}
|
||||
"irs_kickspecfirst"
|
||||
{
|
||||
"en" "When enabled spectators are always kicked first before anyone else (0 - disable, all players are taken into account for kicking, 1 - enable)."
|
||||
}
|
||||
"irs_kickspecdelay"
|
||||
{
|
||||
"en" "The delay, in seconds, to kick spectators (0 - instant, any other value gives spectators a grace of xx seconds until they can be kicked)."
|
||||
}
|
||||
"irs_donator_support"
|
||||
{
|
||||
"en" "When enabled along with the donators plugin, donaotrs will be allowed to connect (0 - disable, 1 - allow donators to connect)."
|
||||
}
|
||||
"irs_donator_immunity"
|
||||
{
|
||||
"en" "The immunity value to give to donators, if required for immunity checks within IRS."
|
||||
}
|
||||
"irs_highimmunitylimit"
|
||||
{
|
||||
"en" "The maximum amount of players that can connect to the server and kick a low immunity reserve slot player (0 - no limit, more than 0 to set the max limit)."
|
||||
}
|
||||
"irs_highimmunityvalue"
|
||||
{
|
||||
"en" "This value and over are players who are considered to have high immunity (0 - disable, more than 0 to set the high immunity value)."
|
||||
}
|
||||
"irs_keepbalance"
|
||||
{
|
||||
"en" "This tries to kick people in such a way to prevent autobalance (0 - disable, 1 - enable)."
|
||||
}
|
||||
"irs_autopassword"
|
||||
{
|
||||
"en" "Allow direct connecting reserve slot users to connect without having to type in the password on a password protected server with the Connect extension (0 - disable, 1 - enable, 2 - as with 1 but allow all connecting clients to connect)."
|
||||
}
|
||||
"irs_kicklist_file"
|
||||
{
|
||||
"en" "Path to kick list file (\"default\" - uses a file in the sourcemod config folder called irs_kicklist.ini, anything else uses what you enter e.g. \"cfg/kicklist.cfg\")."
|
||||
}
|
||||
"irs_kicklist_mode"
|
||||
{
|
||||
"en" "Enable kick list mode (0 - disable, normal reserve slot operation, 1 - only use a kick list to kick specific clients, 2 - as with 1 but allow any connecting client to kick people from the server)."
|
||||
}
|
||||
"irs_kicklist_reload"
|
||||
{
|
||||
"en" "Reloads the kick list."
|
||||
}
|
||||
"IRS Kick Log"
|
||||
{
|
||||
"#format" "{1:s},{2:s},{3:s},{4:s}"
|
||||
"en" "\"{1}\" ({2}) connected, \"{3}\" ({4}) was kicked."
|
||||
}
|
||||
"IRS Kick Reason"
|
||||
{
|
||||
"en" "Slot reserved."
|
||||
}
|
||||
"IRS Reject Reason"
|
||||
{
|
||||
"en" "No reserve slots available."
|
||||
}
|
||||
"IRS Kick List Reloaded"
|
||||
{
|
||||
"en" "[SM] Immunity Reserve Slots kick list reloaded."
|
||||
}
|
||||
"IRS Kick Reason Immunity"
|
||||
{
|
||||
"en" "Slot reserved - low immunity."
|
||||
}
|
||||
"IRS Plugin Error"
|
||||
{
|
||||
"#format" "{1:s}"
|
||||
"en" "Unloaded plugin {1} and moved to disabled folder, when installing IRS please do not use any other reserve slot plugins."
|
||||
}
|
||||
"IRS Kick List Path Error"
|
||||
{
|
||||
"#format" "{1:s}"
|
||||
"en" "Path to kick list file \"{1}\" not found or unreadable, disabling kick list mode until corrected."
|
||||
}
|
||||
"IRS Donator Plugin Error"
|
||||
{
|
||||
"en" "Unable to load the donator plugin, please check your plugins folder for the donator plugin or any other errors in your error logs."
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user