Raised This Month: $95 Target: $400
 23% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   v3x (159)
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 09-20-2005 , 20: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 - 5000 views - 5.6 KB)
File Type: zip amx_onename.zip (29.3 KB, 5169 views)
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
BACARRA
Senior Member
Join Date: Mar 2005
Old 09-20-2005 , 20:43  
Reply With Quote #2

does it remember their name after they leave nand come back?
BACARRA is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 09-20-2005 , 20:43  
Reply With Quote #3

Yes.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 05-09-2006 , 23:44  
Reply With Quote #4

Updated to new version! Works without bugs this time.

[Note] I trashed the old topic because non of it is relative and I don't want new people thinking there are bugs now.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 05-10-2006 , 00:18  
Reply With Quote #5

I see there is a restrictnames-onename.sma in addition to amx_onename.sma

for installation do I need to install both restrictnames-onename.sma and amx_onename.sma or just one of them? I already have restrictnames installed so I am confused why there is a plugin included with Brads name on it. I was thinking you were just adding an option to make it compatible in yours??? or did you modify his and that is what restrictnames-onename is?

If you could clarify for me I would appreciate it. Thanx a bunch.
SubStream is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 05-10-2006 , 00:20  
Reply With Quote #6

Quote:
Originally Posted by My self in first post
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
k, thx for reading bye.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 05-10-2006 , 00:27  
Reply With Quote #7

Quote:
Originally Posted by Suicid3
As a request someone asked for compatibilty to Brad's Restrict Names plugin.
which was me
Quote:
Originally Posted by Suicid3
So that patched version is included in the zip
easy to understand... but which .sma in the zip file is the patched version??? that is what I'm trying to find out.
Quote:
Originally Posted by Suicid3
but, only the .sma and .amxx are here.
Only the .sma for which one is listed? for the version that is compatible or the version that is not compatible?
Quote:
Originally Posted by Suicid3
To get the other files visit here
Already got all the files so this part made sense when I read it anyhow.
Quote:
Originally Posted by Suicid3
k, thx for reading bye.
No reason to assume I didn't read.

I assumed you would add something like register_cvar ( use_restrictnames, 1 ) as an option in your plugin. I did not think you would be modifying Brad's plugin and reposting your version of his to be compatible with yours. That was my question because I did not fully understand what you meant by saying his patched version. You did not say "the patched version is named %s and if you want to use restrictnames with my plugin then only use restnames-onename.amxx and do not use amx_onename.amxx" you just said there's a patched version.. If you had used a detailed sentence then I wouldn't have had a question. The way you said it that could mean its the one in the zip called amx_onename.sma and that restnames-onename was just there for people who want to add it to their server and unless stated that you specifically modified his and renamed it to that then how is someone to know?

I'm just asking a question which obviously was not clear cut to understand from reading the first post. There's no reason to say "k... ty for reading bye" when my question is legitimate and your statements were not said in enough detail for me to understand them. It's not obvious just by reading what you said if I'm supposed to use restnames-onename or if that's just his plugin renamed for those who haven't downloaded it yet, or if its your modified version of his.
SubStream is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 05-10-2006 , 00:36  
Reply With Quote #8

For me to add into my plugin what his does would take his whole plugin and add it to mine.

To edit his plugin took editing 4 lines of code. So I did that and added his patched files to my release.

To have Restrict Names work with my plugin you must use restrictnames-onename.amxx If you don't use restrictnames then dont worry about what is in there.

If you can't figure out that I changed his plugin when I give a link to it in the paragraph I was talking in then you need some serious help because you have NO COMMON SENSE!
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
BACARRA
Senior Member
Join Date: Mar 2005
Old 05-10-2006 , 11:07  
Reply With Quote #9

thx for fixing this suicide. its awesome
BACARRA is offline
jippo
Senior Member
Join Date: Jun 2005
Old 05-11-2006 , 08:00  
Reply With Quote #10

Quote:
Originally Posted by Suicid3
Updated to new version! Works without bugs this time.

[Note] I trashed the old topic because non of it is relative and I don't want new people thinking there are bugs now.

HIHAAAAAAAAAAAAAAAAAAA! Thanks mate! I been watching the old topic every day Off to test now.
__________________
jippo is offline
Reply


Thread Tools
Display Modes

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 14:26.


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