AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Zephyrus store, Items per SteamID (https://forums.alliedmods.net/showthread.php?t=311897)

ssandiss 11-07-2018 03:17

Zephyrus store, Items per SteamID
 
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! :)

HvG Community 11-07-2018 11:16

Re: Zephyrus store, Items per SteamID
 
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.

ssandiss 11-08-2018 03:13

Re: Zephyrus store, Items per SteamID
 
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 11-21-2018 05:09

Re: Zephyrus store, Items per SteamID
 
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

shanapu 11-21-2018 09:37

Re: Zephyrus store, Items per SteamID
 
Quote:

Originally Posted by ssandiss (Post 2624998)
...
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"
                        }
                }

        }


ssandiss 12-12-2018 07:13

Re: Zephyrus store, Items per SteamID
 
I could still use help for the SteamID specific items!

LionKing 05-26-2019 15:23

Re: Zephyrus store, Items per SteamID
 
Quote:

Originally Posted by ssandiss (Post 2628535)
I could still use help for the SteamID specific items!

Same here!

Nexd 05-27-2019 09:14

Re: Zephyrus store, Items per SteamID
 
You can do this like, create a new category and add buyable 0 for each item( dont need to restrictn it to any group ) then add the item to the player through the database, so that player can use that item, btw other players can’t buy it

LionKing 05-27-2019 14:36

Re: Zephyrus store, Items per SteamID
 
Quote:

Originally Posted by Nexd (Post 2653275)
You can do this like, create a new category and add buyable 0 for each item( dont need to restrictn it to any group ) then add the item to the player through the database, so that player can use that item, btw other players can’t buy it

That would be possible if I had the knowledge of MySQL or even how to assign the item to the player.

Nexd 05-27-2019 15:55

Re: Zephyrus store, Items per SteamID
 
You can check the store player ID in the store_players table, then you can add the items in the store_items table, but you have to add unique_id to the items in the file aswell.


All times are GMT -4. The time now is 01:07.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.