eSportsKosova - Gaming Community
Nick Reservation Version 2.07 - Printable Version

+- eSportsKosova - Gaming Community (https://esportskosova.com)
+-- Forum: HAPËSIRA E COUNTER-STRIKE (https://esportskosova.com/forum-7.html)
+--- Forum: Counter-Strike 1.6 (https://esportskosova.com/forum-19.html)
+---- Forum: Amx Mod X (https://esportskosova.com/forum-58.html)
+----- Forum: AMX - Plugin's (https://esportskosova.com/forum-193.html)
+----- Thread: Nick Reservation Version 2.07 (/thread-20304.html)

Pages: 1 2


Nick Reservation Version 2.07 - Jeppo. - 03-04-2022

[legend=Info]For more plugins you can find me at :
- <!-- m --><a class="postlink" href="http://eSportsKosova.com/forum" onclick="window.open(this.href);return false;">http://eSportsKosova.com/forum</a><!-- m -->


Plugin Version : 2.07
Plugin Size : 52.2KB

For more plugins visit : <!-- m --><a class="postlink" href="http://eSportsKosova.com" onclick="window.open(this.href);return false;">http://eSportsKosova.com</a><!-- m -->
OR
Contact me at e-mail : <!-- e --><a href="mailto:jeppo.cs@live.com">jeppo.cs@live.com</a><!-- e -->[/legend]
[legend=How to install]This is a tutorial for those of you newbies who do not know how to install a plugin.

1) Download the .amxx file
2) Place .amxx file in $moddir/addons/amxmodx/plugins
3) Open $moddir/addons/amxmodx/configs/plugins.ini with wordpad/notepad.
4) Add a line that looks something like this: plugin_whatever.amxx (NOTE: right click the .amxx file > rename > copy > then paste the copied name into your plugins.ini so you wont mispell it.)
5) Make sure the .amxx file is in plugins folder
6) Make sure you got the EXACT NAME of the file in the plugins.ini (It is case-sensitive)
7) Change map/restart server
Have fun with new plugin!

For more plugins visit : <!-- m --><a class="postlink" href="http://eSportsKosova.com/forum" onclick="window.open(this.href);return false;">http://eSportsKosova.com/forum</a><!-- m -->

Regards
Jeppo.[/legend]

[legend=How to Use]Name Registration Version 2.07 ~ An AMX Mod X plugin by Jeppo.
You can find new versions at:
-http://www.eSportsKosova.com/forum

E-MAIL : <!-- e --><a href="mailto:jeppo.cs@live.com">jeppo.cs@live.com</a><!-- e -->

Admin Commands:
All admin commands have definable access level.
-blockname <name> - Block a name from being used.
-bname <name> - Same as blockname.
-blocklist - Display a list of blocked names.
-blist - Same as block list
-removename <name> - Remove all restrictions on a name.
-remname <name> - Same as removename.
-pblockname <name> - Block a phrase from use in a name.
-pblock <name> - Same as pblockname.

Commands:
All commands restrictable by define.
-registername - Register your current name.
-regname - Same as registername.
-unregistername - Unregister your current name.
-uregname - Same as unregistername.
-listnames - Display a list of your registered names.
-lnames - Same as listnames.

