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

[CS:GO] Zephyrus Store Giveaway


Post New Thread Reply   
 
Thread Tools Display Modes
Author
joe101
Member
Join Date: Jun 2013
Location: Brazil
Plugin ID:
5249
Plugin Version:
2.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Simple credits giveaway plugin
    Old 06-17-2016 , 18:55   [CS:GO] Zephyrus Store Giveaway
    Reply With Quote #1

    ABOUT
    With this plugin, admins with a certain flag will be able to do a credit giveaway that selects a random player on the server to win a pre determined number of Zephyrus Store credits.

    FEATURES
    • Admins with a certain flag (or above) will be able to do giveaways.
    • Number of credits given by the plugin can be determined.
    • Plugin chat tag can be customized.
    • Minimum players needed for the giveaway also customizable.
    • Translations.
    • The plugin generates logs on sourcemod/logs/zgiveaway/

    COMMANDS
    sm_giveaway (does the giveaway)

    CVARS
    sm_chattag (Chat Tag that appears in front of everything this plugin says.)
    sm_flag (Warning: in this cvar you can't put the flag as a single character like z, you have to use it like this: ADMFLAG_<flag>)
    sm_giveaway_credits (Number of credits given.)
    sm_minplayers (Minimum players required in the server for the giveaway to happen.)

    INSTALLATION
    • Put everything on the zip file in your addons/sourcemod folder.

    DEPENDENCIES
    Store by Zephyrus (https://forums.alliedmods.net/showthread.php?t=276677)

    ADMIN FLAGS TO BE USED WITH THIS PLUGIN
    https://sm.alliedmods.net/new-api/admin/AdminFlag

    TO BE DONE
    • Giveaway command cvar
    Attached Files
    File Type: zip zGiveaway.zip (27.0 KB, 1267 views)

    Last edited by joe101; 06-22-2016 at 20:25.
    joe101 is offline
    joe101
    Member
    Join Date: Jun 2013
    Location: Brazil
    Old 06-18-2016 , 18:49   Re: [CS:GO] Zephyrus Store Giveaway
    Reply With Quote #2

    All right I'm sorry people, the source code is now available.
    joe101 is offline
    asherkin
    SourceMod Developer
    Join Date: Aug 2009
    Location: OnGameFrame()
    Old 06-18-2016 , 18:52   Re: [CS:GO] Zephyrus Store Giveaway
    Reply With Quote #3

    Quote:
    Originally Posted by joe101 View Post
    All right I'm sorry people, the source code is now available.
    Thanks!
    __________________
    asherkin is offline
    xines
    Veteran Member
    Join Date: Aug 2013
    Location: Denmark
    Old 06-18-2016 , 18:56   Re: [CS:GO] Zephyrus Store Giveaway
    Reply With Quote #4

    Quote:
    Originally Posted by joe101 View Post
    All right I'm sorry people, the source code is now available.
    Good choice ty
    __________________
    xines is offline
    pete8159
    Member
    Join Date: Mar 2016
    Old 06-19-2016 , 15:26   Re: [CS:GO] Zephyrus Store Giveaway
    Reply With Quote #5

    Well i tested this it does not work. Says no player but then it says it gave them to em but they really didnt get em lol

    To update
    It works for some and not others

    Last edited by pete8159; 06-19-2016 at 15:28.
    pete8159 is offline
    joe101
    Member
    Join Date: Jun 2013
    Location: Brazil
    Old 06-19-2016 , 18:56   Re: [CS:GO] Zephyrus Store Giveaway
    Reply With Quote #6

    Aight, I know what happened, fix will be available.
    joe101 is offline
    Hackmastr
    Member
    Join Date: Sep 2013
    Old 06-20-2016 , 14:39   Re: [CS:GO] Zephyrus Store Giveaway
    Reply With Quote #7

    Where's the plugin?
    Hackmastr is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 06-20-2016 , 15:22   Re: [CS:GO] Zephyrus Store Giveaway
    Reply With Quote #8

    Quote:
    Originally Posted by Hackmastr View Post
    Where's the plugin?
    Read the post above yours

    @joe101
    There isn't any "API" for Zephy's store, is it ? Maybe someday I'll release something to work with the database, so we don't have to always do our own queries...
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 06-20-2016 at 15:23.
    Arkarr is offline
    good_live
    AlliedModders Donor
    Join Date: Oct 2013
    Old 06-20-2016 , 16:11   Re: [CS:GO] Zephyrus Store Giveaway
    Reply With Quote #9

    Quote:
    Originally Posted by Arkarr View Post
    Read the post above yours

    @joe101
    There isn't any "API" for Zephy's store, is it ? Maybe someday I'll release something to work with the database, so we don't have to always do our own queries...
    There is kind of an api. However it is not the best.
    good_live is offline
    joe101
    Member
    Join Date: Jun 2013
    Location: Brazil
    Old 06-21-2016 , 17:04   Re: [CS:GO] Zephyrus Store Giveaway
    Reply With Quote #10

    What the... I edited the installation part and forgot to upload the file... sorry people, it's available now.
    joe101 is offline
    Reply



    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 09:40.


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