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

[Any][MySQL] tVip (2.3 | 04-04-21) - The simplest to use Vip Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 01-21-2019 , 12:11   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #161

Quote:
Originally Posted by eyal282 View Post
Can you add a forward for when a player gets his vip checked? Make it trigger even if not vip of course with a Boolean of if I'm he's a VIP or not

I will not, as this indicated that the architecture of your other plugin that needs it is servely flawed.

Use CheckCommandAccess to test for Vip after the Vip loaded forward.
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...
Totenfluch is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 01-21-2019 , 14:27   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #162

Quote:
Originally Posted by Totenfluch View Post
I will not, as this indicated that the architecture of your other plugin that needs it is servely flawed.

Use CheckCommandAccess to test for Vip after the Vip loaded forward.

What forward? There isn't any forward generated by your plugin.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 01-21-2019 , 14:35   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #163

Quote:
Originally Posted by eyal282 View Post
What forward? There isn't any forward generated by your plugin.
Code:
public void tVip_OnClientLoadedPost(int client) {}
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 01-22-2019 , 08:22   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #164

Quote:
Originally Posted by plock View Post
Code:
public void tVip_OnClientLoadedPost(int client) {}
Didn't realize he'd post an outdated .sp on his thread, might as-well not post it at all to prevent confusion.

A plugin that'll attempt to kick any non-primers without VIP will fail to kick if g_hForward_OnClientLoadedPre will return handled or stop. There should be a forward similar to OnClientPostAdminCheck, which will trigger it no matter what happens.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334

Last edited by eyal282; 01-22-2019 at 08:26.
eyal282 is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 01-22-2019 , 08:25   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #165

Quote:
Originally Posted by eyal282 View Post
Didn't realize he'd post an outdated .sp on his thread, might as-well not post it at all to prevent confusion.
Yep, I've told him to updated it a while a ago and I think he has updated the .smx only, but I haven't checked the .sp.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
starcs
Member
Join Date: Nov 2018
Old 02-01-2019 , 13:12   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #166

Quote:
Originally Posted by Totenfluch View Post
Hey0,

Today I'm going to present a Plugin to you that is available in other forms but not with this featureset.


This Plugin allows you to add Vips on the fly to your Server, extend their Status or Remove them.
You can also lookup the details of Vips in a simple to use Menu.

The Plugin was designed for Large Communities that run a big amount of servers.
This is why it has a live MySQL Sync. This means no data is stored locally and everything is instantly synced to the database to allow a seamless workflow.


Let's get to the details.

INSTALLATION:
- IT WON'T WORK WITHOUT DOING THIS -

Spoiler


There is a config called tVip under cfg/soucemod that allow you to change the flag.

The following commands are available:



Config:


Compatible Plugins:
[ANY] Reserved Slots with tVip support

That's about it.
I hope it's usefull for some of you.

If you are interested in other Plugins (Zephstore parts & more), checkout my Website

Images:








Natives:
PHP Code:
/**
 * Grant vip to a client.
 *
 * @param admin          Admin that set VIP.
 * @param client         Client that will recive VIP.
 * @param duration        Vip duration.
 * @param format         Time format, 1 = Minutes - 0 = Month.
 * @noreturn
 * @error                Invalid client/admin Index or invalid format.
 */
native void tVip_GrantVip(int clientint adminint durationint format 1);



/**
 * Delete Vip from database.
 *
 * @param SteamId          Client SteamID.
 * @noreturn
 */
native void tVip_DeleteVip(char SteamId[20]); 
Changelog:


Github: https://github.com/Totenfluch/tVip

Download Count: 521
Hey! Have a way to modify this plugin to add Mod and Admins?
If have another plugin with that objective pls tell me!
__________________
Founder of ⭐ STRTEAM
starcs is offline
Terminatorr
Member
Join Date: Dec 2018
Old 02-02-2019 , 14:27   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #167

Hello Guys, is the plugin working for you?
Mysql is working fine, i made sure of that. But i keep getting this. any help please.
PHP Code:
sm_tvip  
Unknown command
sm_tvip 
Terminatorr is offline
Notifications
AlliedModders Donor
Join Date: Oct 2015
Old 02-02-2019 , 19:09   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #168

Quote:
Originally Posted by Terminatorr View Post
Hello Guys, is the plugin working for you?
Mysql is working fine, i made sure of that. But i keep getting this. any help please.
PHP Code:
sm_tvip  
Unknown command
sm_tvip 
Check your log file and you'll find the problem
Notifications is offline
krikus62
Senior Member
Join Date: Jan 2015
Old 02-05-2019 , 14:40   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #169

Quote:
Originally Posted by krikus62 View Post
Can't quite figure out what steamid is supposed to be used with sm_removevip
As well is there a way to use days instead of months ?
Sorry for bumping, I am still looking for an answer to this.
__________________
My plugins:
Spoiler
krikus62 is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 02-06-2019 , 11:53   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #170

can we just play on our own computer without having a server ? does he work in the Left 4 Dead 2 game ?
Darkwob 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 07:09.


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