Raised This Month: $90 Target: $400
 22% 

Zephyrus store, Items per SteamID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ssandiss
Junior Member
Join Date: Jan 2018
Old 11-07-2018 , 03:17   Zephyrus store, Items per SteamID
Reply With Quote #1

Hey!

Like the title says, I would like a addon to Zephyrus store which allows me to edit the items.txt to add specific items to a specific steamID.

It would be great if anyone could help me out!
ssandiss is offline
HvG Community
AlliedModders Donor
Join Date: Sep 2012
Old 11-07-2018 , 11:16   Re: Zephyrus store, Items per SteamID
Reply With Quote #2

It already works similar to this.

You can add flag to category of items or to a specific item in items.txt.
So for example to ALL Pets or to just one specific pet, like this:
"flag" "o"

Then what you can do is give this flag only to Steam_ID that you want to have access to this item.
You can find all flags here: https://wiki.alliedmods.net/Adding_Admins_(SourceMod) (under levels category)


If this does not solve your issue (because there simply isn't enough custom flags available to cover all steam_id) then yea we will need to configure and recompile the store script.

Last edited by HvG Community; 11-07-2018 at 11:17.
HvG Community is offline
ssandiss
Junior Member
Join Date: Jan 2018
Old 11-08-2018 , 03:13   Re: Zephyrus store, Items per SteamID
Reply With Quote #3

Hey,

Thanks for the reply.

Although I am aware that certain items can be restricted by flags. But I have about 50.000 players on my community and I'd like to give just a couple of them a certain model (Not a specific group like admins etc.)

Therefor I would like it to work with steamid somehow.

So answer to your question is, there's not enough custom flags and I need steamID
ssandiss is offline
ssandiss
Junior Member
Join Date: Jan 2018
Old 11-21-2018 , 05:09   Re: Zephyrus store, Items per SteamID
Reply With Quote #4

Still looking for help with this.

Also if possible to make some sort of purchase per TIME RESTRICTION. So you can use the store to buy something that you get for a limited time
ssandiss is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 11-21-2018 , 09:37   Re: Zephyrus store, Items per SteamID
Reply With Quote #5

Quote:
Originally Posted by ssandiss View Post
...
Also if possible to make some sort of purchase per TIME RESTRICTION. So you can use the store to buy something that you get for a limited time
Already part of Zephyrus' store. Just configure in items.txt
Code:
	"Item"
	{
		"type"      "Type"
		"Plans"
		{
			"1 day"
			{
				"price" "100"
				"time"  "86400" //time in seconds
			}
			"2 day"
			{
				"price" "200"
				"time"  "172800"
			}
		}
	}
__________________
free software
coding

Last edited by shanapu; 11-21-2018 at 09:39.
shanapu is offline
ssandiss
Junior Member
Join Date: Jan 2018
Old 12-12-2018 , 07:13   Re: Zephyrus store, Items per SteamID
Reply With Quote #6

I could still use help for the SteamID specific items!
ssandiss is offline
Reply


Thread Tools
Display Modes

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 23:00.


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