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

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


Post New Thread Reply   
 
Thread Tools Display Modes
ShaneAJM
AlliedModders Donor
Join Date: Aug 2017
Location: United States
Old 02-09-2021 , 15:03   Re: [Any][MySQL] tVip (2.2 | 05-03-19) - The simplest to use Vip Manager
Reply With Quote #261

Hey! I have the plugin configured and when I run the sm_addvip command via console it adds it to the database but when I do sm_who <name> I'm not showing my flags.

I wanted users with VIP to have the A flag and I have it set in my tVip.cfg but it's not working. Any ideas? I'm using SteamID64 to add them if that makes a difference.

Here's my config:

PHP Code:
// This file was auto-generated by AutoExecConfig read and append beta
// ConVars for plugin "tVip.smx"


// 20=Custom6, 19=Custom5 etc. Numeric Flag See: 'https://wiki.alliedmods.net/Checking_Admin_Flags_(SourceMod_Scripting)' for Definitions ---- Multiple flags seperated with Space: '16 17 18 19' !!
// -
// Default: "19"
tVip_flag "a"

// Test Vip duration in minutes
// -
// Default: "15"
tVip_testVipDuration "15" 

Last edited by ShaneAJM; 02-09-2021 at 15:06.
ShaneAJM is offline
Sples1
Senior Member
Join Date: Apr 2016
Location: Kitsune Lab
Old 04-01-2021 , 06:21   Re: [Any][MySQL] tVip (2.2 | 05-03-19) - The simplest to use Vip Manager
Reply With Quote #262

Quote:
Originally Posted by ShaneAJM View Post
Hey! I have the plugin configured and when I run the sm_addvip command via console it adds it to the database but when I do sm_who <name> I'm not showing my flags.

I wanted users with VIP to have the A flag and I have it set in my tVip.cfg but it's not working. Any ideas? I'm using SteamID64 to add them if that makes a difference.

Here's my config:

PHP Code:
// This file was auto-generated by AutoExecConfig read and append beta
// ConVars for plugin "tVip.smx"


// 20=Custom6, 19=Custom5 etc. Numeric Flag See: 'https://wiki.alliedmods.net/Checking_Admin_Flags_(SourceMod_Scripting)' for Definitions ---- Multiple flags seperated with Space: '16 17 18 19' !!
// -
// Default: "19"
tVip_flag "a"

// Test Vip duration in minutes
// -
// Default: "15"
tVip_testVipDuration "15" 
You should use "15" instead of "a" as the ConVar description says.
__________________
Developer & Scripter from Kitsune Lab
Contact me: Steam | My Plugins | Kitsune Lab

Join to the community on our Discord server.
I stopped public develops. My old/new plugins available ONLY for my Discord community.
Sples1 is offline
Sples1
Senior Member
Join Date: Apr 2016
Location: Kitsune Lab
Old 04-02-2021 , 08:39   Re: [Any][MySQL] tVip (2.2 | 05-03-19) - The simplest to use Vip Manager
Reply With Quote #263

I have a problem with the given flags. For Example I give my VIP users flag "15" which is CUSTOM1. When I check the user's flags with !who it says the user has those flags. However sourcemod says no permission for those commands which uses a flag also. How could I possibly fix that?
__________________
Developer & Scripter from Kitsune Lab
Contact me: Steam | My Plugins | Kitsune Lab

Join to the community on our Discord server.
I stopped public develops. My old/new plugins available ONLY for my Discord community.
Sples1 is offline
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 04-03-2021 , 18:40   Re: [Any][MySQL] tVip (2.2 | 05-03-19) - The simplest to use Vip Manager
Reply With Quote #264

I have updated the .smx to end this database mess once and for all.

For all the junior developers out there: If a plugin works for you and not for a small percentage of the users, do not think that the user is the problem, but rather, try to find a ways to make it compatible with other, less used systems, too.
__________________
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
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 04-03-2021 , 18:42   Re: [Any][MySQL] tVip (2.2 | 05-03-19) - The simplest to use Vip Manager
Reply With Quote #265

Quote:
Originally Posted by Sples1 View Post
I have a problem with the given flags. For Example I give my VIP users flag "15" which is CUSTOM1. When I check the user's flags with !who it says the user has those flags. However sourcemod says no permission for those commands which uses a flag also. How could I possibly fix that?
As discussed in DMs, this is most likely an issue with your plugins requiring admin status instead of just checking bit flags. Sourcebans is fully compatible with this plugin. Flags and Admin groups will never work with the approach this plugin is taking.
__________________
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
Darkwob
BANNED
Join Date: Oct 2018
Old 04-10-2021 , 16:35   Re: [Any][MySQL] tVip (2.3 | 04-04-21) - The simplest to use Vip Manager
Reply With Quote #266

bro, does this plugin only provide a vip menu? without any feature?
Darkwob is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 09-10-2021 , 17:45   Re: [Any][MySQL] tVip (2.3 | 04-04-21) - The simplest to use Vip Manager
Reply With Quote #267

In Left 4 Dead 2
If I put these commands they give me these answers respectively:

] sm_addvip "STEAM_1:1:13698540" 1 "Tonblader" 0
Added 1:13698540 as VIP for 1 Month
] sm_addvip "STEAM_1:1:13698540" 1 "Tonblader" 1
Added 1:13698540 as VIP for 1 Month

Last edited by Tonblader; 09-10-2021 at 23:30.
Tonblader is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 09-11-2022 , 10:40   Re: [Any][MySQL] tVip (2.3 | 04-04-21) - The simplest to use Vip Manager
Reply With Quote #268

how i can set flag "o" on tvip.cfg?

Last edited by Danielej1; 09-11-2022 at 14:20. Reason: solved
Danielej1 is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 09-23-2022 , 07:03   Re: [Any][MySQL] tVip (2.3 | 04-04-21) - The simplest to use Vip Manager
Reply With Quote #269

Is it possible to register sm_addvip as a server command so it will distribute automatically vip to some players?
JLmelenchon is offline
BaNK3r
New Member
Join Date: Jan 2023
Old 01-09-2023 , 12:30   Requests for this plugin
Reply With Quote #270

Hi! Love your plugin!

Could you add an easier way to grant someone vip ingame?
I would also like higher flags to be able to toggle the vip on themselves, because I can't find a way to give myself vip without removing my "z" flag.
More customization would also be appreciated!

Thank you very much for sharing your plugin and I would love to see what more you can do with it!
BaNK3r is offline
Reply



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 20:13.


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