VIP
आपके डिज़ाइन किए पेड VIP लेवल: कीमत, अवधि, तस्वीरें, रंग और विशेषाधिकार (फ़्रेम, एंट्रेंस, रंगीन नाम, किक और बैन से सुरक्षा, छिपा हुआ रूम)। कॉइन से खुद के लिए या गिफ़्ट के रूप में खरीदे जाते हैं, बैग में रखे जाते हैं।
Arjun Mehta द्वारापहली बार प्रकाशित 29 नव॰ 2026अंतिम अपडेट 1 दिस॰ 2026
इस फ़ीचर के बारे में
आपके डिज़ाइन किए पेड VIP लेवल: कीमत, अवधि, तस्वीरें, रंग और विशेषाधिकार (फ़्रेम, एंट्रेंस, रंगीन नाम, किक और बैन से सुरक्षा, छिपा हुआ रूम)। कॉइन से खुद के लिए या गिफ़्ट के रूप में खरीदे जाते हैं, बैग में रखे जाते हैं।
यह क्या करती है
- यह कैसे काम करता है: आप जितने चाहें उतने VIP लेवल बनाते हैं (लेवल 1, 2, 3 और आगे)। यूज़र ऐप में VIP सेंटर खोलता है, VIP स्टोर में कोई लेवल चुनता है और कॉइन से खरीदता है, खुद के लिए या दूसरे यूज़र को गिफ़्ट के रूप में। कॉइन एक ही चरण में कटते हैं और VIP उसके VIP बैग में जुड़ जाता है: कुछ भी विफल हो तो उसके कॉइन सुरक्षित रहते हैं। खरीदा गया VIP बिना खोले बैग में इंतज़ार करता है, और उसके दिन तभी गिनने लगते हैं जब वह उसे पहली बार इस्तेमाल करता है (या उसका कोई आइटम पहली बार पहनता है)। एक समय में केवल एक VIP चलता है: दूसरा चालू करने पर पहला रुक जाता है। वह उसे फिर बंद कर सकता है, लेकिन जिसके दिन खत्म हो चुके हैं ऐसा VIP चालू नहीं हो सकता। अगर Levels फ़ीचर इंस्टॉल है, तो उसने जो भुगतान किया वह उसके संपदा लेवल में भी जुड़ता है।
- हर लेवल के लिए आप क्या सेट करते हैं: लेवल नंबर (हर नंबर पर एक लेवल), उसका नाम, लेवल की तस्वीर (नाम के बगल में दिखने वाला VIP बैज), लेवल पेज के लिए बैकग्राउंड तस्वीर, तीन रंग (पेज बैकग्राउंड, सोना और हल्का सोना) #RRGGBB में, पूर्ण कॉइन में कीमत (1 या अधिक), दिनों में अवधि (जो एडमिन सुपर एडमिन नहीं है वह अधिकतम 30 दिन सेट कर सकता है), लेवल के साथ आने वाले विशेषाधिकार (हर प्रकार एक बार), और सामान्य चैट सेटिंग के ऊपर लेवल का कोई सदस्य अपनी चैट सूची के शीर्ष पर कितनी अतिरिक्त चैट पिन कर सकता है (0 से 1000)। जिस लेवल के अपने प्रोडक्ट अभी भी कहीं पुरस्कार के रूप में दिए जा रहे हों, उसे हटाया नहीं जा सकता।
- विशेषाधिकार, भाग 1, वे जो अपनी तस्वीर या एनिमेशन वाला आइटम हैं। आप हर लेवल के लिए लेवल की सेटिंग बटन से आइटम बनाते हैं, या किसी मौजूदा स्टोर आइटम को लिंक करते हैं जिसे कोई और लेवल इस्तेमाल न करता हो: VIP आइकन (हर लेवल के साथ बिना चुने आता है, यही लेवल की तस्वीर है), Avatar Frame, Profile Frame (आधी-तस्वीर विकल्प के साथ), Chat Bubble (ऊपर, बाएँ, दाएँ और नीचे पैडिंग के साथ), Entrance, Entrance Banner, और Gift Banner (वह पट्टी जो ऐप में तब दिखती है जब धारक महँगा गिफ़्ट भेजता है; हर लेवल की अपनी होती है और वह कॉइन रेंज की पट्टी पर भारी पड़ती है)। हर आइटम का एक नाम, शीर्षक, तस्वीर, उसके प्रकार के साथ एनिमेशन फ़ाइल, दिनों में वैधता (0 = जब तक VIP चालू है), और उसे चालू या बंद किया जा सकता है।
- विशेषाधिकार, भाग 2, वे जो लेवल के लिए चालू होने वाला व्यवहार हैं, जिनकी कोई तस्वीर नहीं बनानी होती: Colored Name (उसका नाम उस रंग में दिखता है जो आपने लेवल के लिए चुना), Hide profile visits (वह प्रोफ़ाइल देखता है और कोई विज़िट नहीं छोड़ता), Hide country (नाम और झंडा उसकी प्रोफ़ाइल पर नहीं दिखते), Animated profile picture (उसकी तस्वीर के रूप में GIF स्वीकार होती है; इसके बिना GIF अस्वीकार होता है), Hidden last seen (कोई नहीं बता सकता कि वह अभी ऑनलाइन है), Hidden read receipts (भेजने वाले को दो ग्रे टिक दिखते रहते हैं), Protected from kicks (कोई उसे रूम से नहीं निकाल सकता, सिवाय पैनल से), Protected from bans (कोई उसे रूम से बैन नहीं कर सकता या उसकी ब्लॉक सूची में नहीं डाल सकता), Hidden room (उसका रूम सूची में नहीं आता, सर्च में नहीं मिलता और उसके प्रोफ़ाइल कार्ड पर नहीं दिखता), और Anonymous entry (वह रूम में जाता है और उसका नाम वहाँ के लोगों में नहीं दिखता)। कुल मिलाकर 17 विशेषाधिकार तक; हर एक तभी दिखता है जब उसकी फ़ीचर इंस्टॉल हो (स्टोर, चैट, प्रोफ़ाइल, वॉयस रूम और गिफ़्ट), इसलिए आप कभी ऐसा विशेषाधिकार नहीं देखते जो आप बेच न सकें। उनमें से बारह को यूज़र खुद अपनी VIP सेटिंग्स से चालू-बंद कर सकता है; किक और बैन से सुरक्षा, छिपा रूम, अनाम एंट्री और गिफ़्ट बैनर चालू रहते हैं।
- बैग, गिफ़्ट और इतिहास: VIP बैग में यूज़र अपने हर VIP को उसके आइटमों सहित देखता है, चाहे वह इस्तेमाल में हो, रुका हुआ हो या पहली बार इस्तेमाल पर शुरू होने वाला हो; वह उसे अभी इस्तेमाल कर सकता है या गिफ़्ट भेज सकता है। जो VIP कभी इस्तेमाल नहीं हुआ उसे किसी दोस्त को उसकी ID (वह नंबर जो लोग देखते हैं, जिसमें खास ID भी शामिल हैं) से भेजा जा सकता है; आइटम उसके साथ जाते हैं, बैन खाता उसे प्राप्त नहीं कर सकता, खुद को भेजना संभव नहीं है, और भेजा गया गिफ़्ट वापस नहीं लिया जा सकता। गिफ़्ट इतिहास की स्क्रीन दिखाती है कि उसने क्या भेजा और क्या पाया। खरीद में 1 से 12 तक की मात्रा ली जाती है, और अगर कुल दिन डिलीवर किए जा सकने वाले दिनों से ज़्यादा हों तो पूरी खरीद अस्वीकार हो जाती है।
- कंट्रोल पैनल में आप क्या प्रबंधित करते हैं: पाँच स्क्रीन वाला VIP सेक्शन। VIP Levels (बनाना, संपादित करना, हटाना, देखना; ऊपर वाला लेवल फ़ॉर्म)। VIP Privileges (हर विशेषाधिकार का नाम, शीर्षक, प्रकार, और दो तस्वीरें, दोनों ज़रूरी: सक्रिय और निष्क्रिय; पैनल की डिफ़ॉल्ट भाषा में एक नाम और एक शीर्षक, बाकी भाषाएँ अनुवाद स्क्रीन से जाती हैं)। VIP Wares (हर लेवल के आइटम, लेवल और प्रकार के फ़िल्टर के साथ, स्थिति स्विच, VIP के लिए सक्रिय, वैधता और मात्रा)। VIP Dedicate (किसी भी यूज़र को कोई लेवल दें: आप यूज़र की ID लिखते हैं, और वैकल्पिक रूप से दिन; या लेवल की अपनी अवधि के लिए खाली छोड़ दें; यूज़र को पुश और आधिकारिक संदेश मिलता है; जो एडमिन सुपर एडमिन नहीं है वह 30 दिनों और अपने क्षेत्र के यूज़रों तक सीमित है)। VIP Settings (एक ही विकल्प, Enable Vip Auto)। हर यूज़र के पेज पर VIPs टैब उन लेवलों की सूची दिखाता है जो उसके पास हैं, और एक बटन से एक हटाया जा सकता है। यह सब 23 परमिशन के पीछे है (लेवल, लेवल आइटम, विशेषाधिकार, प्रोडक्ट, सेटिंग्स और देना, हर एक के अपने देखना, बनाना, संपादित करना, हटाना और दिखाना), जो डिफ़ॉल्ट रूप से एडमिन पद को मिलती हैं।
- तस्वीर और एनिमेशन फ़ाइलें: लेवल का बैकग्राउंड एक सामान्य तस्वीर है, और लेवल की तस्वीर फ़ाइल के रूप में अपलोड होती है। आइटम की तस्वीर तस्वीरें स्वीकार करती है, और उसकी एनिमेशन फ़ाइल SVGA, VAP, PAG, अल्फ़ा-चैनल वीडियो (पारदर्शी MP4), सादा MP4 और तस्वीरें स्वीकार करती है; फ़ाइल प्रकार फ़ाइल की सामग्री से पहचाना जाता है, आप उसे बदल सकते हैं, और विशेषाधिकार की तस्वीरें (सक्रिय और निष्क्रिय) तस्वीरें हैं। (इसके लिए स्टोर चाहिए, क्योंकि वही एनिमेशन फ़ॉर्मेट संभालता है।)
- यूज़र ऐप में क्या देखता है: VIP सेंटर जिसमें उसका मौजूदा लेवल, कुल में से बचे दिन और उसके विशेषाधिकार हैं; VIP स्टोर जहाँ वह कोई लेवल खरीदता या नवीनीकृत करता है और उसकी कीमत, अवधि, खुलने वाले विशेषाधिकार और अगला लेवल देखता है; बैग; VIP सेटिंग्स (हर विशेषाधिकार चालू-बंद, अपने-आप सहेजी जाती हैं); गिफ़्ट इतिहास; जहाँ-जहाँ उसका नाम दिखता है वहाँ नाम के बगल में VIP बैज; स्क्रीन पर उसका रंगीन नाम, उसका फ़्रेम, बबल और एंट्री; और जहाँ भी कोई फ़ीचर किसी लेवल की माँग करे, वहाँ एक साफ़ संदेश «इसका आनंद लेने के लिए VIP N या उससे ऊपर खरीदना होगा» जो स्टोर खोलता है। जिस सर्वर पर अभी कोई लेवल नहीं है, वहाँ «No VIP levels yet» दिखता है।
- सभी थीम के साथ काम करता है: VIP सेंटर, स्टोर, बैग और सेटिंग्स अपने रंग सक्रिय थीम से लेते हैं, और हर लेवल का अपना पेज उसके लिए चुने गए रंगों का उपयोग करता है, जिनके टेक्स्ट रंग हर थीम पर पढ़ने योग्य रहने के लिए चुने जाते हैं।
- कोई एडऑन नहीं: हर विशेषाधिकार VIP का ही हिस्सा है, और जब आप अपना विशेषाधिकार लाने वाली कोई फ़ीचर इंस्टॉल करते हैं तो सूची अपने-आप बढ़ जाती है।
- आपके लिए इसकी उपयोगिता: VIP सबसे सक्रिय यूज़रों को बेचने की सबसे साफ़ चीज़ है। कितने लेवल होंगे, हर एक की कीमत और अवधि क्या होगी, यह आप तय करते हैं; और विशेषाधिकार (रूप, गोपनीयता और सुरक्षा) वे चीज़ें हैं जो यूज़र सचमुच चाहते हैं और नवीनीकृत करेंगे। गिफ़्ट आपके यूज़रों को विक्रेता बना देता है, और बैग बिना इस्तेमाल हुए VIP को एक जमा मूल्य की तरह रखता है।
किन पर निर्भर है
वॉलेट (कॉइन कटते और दर्ज होते हैं; इसके बिना लेवल दिखते हैं और एडमिन फिर भी VIP दे सकता है, पर बिक्री बंद रहती है) और स्टोर (लेवल के आइटम और एनिमेशन फ़ॉर्मेट)। Levels फ़ीचर वैकल्पिक है। हर विशेषाधिकार को अपनी फ़ीचर चाहिए: चैट, प्रोफ़ाइल, वॉयस रूम और गिफ़्ट।
ऐप में
और देखने के लिए स्वाइप करें
इंस्टॉल और हटाना
खरीदने के बाद ये कमांड आपको “मेरी खरीद” में भी मिलेंगी।
इंस्टॉल
php artisan feature:install vip --applyहटाएँ (आपका डेटा बना रहता है)
बेस में एक कमांड से फ़ीचर बंद करें (इसी पेज पर दिखाई गई है)। VIP स्क्रीन, विशेषाधिकार और खरीद रुक जाते हैं, पैनल सेक्शन गायब हो जाता है, और दूसरी फ़ीचर की VIP रिवॉर्ड छोड़ दी जाती हैं। लेवल, सदस्यताएँ और यूज़रों की सेटिंग्स सुरक्षित रहती हैं और फ़ीचर लौटने पर वापस आ जाती हैं।
php artisan feature:remove vipपहले इसके ऐड-ऑन हटाएँ: ऐड-ऑन इंस्टॉल रहते हुए फ़ीचर हटाने से मना कर दिया जाता है।
इस फ़ीचर के लिए अभी कोई ऐड-ऑन नहीं है।
आवश्यक फ़ीचर
कोई आवश्यकता नहीं: आप इसे अकेले इंस्टॉल कर सकते हैं।
इंस्टॉल और हटाना
कमांड फ़ीचर की टेबल, एडमिन पैनल के पेज, अनुमतियाँ, सेटिंग और बुनियादी डेटा तैयार कर देती है। ऐप में फ़ीचर अपनी जगह पर अपने आप दिखने लगता है। फ़ीचर ऐप और एडमिन पैनल से गायब हो जाता है, और आपका डेटा बना रहता है। उसे दोबारा इंस्टॉल करें तो सब कुछ पहले जैसा लौट आता है।
खरीदने के बाद ये कमांड आपको “मेरी खरीद” में भी मिलेंगी।
इंस्टॉल
php artisan feature:install vip --applyहटाएँ (आपका डेटा बना रहता है)
बेस में एक कमांड से फ़ीचर बंद करें (इसी पेज पर दिखाई गई है)। VIP स्क्रीन, विशेषाधिकार और खरीद रुक जाते हैं, पैनल सेक्शन गायब हो जाता है, और दूसरी फ़ीचर की VIP रिवॉर्ड छोड़ दी जाती हैं। लेवल, सदस्यताएँ और यूज़रों की सेटिंग्स सुरक्षित रहती हैं और फ़ीचर लौटने पर वापस आ जाती हैं।
php artisan feature:remove vipपहले इसके ऐड-ऑन हटाएँ: ऐड-ऑन इंस्टॉल रहते हुए फ़ीचर हटाने से मना कर दिया जाता है।
इस फ़ीचर को अपने फ़ीचर के अंदर इस्तेमाल करें
In short: the VIP offers other features 4 server ports (VipCatalog, VipGrant, PrivilegeReader, PrivilegeSwitches: the ones other features bind or ask; VipBag and VipWares are the two the store answers), FeatureCalls for the card, and one app extension point (VipUpsell). Do not call any class inside Modules/Vip directly.
Install and remove
- Install:
php artisan feature:install vip --apply(without--applyit is a dry run). It seeds the menu, the permissions and the switch row closed; open it withphp artisan feature:open vip. The install is empty: no level, no item, no subscription, no demo account; the admin adds levels from the panel. The only thing seeded is the list of privilege kinds (vip_privileges: kind number, name and icon, which the code reads), byVipPrivilegeKindsSeeder. A test stops any seeder or migration from writing a level (Tests/Feature/Install/VipInstallsEmptyTest). - Remove:
php artisan feature:remove vip --apply. The data stays. - Requires:
base:users@1only.
Ports (server)
All of them live in the base; the feature binds the implementation from VipServiceProvider::register(), and without the feature the Null one answers.
| Port | What it asks / does | Without the feature |
|---|---|---|
Modules\Vip\Contracts\VipCatalog | all(), find($id), byIds($ids), idsByLevel(): the levels as data (id, name, level) | empty |
Modules\Vip\Support\VipGrant | addVipToUser(...) / removeVipFromUser(...): gives a level or takes it back (inside a transaction, rolled back on failure) | false |
Modules\Vip\Support\Privileges\PrivilegeReader | the behaviour privileges in effect for a user (has, color) | no privileges |
Modules\Vip\Support\Privileges\PrivilegeSwitches | the user's choice to turn a privilege on or off | everything on |
- Get them from the container:
app(\Modules\Vip\Contracts\VipCatalog::class); they are always bound. - Do not bind another implementation, and do not read
o_vips,users_vipsor theUser::UserViprelation directly. - Granting from your feature (a VIP prize): use
RewardGrantwith kindvip(the feature registersVipRewardGrant), orVipGrant.check()answerstarget_missingwhen the level does not exist andno_durationwhen there is no duration to give (the prize's days or the level's duration). Ask it beforegrant()if you pay inside one transaction and want to tell "nothing to give" apart from a failed write.
FeatureCalls (the VIP card and images)
vip.card: one call, with the kind as the first argument. Kinds:card,cardV2,rank,rankImage,rankImageV2,ware,wareV2andcolorV2. Each feature asks it directly:FeatureCalls::call('vip.card', <default>, <kind>, $userId, <context>); the default is the caller's.vip.announce_grant: the message that tells a user a VIP was granted (defaultnull).vip.valid_ids($userIds):userId => [vipId => true]for the running subscriptions.vip.valid_ids_query(): the same rows as a query with theidcolumn only, for a sub-select (not deleted,is_used = 1, andexpire = 0or not yet passed). The default is the caller's.vip.holds_level:FeatureCalls::call('vip.holds_level', false, $userId, $level). A missing key returns the default (used byMiscHelperService::userVipLevel).vip.ovip_options:id => levelfor every level (a filter list, used by the families' user filter).vip.user_vips($userId)andvip.delete_expired(): the bag lists a user's own VIP rows and clears the ones that ended.
FeatureCalls for the bag (the store asks them without requires)
vip.never_activated (a subscription id: was it never activated? default false), vip.activate_on_first_wear, vip.level_prices (cacheKey, seconds), vip.dedicate_level (the "gift a VIP level" branch of the bag action). vip.privilege_has is in the list below. The model user_vip is registered in FeatureModels.
Events
- The feature does not emit real-time events. It sends a VIP-granted notification (an official message plus Firebase) when a VIP is granted.
- What it listens to: nothing.
Data you can read
Read through the port, not the table. The six tables belong to the feature. App routes: GET api/vips/list, GET api/vips/user/list, POST api/vips/buyVip, POST api/vips/use, POST api/vips/send-to-user, GET api/vips/theme-settings, GET api/vips/gifts, GET api/vips/recipient; all of them are guarded by appFeatureEnable:vip.
Slots (app)
VipUpsell.provide(opener): your feature calls VipUpsell.open(context, level: n) to open the VIP center at a given level; without the feature nothing happens. The vips notification is NotificationRoute(id: 'vips', feature: 'vip').
Server example: a feature asks "does the user hold a VIP of level 3 or more?"
use App\Support\FeatureCalls;
// false when the VIP is not installed
$ok = (bool) FeatureCalls::call('vip.holds_level', false, $user->id, 3);Add an add-on inside the VIP
The VIP has no add-ons today (by design: protection, hiding and the coloured name are privileges inside the feature, not add-ons). If you want to build an add-on on it, the shape is the same as any add-on in the repo (real examples: Modules/LevelsCharge/feature.json on levels, and Modules/ChargeAgency/feature.json on payment_gateways):
{
"contract": "2.1",
"slug": "vip_xxx",
"kind": "addon",
"parent": "vip",
"version": "1.0.0",
"app_switch": "vip_xxx",
"requires": ["base:users@1", "vip@^1"],
"slots": { "routes": { "api": { "file": "Routes/api.php" } } }
}- In the app:
of: vipintools/features.yamlinstead ofparent. - Files:
Modules/<X>/{feature.json,module.json,FEATURE.md,Providers/<X>ServiceProvider.php,Routes/api.php,Database/Migrations}, and your tables are declared inslots.data.tables. - Where it registers itself: in
Providers/<X>ServiceProvider(likeLevelsChargeServiceProvider):register()binds the port withbind(notbindIf), andboot()loads the migrations and routes and registersFeatureCalls::register('<slug>.<name>', '<slug>', fn...). - Do not call
Modules/Vipclasses directly: read throughVipCatalog/PrivilegeReader/FeatureCallsabove, and grant throughVipGrant. A new column onusers_vipsoro_vipsis a migration in your module, not a change in the VIP. - Install and remove:
php artisan feature:install vip_xxx --applyandphp artisan feature:remove vip_xxx --apply; the app:python tools/apply_features.py.
Settings, permissions and menu
- Settings (table
configs, modelApp\Models\Config, from theovip-settingsscreen):enable_vip_auto: turns the automatic system on or off in the settings screen.
- Chat pin limit: the column
o_vips.chat_pin_limit(0 = no increase) is set from the level form. The feature registersPanelSlots::register('chat.pin_limit', 'vip.level', 'vip', ['limit' => fn (User) => int]), and the chat takes the largest value between its own setting and every limit (the largest limit among the user's running VIP levels, 0 for a user without VIP). - Feature switch:
app_features.vip(closed byfeature:remove vip, opened byfeature:open vip). - Feature permissions (23 legacy, category
Vip, defaultadmin):browse/create/edit/delete/show-VIPs(levels)browse/create/edit/delete-vip-giftbrowse/create/edit/delete/show-vip-privilegebrowse-ovip-settingsandedit-ovip-settingsbrowse/create/edit/delete/show-wares-vipsbrowse-gift-VIPandgift-switch-gift-VIP
- Menu rows (section "VIP", after "Banners & Splash"):
| Title | uri | Permission |
|---|---|---|
| VIP Privileges | vip_privilege | browse-vip-privilege |
| VIP Dedicate | vips_dedicate | browse-gift-VIP |
| VIP Levels | ovip | browse-VIPs |
| VIP Wares | wares-vips | browse-wares-vips |
| VIP Settings | ovip-settings | browse-VIPs |
UserPayload keys
The App\Support\UserPayload keys this feature registers or answers (the base does not know feature names; the explanation is here). The default is written by the caller.
- Keys it adds to an answer (
UserPayload::extend):my_data: vip and image.user_v1: vip.user_v1anduser_v2: has_color_name and visit_hidden (each is the matching privilege).user_v2anduser_search_v1: vip.user_search_v1andsearch_user: has_color_name.mini_user: colored_name and has_color_name. hide_country(13),colored_name(18),hide_visits(19),hide_last_active(20),vip_upload_gif(22): does the user hold the privilege? (bool; user cards, themeanswer, search, user data; default false: without a VIP nobody holds a privilege)privileges_preload: the ids a list is about to ask about.
Registered FeatureCalls
Small questions other features ask with FeatureCalls::call (the name, who asks, and what it answers; the default is the caller's when the feature is not installed):
vip.privilege_has(the store (a worn pack of a behaviour type, the pack helpers), the pack screens: does he hold the privilege and has not switched it off (false without VIP))vip.privilege_holds(the store (is_allow: he holds it, switched off or not; false without VIP))vip.privilege_color(the store UserPackHelper (the colour a privilege gives, '' without VIP))vip.privilege_item(the gift banner (userId, kind): the picture {img, type} of the item privilege on the highest running level that has an enabled product of it; null without VIP, switched off, or no product)
क्या नया है
1.1.171जारी: 1 दिस॰ 2026Arjun Mehta द्वारा
- 1.1.171: Gifting VIP works for any user: the phone-number rule is gone, so an account without a phone is found and gifted like any other.
1.1.169जारी: 29 नव॰ 2026Arjun Mehta द्वारा
- Release 1.1.169 (signed build 9921cfa)