View Single Post
Plugin Info:     Modification:          Category:         
CreePs
Member
Join Date: Mar 2011
Old 03-10-2012 , 04:57   JailBreak - FreeKiller List API
Reply With Quote #1

FreeKiller List
v0.0.7
by CreePs
08.04.2012 - Update freekiller_list.txt - added [polish |german | turkish] translation
Introduction:
Plugin is very helpful for all jailbreak server's to clean the freekiller's from the server by added them to the freekiller list
And enjoy a nice jailbreak server clean from freekiller's
Plugin has easy data management to freeze / banned players on server data



Admin Console Commands:
concmd's:

add_freekiller <name> <reason> | Admin access - ADMIN_BAN

cvar's:

freekiller_list "1/0" - plugin on/off cvar * default "1" *
Client Commands:
say /fklist - shows the freekiller's list in console
say /mystats & /mystatus - shows client his status (banned from ct or not banned from any team)

Admin Commands:
say /fkdata - open the Data Management menu for easy control of the freekiller list support offline player's

Plugin API:
native's:
PHP Code:
/**
 *
 * Check if player is a freekiller
 * 
 * @param        Client - Index of player
 * 
 * @return        True if user FreeKiller, false if user not FreeKiller
 */
native is_user_freekiller( const client );

/**
 *
 * Set a player freekiller
 * 
 * @param        Client - Index of player
 * @param        Value - Integer value assigned to Key
 * @param        Reason - The reason player is banned/freeze from ct team
 *
 * @noreturn        
 */
native set_user_freekiller( const clientbool:freekiller false, const reason_msg[] ); 
forward's:
PHP Code:
/**
 *
 * Called a player when freekiler putinserver
 *
 * @param        Client - Index of player
 *
 * @return        Return values are ignored
 *
 */
forward Forward_FreeKiller_putinserver( const client );

/**
 *
 * Called a player when freekiler authorized
 *
 * @param        Client - Index of player
 *
 * @return        Return values are ignored
 *
 */
forward Forward_FreeKiller_authorized( const client );

/**
 *
 * Called a freekiler when disconnect the server
 *
 * @param        Client - Index of player
 *
 * @return        Return values are ignored
 *
 */
forward Forward_FreeKiller_disconnect( const client );

/**
 *
 * Called a freekiler has joining the ct team
 *
 * @param        Client - Index of player
 *
 * @return        Return values are ignored
 *
 */
forward Forward_FreeKiller_joinct( const client ); 

Language's So Far:

  • if you can translate any language take a look in the Translation Thread
  • Big Thanks for everyone how help translate this plugin !

Plugin Requirements:
  • AMX Mod X 1.8.0 or higher
  • Steam
  • Fakemeta Module
  • FVault System
Credits:
CreePs - made the plugin
Exolent[jNr] - FVault System
drekes - idea for block chooseteam and jointeam to ct team

Changelog:
Quote:
* v0.0.1
- first public release
**
* v0.0.2
- little change in TeamInfo event
**
* v0.0.3
- added plugin on/off cvar
**
* v0.0.4
- little code optimized
- fixed bug on move from ct on data menu and add freekiller cmd
**
* v0.0.5
- removed colorchat
- added multilingual
**
* v0.0.6
- added block freekiller's join ct on chooseteam and jointeam
- fixed bug not move to ct again written "client" and not "target" ops my bad
**
* v0.0.7
- fixed on/off cvar on join block
**
Screenshot's:




Note:
Translation Thread: http://forums.alliedmods.net/showthr...68#post1674068

I test this plugin in my server for a long time i have not found any bug's if you found any report it on the thread ty

i will support this mod post here in the thread if you got any question or proposal to improve this mod

PLUGIN is NOT supporting NONSTEAM

enjoy this plugin i hope it will be helpful
FreeKiller.sma - 78 views
Attached Files
File Type: inc freekiller_inc.inc (1.6 KB, 1223 views)
File Type: sma Get Plugin or Get Source (FreeKiller_API_Example.sma - 2326 views - 2.2 KB)
File Type: sma Get Plugin or Get Source (FreeKiller.sma - 2725 views - 13.6 KB)
File Type: txt freekiller_list.txt (8.6 KB, 1291 views)

Last edited by CreePs; 04-08-2012 at 06:48. Reason: Update ml file
CreePs is offline