March 19, 2010, 05:06:02 AM
Home
Forums
Help
Search
Tags
Documentation
GitHub Wiki
Cheatsheet
Downloads
Source Code
Stable dev repo
XLR8or's dev repo
Login
Register
Activation Mail
You are here:
Big Brother Bot Forum
Add-Ons
Plugins
Releases!
NickReg - Registers Nicks
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: NickReg - Registers Nicks (Read 1768 times)
Ismael
Full Member
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
NickReg - Registers Nicks
«
on:
July 25, 2009, 01:26:14 PM »
This plugin allows you to register your nickname. No other person can use it.
By default, only level 2 users or above can register their nicks. (Configurable in nickreg.xml)
********* New functionality provided *********
!registernick or !nickreg
Registers your current nickname as yours. No other person can use it. If somebody does, they will get warns and get kicked.
!deletenick or !delnick
De-registers your nick. Use this if you don't intend to keep using that nick.
!findnick
Find who is using a given nickname
!removenick or !remnick
De-register that player.
Download:
Nickreg1.2.zip
«
Last Edit: January 14, 2010, 11:50:13 AM by Ismael
»
Logged
Ismael
Full Member
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: NickReg - Registers Nicks
«
Reply #1 on:
August 25, 2009, 10:44:30 AM »
Updated.
Fixes problems with nicks that contain '
Logged
xlr8or
[ www.xlrstats.com ]
Project leader
Hero Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
CoD, CoD2, CoD5, UrT
Posts: 1212
Offline
Re: NickReg - Registers Nicks
«
Reply #2 on:
August 25, 2009, 11:22:09 AM »
Nice plugin!
Logged
Serving:
CoD2
|
CoD5
|
UrT4.1
Ismael
Full Member
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: NickReg - Registers Nicks
«
Reply #3 on:
August 25, 2009, 09:47:37 PM »
Ty
Logged
Anubis
Sr. Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD4
Posts: 229
Offline
Re: NickReg - Registers Nicks
«
Reply #4 on:
September 09, 2009, 04:57:35 AM »
Hah, that's funny. I wrote similar plugin a bit ealier. The difference is that if player triggers the command "!registermynick" or "!rmn" this nick is not registered already. It's just a nick registration request. It stays in the DB till I accept it or refuse registration. Nick acceptance is done through new echelon tab
Would you like to see it? (It's not 100% finished, just 97% - however it's working fine).
Logged
http://g4g.pl/
universalrose
Jr. Member
Posts: 23
Offline
Re: NickReg - Registers Nicks
«
Reply #5 on:
October 05, 2009, 12:53:59 PM »
When someone is kicked for using a registered nickname which isnt his/hers, it gives this reason:
This nickname isn't yours!
Would it be possible to add the nickname he/she was trying to use?
Logged
Ismael
Full Member
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: NickReg - Registers Nicks
«
Reply #6 on:
October 05, 2009, 08:51:28 PM »
Anubis plugin seems a good idea. Though, not for all use-cases (I don't use Echelon on any of my servers). If you're willing to release the code as GPL, yes, I'd like to see your code, and maybe look at what we can merge.
Universalrose: I'll add that feature in the next round of developing (when I get time). I also plan to add some commands so that admins can revoke nicks, and look who registered some nick.
Logged
universalrose
Jr. Member
Posts: 23
Offline
Re: NickReg - Registers Nicks
«
Reply #7 on:
October 06, 2009, 03:49:59 AM »
Looking forward to next update, Ismael
Logged
rocknrolla
Newbie
Posts: 5
Offline
Re: NickReg - Registers Nicks
«
Reply #8 on:
October 06, 2009, 09:46:28 PM »
One question:
It registers the nick with the user GUIDs? right?
A few ideas:
- Request to add a password to the nick when registered (!nickreg <password>), so if the user loses his profile, he can !delnick [<nick> <password>] ---> of course <nick> is optional, and password would only be needed if the user specifies a nick argument.
- Automatically delete nicks not beeing used anymore to make room for new users (nick not used in 3 months, for example) (you can use the client.lastVisit propertie)
«
Last Edit: October 06, 2009, 10:02:20 PM by rocknrolla
»
Logged
Bakes
Dev. Team
Hero Member
Posts: 1038
Offline
Don't contact me on Xfire! I will just reject you!
Re: NickReg - Registers Nicks
«
Reply #9 on:
October 06, 2009, 10:04:01 PM »
Yeah, an sql statement:
Code: sql
DELETE FROM (nicktable) WHERE timeadd < UNIX_TIMESTAMP - 129600
, in a cron job to be run every night...
Logged
[
Openbanter
|
Scrim (cod4)
|
BanTweeter
|
FTPyTail
|
ForumLink
]
rocknrolla
Newbie
Posts: 5
Offline
Re: NickReg - Registers Nicks
«
Reply #10 on:
October 06, 2009, 10:15:33 PM »
Quote from: Bakes on October 06, 2009, 10:04:01 PM
Yeah, an sql statement:
Code: sql
DELETE FROM (nicktable) WHERE timeadd < UNIX_TIMESTAMP - 129600
, in a cron job to be run every night...
no, that would delete nick that are being used too..
i want to delete only nicks that
wasn't used
in X time (ex. 3 months)
Logged
Ismael
Full Member
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: NickReg - Registers Nicks
«
Reply #11 on:
October 09, 2009, 12:43:39 PM »
Quote from: rocknrolla on October 06, 2009, 09:46:28 PM
One question:
It registers the nick with the user GUIDs? right?
A few ideas:
- Request to add a password to the nick when registered (!nickreg <password>), so if the user loses his profile, he can !delnick [<nick> <password>] ---> of course <nick> is optional, and password would only be needed if the user specifies a nick argument.
- Automatically delete nicks not beeing used anymore to make room for new users (nick not used in 3 months, for example) (you can use the client.lastVisit propertie)
The problem with the password is that everyone can see the password when I register my nick. What keeps somebody from taking over my nick?
Auto-deletion seems like a good idea. There's no need to add anything to the nicks table, I'll just look into the associated ID.
Logged
Anubis
Sr. Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD4
Posts: 229
Offline
Re: NickReg - Registers Nicks
«
Reply #12 on:
October 16, 2009, 03:18:33 PM »
Quote from: Ismael on October 05, 2009, 08:51:28 PM
Anubis plugin seems a good idea. Though, not for all use-cases (I don't use Echelon on any of my servers). If you're willing to release the code as GPL, yes, I'd like to see your code, and maybe look at what we can merge.
Universalrose: I'll add that feature in the next round of developing (when I get time). I also plan to add some commands so that admins can revoke nicks, and look who registered some nick.
sorry for 'not being' online for some time... had some family issues. I will post the code soon.
Logged
http://g4g.pl/
Ismael
Full Member
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: NickReg - Registers Nicks
«
Reply #13 on:
January 14, 2010, 11:50:46 AM »
New features:
!findnick
Find who is using a given nickname
!removenick or !remnick
De-register that player.
Both commands are for admins.
Logged
Anubis
Sr. Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD4
Posts: 229
Offline
Re: NickReg - Registers Nicks
«
Reply #14 on:
February 25, 2010, 03:17:09 PM »
hi
I know I've promised that I post my implementation soon, but ..... this 'soon' finally come
Sorry guys... life.
here is the packed source of the plugin, sql file, and PHP tab implementation for echelon..
have phun
>>> Download <<<
regards
Logged
http://g4g.pl/
Tags:
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Servers
=> News
=> General Discussion
-----------------------------
Support Forums
-----------------------------
=> Installation Support
=> General Usage Support
=> Game specific Support
===> CoD2
===> CoD4
===> CoD5
===> UrT
===> Other games
-----------------------------
Add-Ons
-----------------------------
=> Installers
=> Plugins
===> Releases!
=> XLR
===> XLR Releases!
=> Configurations
-----------------------------
Community Developers
-----------------------------
=> Plugin Developers
=> The Code Bin