Raised This Month: $7 Target: $400
 1% 

V.I.P System ( API + Web )


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Natsheh
Veteran Member
Join Date: Sep 2012
Old 12-22-2018 , 09:17   V.I.P System ( API + Web )
Reply With Quote #1

V.I.P System
Version: 2.1

Description :-

VIP system, basically you can create flags and assign to each flag some functions, abilities these abilities and functions are not limited.

Features :-

* This VIP System is associated with the AmxBans WEB Frame.
* API Support.
* MySql & File Saving methods.
* Has Expiration date auto remove.
* This mostly is very helpful for scripters/coders...

Change Log:-
Code:
v1.0: Release.
v2.0:
  • Fixed several bugs reported in post #7
  • Added more extra plugins ( vip_dust2_priv, vip_top_assign, Statsx [MySql Support], Auto Rank Reset )
  • VIP list optimized now you can view flags info also + Added top15 list for statsx.
  • Added more natives...
v2.1:
  • Fixed few bugs in the code + optimized the script!

Cvars & Commands:-

*Cvars
  • vip_save_type (Default: 0 = File) / 1 = MySql.
  • vip_sql_table_prefix (Default: vips)
*Console Commands
  • amx_reloadvips
  • amx_available_vip_flags
  • amx_addvip
*Client Commands
  • amx_modifievips_menu

* Big Thanks to (Credits) *
  • AmxBans Creators
  • AmxModX Team


API :-
Spoiler



Servers are using this plugin
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 08-24-2023 at 21:16.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 12-23-2018 , 00:11   Re: V.I.P System ( API + Web )
Reply With Quote #2

GG nice plugin gonna test in my server
SHIELD755 is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 02-04-2019 , 23:32   Re: V.I.P System ( API + Web )
Reply With Quote #3

my pc left 4 dead 2 game try ! working ?

Last edited by Darkwob; 02-04-2019 at 23:32.
Darkwob is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-05-2019 , 08:49   Re: V.I.P System ( API + Web )
Reply With Quote #4

Quote:
Originally Posted by Darkwob View Post
my pc left 4 dead 2 game try ! working ?
L4D2 doesn't run AMX Mod X.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Darkwob
BANNED
Join Date: Oct 2018
Old 02-06-2019 , 11:13   Re: V.I.P System ( API + Web )
Reply With Quote #5

this working left 4 dead 2 ?
Darkwob is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 02-06-2019 , 11:46   Re: V.I.P System ( API + Web )
Reply With Quote #6

Quote:
Originally Posted by Darkwob View Post
this working left 4 dead 2 ?
No this is an amxx section I can't make support for source mod plugin here...

So it won't work on left 4 dead 2.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
kritikos
New Member
Join Date: Jan 2019
Old 02-14-2019 , 05:03   Re: V.I.P System ( API + Web )
Reply With Quote #7

bug 1 : does not create the table "vips_global"

bug 2 : after you manually create the table, the vip does not work correctly because it has access to the flag letters, so most of the vips that have access to "t" can not be added.

bug 3 : after I corrected access2 no (and before that) I did test if the vip , while in the vip list it appears to be integration there is no access in the server to vip.

bug 4 : amx_addvip does not work properly in server.
kritikos is offline
Old 02-16-2019, 08:30
Natsheh
This message has been deleted by Natsheh.
Natsheh
Veteran Member
Join Date: Sep 2012
Old 02-22-2019 , 20:04   Re: V.I.P System ( API + Web )
Reply With Quote #8

Update :- (v2.0)

Read the change logs for more information.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
kritikos
New Member
Join Date: Jan 2019
Old 03-01-2019 , 10:02   Re: V.I.P System ( API + Web )
Reply With Quote #9

Plugins Bugs

Bug #1 Plugin dont find vip from database
logs [AMXX] 0 vips loaded from the database!

[AMXX] 0 vips are online
[AMXX] VIPs has been successfully reloaded!

database _global
name: test, auth: test1, password: test, access: t, expire: 03/31/2019 - 174:52, created: 03/01/2019 - 164:52
I do not know if works from "users_vip.ini" (i dont check)

Bug #2 I try to create file "users_vip_sql.ini" with database but server remove this file after change map

Bug #3 Command amx_addvip dont added nothing in database. (i have vip_save_type "1")

I would not be sure did not read the database but it creates the tables _global etc. so make the connection server in database.

Missing files "users_vip.ini" and "users_vip_sql.ini"

Website Fix Problems

need to change in file "admin_sm_av.php" line 244 this code $access2,"flags2" to this $access2,"vipaccess"

After need to go in this file "functions.inc.php" and add this code
"case 'vipaccess':
if(!preg_match("/^[b,i,t]{1,22}$/",$value)) { $msg="_ACCESSINVALID"; return false; }
return true;
break;"

after case 'amxxaccess' and before case 'flags2'

Database (i dont know if is bug or work okay) but after to add vip by website created a table with Server IP


I have not noticed anything else so far.
GL
kritikos is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-05-2019 , 04:23   Re: V.I.P System ( API + Web )
Reply With Quote #10

I can assure you there is no bugs.

Server reads data from the table prefix comes with server ip + port, table global is for the Web configuration


Still it needs more optimization so the process make sense but for now there is no errors or bugs.

Also you cannot create users_vip_sql file its auto deleted on map change/start


Bug #3 the command expect strict arguments so make sure the user you are adding is connected also.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 03-05-2019 at 04:28.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 07:45.


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