Shop

Core Shop v2.0.14

No permission to download
Supported Games
CS: Source (v34), CS: Source (Steam/Orange Box), CS: GO
This is core plugin of the Shop or Store. It provides facility to buy items in game in turns of shop credits.


344


Requirements :
  • Sourcemod v1.8 or Higher
Installation :
  • Download Shop.zip file from this post.
  • Extract the contents of zip file and put it into cstrike folder of your server.
  • Restart the server or change the map.

Modules :

Chat Commands :
Code:
!shop or !store                     -                    Opens shop menu.
Admin Commands :
Code:
!givecredits                        -                    Give shop credits to players.
!takecredits                        -                    Take shop credits from players.
!setcredits                         -                    Set maximum amount of credits players can have.
Server Console Commands :
Code:
items_dump                          -                    Dumps all the items to addons/items.txt file.
shop_clear_db                       -                    Clear the shop database.
Configuration :
Code:
"Settings"
{
    "db_prefix"    "shop_"                            // Database prefix

    "Commands"                                    // Used Commands
    {
        // Admin Commands
        "Give_Credits"        "sm_givecredits"    // Admin - Command to give credit to players
        "Take_Credits"        "sm_takecredits"    // Admin - Command to take credits from the players
        "Set_Credits"        "sm_setcredits"        // Admin - Command to set credits for a player

        // Player Commands
        "Main_Menu"    "sm_shop,sm_store"            // Players can use !shop or !store to access the shop menu
    }

    "Count_Menu"                                // Count menu after above admin commands are invoked
    {
        // "Quantity"        "Title"
        "1"                "1"
        "10"            "10"
        "100"            "100"
        "1000"            "1000"
        "10000"            "10000"
        "100000"        "100000"
        "1000000"        "1000000"
        // "etc."        "etc."
    }
}

CVARs :
// Set flags for admin panel access. Set several flags if necessary. Ex: "abcz"
// -
// Default: "z"
sm_shop_admin_flags "z"

// How many credits an item transfer cost. Set -1 to disable the feature
// -
// Default: "500"
// Minimum: "-1.000000"
sm_shop_item_transfer_credits "500"

// How many chance the luck can be succeded
// -
// Default: "20"
// Minimum: "1.000000"
// Maximum: "100.000000"
sm_shop_luck_chance "20"

// How many credits the luck cost
// -
// Default: "500"
// Minimum: "0.000000"
sm_shop_luck_credits "500"

// Start credits for a new player
// -
// Default: "0"
// Minimum: "0.000000"
sm_shop_start_credits "0"

// Timing method to use for timed items. 0 time while using and 1 is real time
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_shop_timer_method "0"

// Use % to make the transfer to cost the commision or without % to make it cost as the cvar set or -1 to disable this feature
// -
// Default: "%5"
// Minimum: "-1.000000"
sm_shop_trans_credits "%5"

Credits :
  • FrozDark
Author
Vertigo
Downloads
81
Views
2K
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Vertigo

Share this resource

Latest reviews

How can I add skins in shop ???
Vertigo
Vertigo
For questions use discussion section.
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock