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

[CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot now


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pr0mers
Junior Member
Join Date: May 2020
Plugin ID:
7722
Plugin Version:
1.51
Plugin Category:
All
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 07-19-2021 , 12:38   [CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot now
    Reply With Quote #1

    this plugin gives people store credit(200.000) who join discord while no admin is online,

    You don't need to host a bot now i hosted it for you in english

    Things you need{
    A Discord Bot And A Host (i am using heroku for free host )
    A Discord Server
    }
    How To Use : Youtube Video
    (you should type .discordcredit YOURSTEAMID with the bot i attached.The bot in my youtube video isn't translated)

    How To Host Discord Bot : Youtube Video


    NOTES:please don't forget to change line 128 in code to what your server uses to givecredits
    if you will host the bot please dont forget to change Procfile file according to your xxx.py name and please dont forget to change channelids in xxx.py


    If you want to invite bot to your discord channel use THIS


    changelog:
    fixed (people with 8 digit steamid wasn't able to use this. Now they can use this plugin to get credit)
    fixed a typo in givecredit.py

    this is my first time doing something with sourcemod string so this code is a LITTLE(!) bit junky please feel free to notify me if something could be better
    Attached Files
    File Type: smx discordgivecredit.smx (6.4 KB, 134 views)
    File Type: sp Get Plugin or Get Source (discordgivecredit.sp - 304 views - 5.2 KB)
    File Type: zip DreaMoon Credit Bot.zip (1.2 KB, 222 views)
    __________________
    My Steam
    My Youtube Channel
    My Github
    My Discord : pr0mers#0369
    -I always write unnecessary plugins-
    (you can tell me better ways to do something, thank you)

    Last edited by pr0mers; 07-31-2021 at 13:56.
    pr0mers is offline
    sukodaime
    Junior Member
    Join Date: May 2021
    Old 07-20-2021 , 07:01   Re: [CSGO/?]Give Store Credit To Person Who Joins Discord[19-july-2021]
    Reply With Quote #2

    ohhh i see this is how licenses (which doesn't use cloud) work right? I always wondered how they understand if the license key is valid without internet wow thanks.

    I can use this thank you.
    sukodaime is offline
    kris0821
    Junior Member
    Join Date: Feb 2020
    Old 07-27-2021 , 06:37   Re: [CSGO/?]Give Store Credit To Person Who Joins Discord[19-july-2021]
    Reply With Quote #3

    I'd appreciate that yt tutorial about hosting the DC bot
    kris0821 is offline
    pr0mers
    Junior Member
    Join Date: May 2020
    Old 07-30-2021 , 08:27   Re: [CSGO/?]Give Store Credit To Person Who Joins Discord[19-july-2021]
    Reply With Quote #4

    Quote:
    Originally Posted by kris0821 View Post
    I'd appreciate that yt tutorial about hosting the DC bot
    i did it
    __________________
    My Steam
    My Youtube Channel
    My Github
    My Discord : pr0mers#0369
    -I always write unnecessary plugins-
    (you can tell me better ways to do something, thank you)
    pr0mers is offline
    MICO.
    Junior Member
    Join Date: Jun 2021
    Location: Portugal
    Old 07-31-2021 , 08:16   Re: [CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot
    Reply With Quote #5

    The command can only be used one time right? I have not seen the code yet.
    MICO. is offline
    pr0mers
    Junior Member
    Join Date: May 2020
    Old 07-31-2021 , 13:52   Re: [CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot
    Reply With Quote #6

    Quote:
    Originally Posted by MICO. View Post
    The command can only be used one time right? I have not seen the code yet.
    Yes. It writes steamids in a txt file to prevent people using more than one time. You can check who used this plugin in /sourcemod/logs/DiscordCreditSteamID/peopletookcredit.txt
    __________________
    My Steam
    My Youtube Channel
    My Github
    My Discord : pr0mers#0369
    -I always write unnecessary plugins-
    (you can tell me better ways to do something, thank you)

    Last edited by pr0mers; 07-31-2021 at 13:54.
    pr0mers is offline
    edibaba
    Junior Member
    Join Date: Mar 2021
    Old 02-13-2022 , 17:06   Re: [CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot
    Reply With Quote #7

    Worked for me thanks so much
    edibaba is offline
    Gabkin
    Junior Member
    Join Date: Jan 2021
    Old 03-30-2023 , 11:49   Re: [CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot
    Reply With Quote #8

    Hello, why the bot has been removed?.....cannot open the zip files!
    Gabkin is offline
    pr0mers
    Junior Member
    Join Date: May 2020
    Old 04-19-2023 , 03:33   Re: [CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot
    Reply With Quote #9

    Quote:
    Originally Posted by Gabkin View Post
    Hello, why the bot has been removed?.....cannot open the zip files!
    Ah, because heroku isnt free since some time. Thats why i cant host the bot anymore
    __________________
    My Steam
    My Youtube Channel
    My Github
    My Discord : pr0mers#0369
    -I always write unnecessary plugins-
    (you can tell me better ways to do something, thank you)
    pr0mers is offline
    Reply


    Thread Tools
    Display Modes

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


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