Raised This Month: $ Target: $400
 0% 

Server Rules


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   devicenull (200)
FullThrottle
Member
Join Date: Oct 2004
Old 11-18-2004 , 04:57   Server Rules
Reply With Quote #1

This is an array based rules plugin that will display server rules in a tsay type format in the upper left corner of the players screen.

Commands - can be placed in your server.cfg file or amxx.cfg

amx_addrule "a rule" : Adds a rule to the list

Cvars

sr_color "0,255,0" : RGB color to display the rules
sr_display "20" : Length of time to display the rules
sr_warnings "3" : Max Warnings before action is taken
sr_action "1" : Action to take for violators 0=Warn Only,1=Kick,2=Ban
sr_bantime "60" : Length to ban after max rule violations



Code:
/* Update Log

1.1
	- Changed sr_color so now commas are not used between colors and removed xeroblood's
	code from the project
	- Added keyword processing to display a message to users when they ask how to display the message.
	- Changed default rule color to white.
	- Added the violation menu and the following cvars.
		sr_warnings <- Max Warnings before action is taken
		sr_action <- Action to take for violators 0=Warn Only,1=Kick,2=Ban
		sr_bantime <- Length to ban after max rule violations
	- Added menu command amx_rulemenu
	- Uses the AMXX 1.0 Dynamic menu system.  Set DYNAMICMENU to 0 if you do not have 1.0 running.
	
1.0
	- Initial release
	
*/
Attached Files
File Type: sma Get Plugin or Get Source (server_rules.sma - 35287 views - 8.5 KB)
__________________
FullThrottle
www.wildgamers.net
FullThrottle is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode