AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot now (https://forums.alliedmods.net/showthread.php?t=333535)

pr0mers 07-19-2021 12:38

[CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot now
 
3 Attachment(s)
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

sukodaime 07-20-2021 07:01

Re: [CSGO/?]Give Store Credit To Person Who Joins Discord[19-july-2021]
 
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.

kris0821 07-27-2021 06:37

Re: [CSGO/?]Give Store Credit To Person Who Joins Discord[19-july-2021]
 
I'd appreciate that yt tutorial about hosting the DC bot:oops:

pr0mers 07-30-2021 08:27

Re: [CSGO/?]Give Store Credit To Person Who Joins Discord[19-july-2021]
 
Quote:

Originally Posted by kris0821 (Post 2753784)
I'd appreciate that yt tutorial about hosting the DC bot:oops:

i did it :)

MICO. 07-31-2021 08:16

Re: [CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot
 
The command can only be used one time right? I have not seen the code yet.

pr0mers 07-31-2021 13:52

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

Originally Posted by MICO. (Post 2754205)
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

edibaba 02-13-2022 17:06

Re: [CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot
 
Worked for me thanks so much :)

Gabkin 03-30-2023 11:49

Re: [CSGO]Give Store Credit To Person Who Joins Discord / You don't need host dc bot
 
Hello, why the bot has been removed?.....cannot open the zip files!

pr0mers 04-19-2023 03:33

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

Originally Posted by Gabkin (Post 2801971)
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


All times are GMT -4. The time now is 10:28.

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