added new plugins: KnifeAlert, immunityreserveslots (entWatch support), sourcebans+sourcecomms (fixed)
added sm_forceinputplayer to ForceInputs added ZE_FFVII_Mako_Reactor_V6_B08 savelevel config fixed runtime error in voiceannounce_ex and ExtraCommands
This commit is contained in:
@@ -0,0 +1,113 @@
|
||||
// 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"
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
// 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
@@ -0,0 +1,22 @@
|
||||
#if defined _connect_included
|
||||
#endinput
|
||||
#endif
|
||||
#define _connect_included
|
||||
|
||||
forward bool:OnClientPreConnectEx(const String:name[], String:password[255], const String:ip[], const String:steamID[], String:rejectReason[255]);
|
||||
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
#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();
|
||||
@@ -0,0 +1 @@
|
||||
../../../includes/entWatch.inc
|
||||
Reference in New Issue
Block a user