Raised This Month: $51 Target: $400
 12% 

Terms & Agreement (With Client Logging) - Updated 3-3-07


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        Approver:   Hawk552 (427)
sHum
Member
Join Date: May 2006
Old 02-23-2007 , 03:11   Terms & Agreement (With Client Logging) - Updated 3-3-07
Reply With Quote #1

Server Terms & Agreement (With Client Logging)
- a Server Rules plugin

This plugin is Dahvid's Agreement plugin, that got Unapproved previously...because it did not work well. so gonna attempt to get it Approved, because i feel all the other Approved server-rules management plugins cant beat Dahvid's concept. There's only 2 other 'rules-specific' plugins around from what i searched.. both use HUD Text, where people complain "disappears within a second", unknowing that the cause is because of the limited HUD Text layers/channels.
Dahvid's method solves that at best. The rules are shown in a MOTD, so there's unlimited time given to players to absorb the rules fully.

See Here for the original plugin:
http://forums.alliedmods.net/showthread.php?t=18493

What this plugin does: (agree.amxx)
The plugin will pop up a menu to players that join the server, asking them if they "Agree" or "Decline" your server rules. If they Agree, they will be logged and never be asked again.

If they Decline, they will be kick instantly, and if they reconnect, they will automatically be kicked again after 60 seconds.
They have to find an admin to clear their deeds if they wish to indeed play on the server.
This feature is here to make sure that all players that play on your server dont just "simply agree"... Players will be discouraged from blindly accepting your server rules.

The plugin auto-generates "Agreed.ini" & "Declined.ini" in your moddir/addons/amxmodx/configs folder.

Cvars:
- amx_removedecline "<STEAM_ID>" //- Removes player from Declined log, so the player stops getting kicked again and again for Declining the server rules.


**Alternate Version Included** (agree_nodeclined.amxx)
created an alternate version upon request.
This version of the plugin does the same thing as the other one, except for the entire Declined feature.
- No "Declined logging", no need for amx_removedeclined command.
- Player gets kicked if he/she Disagrees, no more admins needed to 'clear' the player
- Player will be asked again to accept the rules upon reconnect.

Setup:
- Create a "rules.txt" and place it in your moddir (cstrike/)
This is what will be shown to your clients.
- rules.txt can be written in HTML format.

Credits:
- Dahvid for original source
- xxAvalanchexx for helping out with optimizing the code in the 1st cycle.
- me? further updated plugin(s) to what it is now.

Tested on my linux server, latest amxx, works fully, logging works perfect.


ToDo:
- Create simpler removedecline methods.. currently Admins have to figure out (ask/status) the client's SteamID to clear the player from the 'Declined' list. would be nice if we could somehow have it like other amx commands where all we need is a portion of the user's nick and it will autodetect.
Attached Files
File Type: sma Get Plugin or Get Source (agree.sma - 9688 views - 4.4 KB)
File Type: sma Get Plugin or Get Source (agree_nodeclined.sma - 8306 views - 2.4 KB)

Last edited by sHum; 03-04-2007 at 02:21. Reason: Updated plugin
sHum 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 13:38.


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