Jump to content

One-off kits

Pending 1.1.0

iMonkey
  • in Kits
iMonkey

Posted

I want to offer 1-off paid kits via tebex, but i want to allow the user to claim the kit manually when they want it, usually covered by simply giving them a permission for the purchase. Is there a way to structure being able to claim a kit once, but automatically remove the permission from the user after they claim the kit so they have to purchase the kit again if they want another one?

  • Curator
Mevent

Posted

14 hours ago, iMonkey said:

I want to offer 1-off paid kits via tebex, but i want to allow the user to claim the kit manually when they want it, usually covered by simply giving them a permission for the purchase. Is there a way to structure being able to claim a kit once, but automatically remove the permission from the user after they claim the kit so they have to purchase the kit again if they want another one?

Hi! I'll try to add this in the next update

  • Curator
Mevent

Posted

Hi, @iMonkey! Added in version 1.1.1.
Command: kits.givekit [name/steamid] [kitname] [amount]

iMonkey

Posted

i was a bit confused on exactly how it would work but i just tested it with the kit i wanna sell individually and my reaction is now:

holy f that's cool! and perfect

Thanks Mevent! I do love your plugins

iMonkey

Posted (edited)

errr actually ran into a bit of a problem. How do I set the kit so when they run out, they cant keep claiming it? lol i have to give them permission to the kit to claim it, and setting the amount to 0 just lets them claim infinitely. 

Like everything about the add and claiming works awesome lol I'm just struggling with the whole "sitting there looking pretty, unclaimable" part

Edited by iMonkey
  • Curator
Mevent

Posted

You can not give them permission, the set without it should be displayed (if the player has it)

iMonkey

Posted

ok i removed permission, then gave myself 2 of this special kit. it doesn't show that i have 2 until i give myself permission to the kit. it doesn't let me claim it without permission.

  • Curator
Mevent

Posted

Okay, I'll check it out.

iMonkey

Posted

thanks mevent, functional fix!

If i understand correctly, we leave permission OFF the player and merely grant them the kit via kits.givekit - the one remaining issue is that without permission, the player can no longer see how many remain to be claimed.

iMonkey

Posted

not necessarily a problem, just a bit cleaner. Its aight if you wanna skip it, you've been battin aces these past couple days anyway lol

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
154.5k
Marketplace sales
Payments
3.3m
Processed total
Customer Reviews 138 verified reviews 4.0
Uptime Monitor API, payments, storage, and delivery 100%
Cloudflare Edge Served through SEA SEA
Accepted payment methods
Need another option? Request it through support.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.