Raised This Month: $ Target: $400
 0% 

[L4D2] Shop [v4.5 | 20 March 2022]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
pan0s
Senior Member
Join Date: Nov 2017
Plugin ID:
7620
Plugin Version:
4.5
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 04-28-2021 , 20:28   [L4D2] Shop [v4.5 | 20 March 2022]
    Reply With Quote #1

    Description:
    Well, it is a plugin updated from [L4D2] Item buying System v1.36
    I re-coded the source and updated more functions.
    Name:  shop1.jpg
Views: 17945
Size:  77.8 KB
    Name:  shop2.jpg
Views: 17352
Size:  71.9 KB
    Name:  shop3.jpg
Views: 17605
Size:  62.8 KB
    Name:  2.jpg
Views: 13743
Size:  37.4 KB
    Update Log:
    Spoiler

    Features:
    • Native functions call
    • Save functions (Using SQLite Database, no need to setup anything)
    • Support Dedicated or Listen server
    • Support !buy <item> command
    • Points Transfer
    • Handling Fee (for Points Transfer only)
    • More useful information for clients
    • Collected all items into the shop
    • Special Functions (Trial / Permanent)
    • Special Bag (Enable/Disable Special Functions)
    • Admin Menu (Reward, Confiscate, Set)
    • Log actions into the .log file
    • Multiple Languages
    • New code style
    • etc.

    Current Special Functions (SF):
    Extra items:
    How to use?
    • Type !buy in the game to open Shop menu.
    • Type !buy <item> in the game to buy an item by command.
    • type !admin and find 'Shop Commands' to open the shop admin menu.
    • type !rb or !repeatbuy to repeatedly buy.
    • type !kill to suicide.
    • Edit an item cost in the cfg to -1 to disable the item.
    • You can copy others plugin functions to make your own special functions.

    When will save points?
    To avoid making the server lag, I just added two triggers for it.
    • Round end
    • Player disconnected

    Native functions:
    Spoiler


    Notice:
    If you found any bugs, please feel free to let me know.

    Pre-Installation:
    Nope. (all file included in .zip)

    Installation:
    Just unzip it to the sourcemod directory.

    Translations:
    • en - pan0s
    • zho - pan0s
    • chi - pan0s

    Contact me:
    Steam


    Way to add a new SF:
    You can refer l4d2_shop_XXXX, XXXX is SF file name.
    Spoiler


    Ways to add a new Item:
    Spoiler


    https://forums.alliedmods.net/showpo...1&postcount=52
    https://forums.alliedmods.net/showpo...1&postcount=89

    Use pan0s.inc v1.2 to compile all .sp
    Attached Files
    File Type: zip shop_v.4.5.zip (308.9 KB, 3346 views)
    File Type: inc pan0s.inc (22.1 KB, 1022 views)
    __________________

    Last edited by pan0s; 05-15-2023 at 08:10. Reason: update version
    pan0s is offline
     



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


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