Cvars:
Values for punish cvars are as follows:
-0 - Do not change their name but warn and kick them
-1 - Change their name to a specific name (Registered_Name, Blocked_Name, etc.) then warn and kick them
-2 - Change their name to a random name in punishname.txt (or punishnames table for SQL users) then warn them
-3 - Change their name to a random name in punishname.txt (or punishnames table for SQL users) then warn and kick them
-4 - Change their name to one of their own registered names and tell them what happened (if they don't have one this is treated as a 0)
Note: Of course, turning the requirement to register on and setting the punish level at 4 is pointless, so it is not included.
-amx_minnamelen (default 4) - Set minimum name length for players.
-amx_namelenpunish (default 0) - Set punishment for having too short of a name.
-amx_containname (default 1) - Set check to see if one player's name contains another's.
-amx_containpunish (default 0) - Set punishment for having a name contained or containing another player's name.
-amx_pblockpunish (default 0) - Set punishment for using a name which contains a phrase that has been blocked.
-amx_regpunish (default 0) - Set punishment for using someone else's registered name.
-amx_forcereg (default 0) - Force users to have a name registered? 0 = No | 1 = Yes
-amx_notregpunish (default 0) - Set punishment for not having a registered name (if amx_forcereg is 1)
-amx_forceuse (defualt 0) - Force people with registered names to use one of them.
-amx_maxregnames (default 5) - Set the maximum amount of names a player can register.
-amx_allowreg (default 1) - Set whether or not only admins can register. 0 = Admins only | 1 = Everyone can register
-amx_viciouswait (default 0; in seconds) - How long to wait for a player to spawn to change their name. If they don't spawn in time they will be spawned, have their name changed then slayed by the plugin (without affecting their score)

Defines:
-SQLON (default 0) - 0 = Use file | 1 = Use SQL
-REG_ACCESS (default ADMIN_USER) - Set access required to register a name.
-UNREG_ACCESS (default ADMIN_USER) - Set access required to unregister a name.
-REM_NAME_ACCESS (default ADMIN_KICK) - Set access required to remove restrictions on a name.
-BLOCK_ACCESS (default ADMIN_KICK) - Set access required to block a name from use.
-P_BLOCK_ACCESS (default ADMIN_KICK) - Set access required to block a phrase from use in names.
-BLOCK_LIST_ACCESS (default ADMIN_CHAT) - Set access required to view all blocks and phrase blocks.
-LIST_NAMES_ACCESS (default ADMIN_USER) - Set access required to view all your registered names.

FAQ:
-How do I make this work on LAN?
It is automatic, everytime a command that deals with LAN/Steam ID is executed, the command uses the appropriate one.
-How do I add punishnames to the file?
Add your new names under the correct headings, like it says in the file.
-How do I add punishnames to SQL?
You will need to insert new values into the table in this format: "name" "type"
(Type = s for short | c = name containment | p = phrase blocked | b = blocked name | r = already registered name | n = not registered)

Changelog:
-Version 2.04
-More SQL bug fixes
-Version 2.03
-Fixed SQL Version
-Version 2.02
-Freed a bunch of un-freed results (Fixed SQL ?)
-Version 2.01
-Fixed bug in switching players to one of their registered names
-Added cvar to change time waited for vicious name change if still dead
-Version 2.0
-Added lan capability
-Added minimum name length cvar and punishment
-Added containment restriction
-Added phrase blocks
-Readded listnames
-Added cvar to force users to register
-Added cvar to force users to use their registered names
-Added new punishments for using registered names, blocked names, etc.
-Version 1.9.1
-Fixed the warnings when compiling the SQL version
-Fixed some logging errors and added a bit more logging
-Version 1.9
-Added kicking of people (after about one minute) who leave their names "Registered_Name" or "Blocked_Name".
-Added cvar amx_forcereg (default 0) to force users to have a name registered. The plugin will kick in about one minute if they don't register.
-Added hud messages for the above two
-Added amx_allowunreg so you can restrict just registering or just unregistering or both or none. Really?!?! Wink
-Version 1.8
-Added adminunregistername/auregname
-Clarified some messages
-Fixed possible memory leak
-Fixed bug in SteamID reading
-Changed SQL cvar to a define
-Version 1.7
-Added SQL support
-Added blockname <name> to block a name
-Added unblockname <name> to unblock a name
-Added blocklist to show a list of blocked names
-Version 1.6:
-Rewrote plugin to use its own file
-Made plugin funtions more efficient
-Added name blocking by editing the file ie.
"player" "blocked" will block all cases of player/PlAyEr
-Removed listnames/lnam
-Version 1.5:
-Fixed a large bug in case sensitivity with help from
Melt284 and jtp10181
-Version 1.4:
-Added listnames/lnam to list the names you have regisered
-Version 1.3:
-Added unregistername
-Added short versions of the register commands
-Added messages to register and unregister commands
-Version 1.2:
-Added a cvar to control the maximum number of names
-Version 1.1:
-Added a maximum number of names players can register
-Version 1.0:
-Initial working writing

Regards
Jeppo.[/legend]

[legend=Download File]Click here to download the Nick Reservation v2.07[/legend]

Regards
Jeppo


Re: Nick Reservation Version 2.07 - jaaki - 03-04-2022

GJ. veq ish kon mir me tregu shqip :/ shumica skuptojn


Re: Nick Reservation Version 2.07 - abiz - 03-05-2022

un spe kuptoj :A ,per qka osht ky plugins ?


Re: Nick Reservation Version 2.07 - AMXX - 03-06-2022

pfff shum pshtjellshem edhe so interesant veq kopi paste Sad


Re: Nick Reservation Version 2.07 - tinzo &lt;3 الله - 03-06-2022

perktheje more shqip o vlla Angry

eSportsAmerica pot doket a? bile mu mundu me gugell transllejt me perkthy


Re: Nick Reservation Version 2.07 - N!ghtWarrior.! - 03-06-2022

tinzo <3 الله' Wrote:perktheje more shqip o vlla Angry

eSportsAmerica pot doket a? bile mu mundu me gugell transllejt me perkthy

o jo bre po dojn me shit mend ,
veq po harrojn qe N'Kosov jane , gjuhen e vet se respetkojn


Re: Nick Reservation Version 2.07 - MoonWalker - 03-06-2022

More o pun e madhe me perkthy ton kta edhe nuk muj perkthehet fjal per fjal shqip , anglishtja osht gjuh e kompjuterit qa ini turr ktij perktheje dikush nmujt .
Veq une sen lidhje skom per qka vyn ky plugin kallxo shqio jeppo.


Re: Nick Reservation Version 2.07 - AMXX - 03-06-2022

Qeshtu njeri munohet kishe po di diqka e sen sun bon pff


Re: Nick Reservation Version 2.07 - GrOobY - 04-14-2022

t4t1fati Wrote:GJ. veq ish kon mir me tregu shqip :/ shumica skuptojn
As une spo kuptoj :? :?