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?

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

  • Love 1
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
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.

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

1.6m

Downloads

Total number of downloads.

7.4k

Customers

Total customers served.

110k

Files Sold

Total number of files sold.

2.2m

Payments Processed

Total payments processed.

×
×
  • 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.