Raised This Month: $51 Target: $400
 12% 

[TF2] Powerups Shop


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Giovanifsa
Member
Join Date: Jul 2013
Location: Brazil Paraná
Plugin ID:
5221
Plugin Version:
1.0.2
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Allows players to buy powerups using points.
    Old 06-02-2016 , 21:16   [TF2] Powerups Shop
    Reply With Quote #1

    Complete rewrite of my old Powerups plugin, with some ideas from RTD Revamped!

    Description
    This plugin allows players to buy powerups using points that they get by playing on your server!

    How does it works?
    While a player is on your server, he will get points for:
    - Playing (Time)

    - Doing map objectives
    Spoiler

    - Killing other players

    *Note: You can disable any of these

    When the player have enough points, he will be able to buy powerups by accessing the shop menu (!powerups)


    Commands
    sm_powerups or !powerups in the chat to open the shop menu.
    sm_addpoints <player name/steam id> <quantity> - Adds points to a given player account.
    sm_removepoints <player name/steam id> <quantity> - Removes points from a given player account.
    sm_forcepowerup <player name> <powerup> - Forces a powerup to some player. (<powerup> parameter is the powerup number in "ps_powerups.txt").


    Install Instructions
    - Download the .zip at "Attached Files" and extract into "...\addons\sourcemod" folder;
    - Optional: Install Updater to get automatic updates!
    - Done!


    Configuration
    When you run the plugin for the first time, a .cfg named "plugin.powerups_shop" will be generated in your "...\cfg\sourcemod" folder. Modify that file to customize the plugin settings.

    All players informations are stored in "...\addons\sourcemod\data" folder, as a text file named "ps_players".
    All powerups settings are stored in "...\addons\sourcemod\configs" folder as a text file named "ps_powerups".


    ConVars
    Spoiler


    Changelog
    Spoiler


    Credits
    Spoiler


    Advanced users: Compilation and custom powerups
    Check #template.sp in "...\addons\sourcemod\scripting\include\power ups" folder to a tutorial on how to create custom powerups.

    Thanks for choosing my plugin!
    Attached Files
    File Type: zip PowerupsShop 1_0_2.zip (45.7 KB, 430 views)
    File Type: sp Get Plugin or Get Source (powerups_shop.sp - 347 views - 32.9 KB)
    __________________

    Last edited by Giovanifsa; 10-05-2018 at 17:04.
    Giovanifsa is offline
    Send a message via Skype™ to Giovanifsa
     



    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 22:54.


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