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

One Name v3.0! (Updated 5-9-06)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   v3x (159)
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 09-20-2005 , 19:41   One Name v3.0! (Updated 5-9-06)
Reply With Quote #1

AMX One Name
Purpose:
  • Allow players to only have one name in your server.
Functionality
  • On clients first connection to the server they see a warning saying that they are allowed only one name.
    Then they have 60 seconds (1 minute) to change their name to what they want.
    After that the only way to get your name changed is to have the admin change your name or allow you to change your name (both ways are accomplished through admin commands)

    The warning only shows the first time they come in the server and only the first time. and will change their name to what is saved.

Commands:
  • amx_changename <nick , authid , #userid> <new name> - forces name change.
    amx_allownamechange <nick , authid , #userid> - allows player to change their name.

    say /name - Brings up an MOTD that explains how the plugin works.

Files needed:
  • amxmodx/configs/One_Name.htm -- The MOTD window that pops up.

Build Log:
  • 1.0 - Initial attempt.
    1.1 - Fixed errors in first attempt
    1.2 - More bug fixes.
    2.0 - Started plugin from scratch using a new method making plugin more stable
    2.1 - Fixed small glitch in system.
    2.2 - Added bot ignorance.
    3.0 - Redo! - fixed bugs that appeared out of no where!!!

Required Modules:
The only required module is nVault. It is not enabled by default so you have to enable it.
What you need to do is:
  • 1) Open up amxmodx/configs/modules.ini in any text editor.

    2) Find the text that looks similar to:
    Quote:
    Originally Posted by Before
    ; --------------------
    ; Binary Vault support
    ; --------------------
    ;nvault_amxx_i386.so
    ;nvault_amxx.dll
    ;nvault_amxx_amd64.so
    Change it to look like:
    Quote:
    Originally Posted by After
    ; --------------------
    ; Binary Vault support
    ; --------------------
    nvault_amxx_i386.so
    nvault_amxx.dll
    nvault_amxx_amd64.so
    3) Save the file. (Upload if a remote server)

    4) Restart the server or change maps.

NOTE:
As a request someone asked for compatibilty to Brad's Restrict Names plugin. So that patched version is included in the zip but, only the .sma and .amxx are here. To get the other files visit here


All files are included in the .zip file along with a compiled version of the plugin.
Attached Files
File Type: sma Get Plugin or Get Source (amx_onename.sma - 6047 views - 5.6 KB)
File Type: zip amx_onename.zip (29.3 KB, 5865 views)
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
 



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 15:59.


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