[ANY] BETA SQLite VIP Api
3 Attachment(s)
Edit: This plugin is atrocious.
Hope you'll like this plugin, has very few features but will change once I sort out the bugs. I won't use Updater to avoid additional trouble if a native gets changed. SQLiteVIPApi is the API plugin itself and SQLiteVIPModule is the module that allows VIP at level 1 to get more HP and Armor by a certain formula relative to their VIP level, and VIP at level 2 can get a free helmet. General Info: The VIP Level of a player is the 'status' of the player. It is only set by the admin and it should be higher as the player pays more for his status. Levels 1, 2 and 3 can be seen for example as 'Bronze', 'Silver', and 'Gold' Commands: sm_setvip <target> <vip level> <duration in days|0=permanent> - Sets a VIP status on a player, if higher than the current VIP level, the current VIP level does NOT get deleted and therefore allows stacking ( example: 3 days for level 5 VIP but permanent level 3 VIP ) sm_unsetvip <target> - Unsets the VIP status from a player. To do: offline setting VIP commands. List of VIP command. Plugins that use this API: None, yet. |
Re: [ANY] BETA SQLite VIP Api
Some questions I have:
- Why are you not using the include for the VIP API and instead of placing them directly in the plugin source? You are already using includes from sdkhooks, and etc. - Any reason you are using the old syntax instead of the new transitional syntax? |
Re: [ANY] BETA SQLite VIP Api
Quote:
I dislike includes but gave them for everybody regardless to support them, sdkhooks is a base mod so it doesn't count. I like old syntax because my very first and only other scripting language I know is AmxModX |
Re: [ANY] BETA SQLite VIP Api
have a way to change the "level" for flags? like a sm_setvip <target> <flags> <duration in days|0=permanent>
|
Re: [ANY] BETA SQLite VIP Api
Quote:
Edit: wait, there should be something like sm_addadmin for flags, this sounds a bit worthless. After all the whole point in plugins like these split into two reasons: not dealing with admin flags, only VIP flags for the benefits and allowing VIP to edit their rewards if they feel OP / Have an annoying feature like a parachute that meddles ( if that's the right word ) with your ability to press buttons. |
Re: [ANY] BETA SQLite VIP Api
So I write a module. If I want VIPs to have a reserved slot and a VIP tag, I would make it so that level 1 gets a reserved slot, level 2 gets a VIP tag, and then if a VIP doesn't want a tag they can change their level?
How does a VIP change their reward? |
Re: [ANY] BETA SQLite VIP Api
Quote:
!settings. The level should get higher as the VIP pays more for his status. Level 2 VIP is minimum in my example module for a free helmet and you get more HP as your VIP level is higher. VIP level is not alterable by a VIP. You can view level 1, 2, 3 as Bronze, Silver and Gold VIP. Feel free to post your modules in this post, I'll attach your reply in my main post if you ever need to edit them. Oh, if the VIP is able to alter his tag with a command, forget about the AddFeature native, as it only allows constant settings. |
Re: [ANY] BETA SQLite VIP Api
Quote:
|
Re: [ANY] BETA SQLite VIP Api
Quote:
|
All times are GMT -4. The time now is 03:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.