What's new

Tools [Release] Social Club Management Tool (Useful for Hosters)

S

Senex

✅ Obsession Engaged
Messages
2,768
Reaction score
2,532
UPDATED, this time in 2019! TL;DR: Make a bookmark in your browser with this as the location:
Code:
javascript:(function(){if(!document.getElementById("nt-mtjs")){var t=document.createElement("script");t.id="nt-mtjs",t.src="https://senexis.github.io/Social-Club-Tool/scm.min.js?"+(new Date).getTime(),document.getElementsByTagName("head")[0].appendChild(t)}setTimeout(function(){try{Init("",1)}catch(t){alert("Social Club Utility Tool loading failed: Please try clicking your bookmark again.")}},1e3)})();
Hey folks!

For quite some time now, I've been hosting free money drop lobbies on PC. For this purpose, I have built a small tool that adds some much-needed functionality to Social Club. Today, I would love to share it with you guys, as I think it could help folks who are hosting a lot. Of course, it's not limited to people who host. If you are, for example, a Twitch streamer who gets a ton of friend requests or messages and want to clear them, this is also useful for you.

Currently, the tool I made has the following functionality:
  • Quick-Add User: Allows you to quickly add a user with an optional message. The default Social Club behavior can cost a lot of time, as you first have to search for the user, then find the user you want to add among multiple suggestions, then type or paste a message, and then send the request. Quick-Add User just presents you with a username field which you can copy a username in, and the tool does the rest for you.
    • Quick-Add User also implements your blocked users list. The default Social Club behavior is to unblock the user, then send them a friend request. The tool first checks your blocked users list to see if the user is blocked before sending them a friend request. Useful for blacklisting users from whatever you are hosting, as you won't need to keep track of their Social Club usernames anymore.
  • Delete All Friends: Allows you to remove all friends you have and all friend request you sent. Awesome to clear your friends list after a day of hosting.
  • Reject All Friend Requests: Allows you to reject all friend requests you received, so you can clear all spammed friend requests easily.
  • Delete All Messages: Allows you to remove all messages you have received. Obviously, if you get spammed a lot, this would be quite useful to regain control of your inbox.
  • NEW! Oh, and it now auto-updates. So, should I mess up somewhere and push out an update, you'll get notified directly.
And everything just works! To prevent requests getting blocked by Rockstar, every single thing gets done at 1 per second. Decreasing the time any lower will cause requests to get blocked after a while. However, this should still be faster than clicking every friend, friend request or message and then having to click "Delete" and "Confirm".

Please note that this is a tool for the Social Club website, not in-game. There is currently no way to edit your friends in-game through the Social Club or otherwise, as far as I'm aware. I hope this doesn't cause too much trouble for you. If you have 2 monitors or computers, it shouldn't be a problem to do it on a separate screen.

Let's get down to business: How to use this tool? To use the tool is quite simple. You add a bookmark in your browser, and copy some text into the bookmark's URL (location / website to go to). The name of the bookmark can be whatever you want. You can always find the most recent link [Click here to view this link]. The link listed there will always be updated to the latest version of the tool. You will also find the text you need to use as the bookmark's URL below.

Code:
javascript:(function(){if(!document.getElementById("nt-mtjs")){var t=document.createElement("script");t.id="nt-mtjs",t.src="https://senexis.github.io/Social-Club-Tool/scm.min.js?"+(new Date).getTime(),document.getElementsByTagName("head")[0].appendChild(t)}setTimeout(function(){try{Init("",1)}catch(t){alert("Social Club Utility Tool loading failed: Please try clicking your bookmark again.")}},1e3)})();
After adding the bookmark, you simply click it, and after 2 seconds, a set of buttons should appear below the header bar (images below). Sometimes, the files required for the script might not load in time and you'll have to click the bookmark twice. Just wait 3 seconds, and if the buttons don't appear after that, click the bookmark again.


The result of a successfully loaded tool.

For the people who don't have time to read, like me, here's the steps in list form:
  1. Copy the code listed above, make sure you've copied everything!
  2. Create a new bookmark.
  3. In the "Name" or "Description" text field, enter whatever you like.
  4. In the "URL", "Website" or "Location" text field, paste the code listed above.
  5. Press "OK", "Save" or "Done".
  6. On the Social Club website, click on the bookmark you have just created, and the tool should load!
And here's some things to do when stuff doesn't go as expected:
  • I used a function to remove all stuff, but some stuff didn't get deleted.
    Try to use the function again. Sometimes, Rockstar doesn't report a friend or message, or doesn't refresh its requests due to caching. If you use the function again, it will retrieve all objects again and remove everything that's left.
  • When using "Quick-Add User", I can't add this one guy even though his SC is correct.
    Unfortunately, this is Rockstar's fault and there's nothing I can do about it. Some Social Club usernames just don't get found when you type them in, in either Quick-Add User, or in the default friend request page. Ask them to send you a friend request instead.
  • Help, it's broken!
    If the tool stops working (you get a "Something went wrong" message) or seems to be hanging forever, post a comment below with what happened, and I'll help you with your issues in person.
  • Anything else? Let me know!
I also implemented some customization options into the tool. You can edit the Init("",1) part of the text you need to copy into the bookmark's URL to do some cool stuff. The first "" can be edited to be the message that gets sent to the user when you use the Quick-Add User function of the tool. Edited to include a message, it should be Init("Hello from Se7enSins!",1).

The first number (0 to disable or 1 to enable) can be changed to 0 to disable the blocked user list check, which will allow you to add users you have blocked. Edited to disable the blocked user list check, it should be Init("Hello from Se7enSins!",0).

I realize customizing might be too advanced for some people. Please don't remove anything from the Init part of the code if you don't know what it does. In fact, you can simply paste the code above (starting with javascript:) into the bookmark's URL field and be done with it, easy enough.

Please let me know if you liked it. If you have any questions at all, feel free to ask them. If you don't understand what to do, let me know and I will try to explain it to you in the simplest terms I can use. If you would be interested in a video explaining what to do, also let me know and I can work on that. The full source code is available on the [Click here to view this link]. Feel free to use it to do whatever you want. I don't care if you use any or all of the code, a link to my Github or Se7enSins member page would be appreciated, though! More details on these incredibly complicated and limiting license terms [Click here to view this link].

Note to all free lobby hosters: You are all awesome. I made this tool to support you guys as well as me. If you have any features you would like to see added, let me know!
 
Last edited:
V

ViewAK

Steez | GS9 BK 600 | Psn: ThatGuySteez
Messages
2,063
Reaction score
381
Honestly love this ! This will help alot of new hosters who get tons of F/R if you can add a feature where nobody can add you that would be pretty dope
 
P

Photo

Visual Developer
Messages
1,567
Reaction score
420
Now that is amazing great work bud
 
M

Modder v7

Getting There
Messages
2,060
Reaction score
494
Can you confirm this works on the latest version of Google Chrome, S Senex ? Not doubting your work but I've tried to use stuff like this in the past and they never seemed to work.

Also, nice release! :thumbsup:
 
S

Senex

✅ Obsession Engaged
Messages
2,768
Reaction score
2,532
Can you confirm this works on the latest version of Google Chrome, S Senex ? Not doubting your work but I've tried to use stuff like this in the past and they never seemed to work.

Also, nice release! :thumbsup:
Even better, I can confirm that it works on the latest dev version of chrome. That's what I built it on. It should work on any modern browser except for Internet Explorer (so Edge should work). No worries about the doubt, by the way, I welcome you to doubt anything I post. :tongue:
 
M

Modder v7

Getting There
Messages
2,060
Reaction score
494
Thanks for quick reply.
 
S

Senex

✅ Obsession Engaged
Messages
2,768
Reaction score
2,532
Just updated the tool with progress tracking. This makes it way easier to tell whether or not the tool is hanging on something, as you can simply see a "X of X items remaining" text. As always, let me know if you find something that's broken. :thumbsup:

Edit: Forgot "Retrieving friends..." text. Added that as well.
 
Last edited:
N

NathanIsModding

Newbie
Messages
18
Reaction score
3
Hey folks!

For quite some time now, I've been hosting free money drop lobbies on PC. For this purpose, I have built a small tool that adds some much-needed functionality to Social Club. Today, I would love to share it with you guys, as I think it could help folks who are hosting a lot. Of course, it's not limited to people who host. If you are, for example, a Twitch streamer who gets a ton of friend requests or messages and want to clear them, this is also useful for you.

Currently, the tool I made has the following functionality:
  • Quick-Add User: Allows you to quickly add a user with an optional message. The default Social Club behavior can cost a lot of time, as you first have to search for the user, then find the user you want to add among multiple suggestions, then type or paste a message, and then send the request. Quick-Add User just presents you with a username field which you can copy a username in, and the tool does the rest for you.
    • Quick-Add User also implements your blocked users list. The default Social Club behavior is to unblock the user, then send them a friend request. The tool first checks your blocked users list to see if the user is blocked before sending them a friend request. Useful for blacklisting users from whatever you are hosting, as you won't need to keep track of their Social Club usernames anymore.
  • Delete All Friends: Allows you to remove all friends you have and all friend request you sent. Awesome to clear your friends list after a day of hosting.
  • Reject All Friend Requests: Allows you to reject all friend requests you received, so you can clear all spammed friend requests easily.
  • Delete All Messages: Allows you to remove all messages you have received. Obviously, if you get spammed a lot, this would be quite useful to regain control of your inbox.
And everything just works! To prevent requests getting blocked by Rockstar, every single thing gets done at 1 per second. Decreasing the time any lower will cause requests to get blocked after a while. However, this should still be faster than clicking every friend, friend request or message and then having to click "Delete" and "Confirm".

Please note that this is a tool for the Social Club website, not in-game. There is currently no way to edit your friends in-game through the Social Club or otherwise, as far as I'm aware. I hope this doesn't cause too much trouble for you. If you have 2 monitors or computers, it shouldn't be a problem to do it on a separate screen.

Let's get down to business: How to use this tool? To use the tool is quite simple. You add a bookmark in your browser, and copy some text into the bookmark's URL (location / website to go to). The name of the bookmark can be whatever you want. You can always find the most recent link [Click here to view this link]. The link listed there will always be updated to the latest version of the tool. You will also find the text you need to use as the bookmark's URL below.

Code:
javascript:(function(){if(!document.getElementById("nt-mtjs")){var mtjs=document.createElement("script");mtjs.id="nt-mtjs",mtjs.src="https://cdn.rawgit.com/Nadermane/Social-Club-Tool/7d896fa00a4c941f8172a7620e61aefda9ef6346/scm.js",document.getElementsByTagName("head")[0].appendChild(mtjs)}setTimeout(function(){Init("",1,0)},1e3);})();
After adding the bookmark, you simply click it, and after 2 seconds, a set of buttons should appear below the header bar (images below). Sometimes, the files required for the script might not load in time and you'll have to click the bookmark twice. Just wait 3 seconds, and if the buttons don't appear after that, click the bookmark again.


The result of a successfully loaded tool.

For the people who don't have time to read, like me, here's the steps in list form:
  1. Copy the code listed above, make sure you've copied everything!
  2. Create a new bookmark.
  3. In the "Name" or "Description" text field, enter whatever you like.
  4. In the "URL", "Website" or "Location" text field, paste the code listed above.
  5. Press "OK", "Save" or "Done".
  6. On the Social Club website, click on the bookmark you have just created, and the tool should load!
And here's some things to do when stuff doesn't go as expected:
  • I used a function to remove all stuff, but some stuff didn't get deleted.
    Try to use the function again. Sometimes, Rockstar doesn't report a friend or message, or doesn't refresh its requests due to caching. If you use the function again, it will retrieve all objects again and remove everything that's left.
  • When using "Quick-Add User", I can't add this one guy even though his SC is correct.
    Unfortunately, this is Rockstar's fault and there's nothing I can do about it. Some Social Club usernames just don't get found when you type them in, in either Quick-Add User, or in the default friend request page. Ask them to send you a friend request instead.
  • Help, it's broken!
    If the tool stops working (you get a "Something went wrong" message) or seems to be hanging forever, post a comment below with what happened, and I'll help you with your issues in person.
  • Anything else? Let me know!
I also implemented some customization options into the tool. You can edit the Init("",1,0) part of the text you need to copy into the bookmark's URL to do some cool stuff. The first "" can be edited to be the message that gets sent to the user when you use the Quick-Add User function of the tool. Edited to include a message, it should be Init("Hello from Se7enSins!",1,0).

The first number (0 to disable or 1 to enable) can be changed to 0 to disable the blocked user list check, which will allow you to add users you have blocked. Edited to disable the blocked user list check, it should be Init("Hello from Se7enSins!",0,0).

The last number (0 to disable or 1 to enable) is used to output debug messages to the console. If you are interested in that sort of stuff, you can change the code to Init("Hello from Se7enSins!",1,1).

I realize customizing might be too advanced for some people. Please don't remove anything from the Init part of the code if you don't know what it does. In fact, you can simply paste the code above (starting with javascript:) into the bookmark's URL field and be done with it, easy enough.

Please let me know if you liked it. If you have any questions at all, feel free to ask them. If you don't understand what to do, let me know and I will try to explain it to you in the simplest terms I can use. If you would be interested in a video explaining what to do, also let me know and I can work on that. The full source code is available on the [Click here to view this link]. Feel free to use it to do whatever you want. I don't care if you use any or all of the code, a link to my Github or Se7enSins member page would be appreciated, though! More details on these incredibly complicated and limiting license terms [Click here to view this link].

Note to all free lobby hosters: You are all awesome. I made this tool to support you guys as well as me. If you have any features you would like to see added, let me know!
Where Can I Download This?
 
S

Senex

✅ Obsession Engaged
Messages
2,768
Reaction score
2,532
After some recent requests through various media, I have pushed an update to fix some things that got broken over time. I've also added an update notification system and some more detailed error handling. Enjoy.
 
T

TheMoneyLobby

#1 GTA V PC Lobbies
Messages
2,299
Reaction score
853
UPDATED! TL;DR: Make a bookmark in your browser with this as the location:
Code:
javascript:(function(){if(!document.getElementById("nt-mtjs")){var t=document.createElement("script");t.id="nt-mtjs",t.src="https://cdn.rawgit.com/Senexis/Social-Club-Tool/4a91d9d7f785d0020a3bad0f620d3836f8d71ca9/scm.min.js",document.getElementsByTagName("head")[0].appendChild(t)}setTimeout(function(){try{Init("",1)}catch(t){alert("Social Club Utility Tool loading failed: Please try clicking your bookmark again.")}},1e3)})();
Hey folks!

For quite some time now, I've been hosting free money drop lobbies on PC. For this purpose, I have built a small tool that adds some much-needed functionality to Social Club. Today, I would love to share it with you guys, as I think it could help folks who are hosting a lot. Of course, it's not limited to people who host. If you are, for example, a Twitch streamer who gets a ton of friend requests or messages and want to clear them, this is also useful for you.

Currently, the tool I made has the following functionality:
  • Quick-Add User: Allows you to quickly add a user with an optional message. The default Social Club behavior can cost a lot of time, as you first have to search for the user, then find the user you want to add among multiple suggestions, then type or paste a message, and then send the request. Quick-Add User just presents you with a username field which you can copy a username in, and the tool does the rest for you.
    • Quick-Add User also implements your blocked users list. The default Social Club behavior is to unblock the user, then send them a friend request. The tool first checks your blocked users list to see if the user is blocked before sending them a friend request. Useful for blacklisting users from whatever you are hosting, as you won't need to keep track of their Social Club usernames anymore.
  • Delete All Friends: Allows you to remove all friends you have and all friend request you sent. Awesome to clear your friends list after a day of hosting.
  • Reject All Friend Requests: Allows you to reject all friend requests you received, so you can clear all spammed friend requests easily.
  • Delete All Messages: Allows you to remove all messages you have received. Obviously, if you get spammed a lot, this would be quite useful to regain control of your inbox.
  • NEW! Oh, and it now auto-updates. So, should I mess up somewhere and push out an update, you'll get notified directly.
And everything just works! To prevent requests getting blocked by Rockstar, every single thing gets done at 1 per second. Decreasing the time any lower will cause requests to get blocked after a while. However, this should still be faster than clicking every friend, friend request or message and then having to click "Delete" and "Confirm".

Please note that this is a tool for the Social Club website, not in-game. There is currently no way to edit your friends in-game through the Social Club or otherwise, as far as I'm aware. I hope this doesn't cause too much trouble for you. If you have 2 monitors or computers, it shouldn't be a problem to do it on a separate screen.

Let's get down to business: How to use this tool? To use the tool is quite simple. You add a bookmark in your browser, and copy some text into the bookmark's URL (location / website to go to). The name of the bookmark can be whatever you want. You can always find the most recent link [Click here to view this link]. The link listed there will always be updated to the latest version of the tool. You will also find the text you need to use as the bookmark's URL below.

Code:
javascript:(function(){if(!document.getElementById("nt-mtjs")){var t=document.createElement("script");t.id="nt-mtjs",t.src="https://cdn.rawgit.com/Senexis/Social-Club-Tool/4a91d9d7f785d0020a3bad0f620d3836f8d71ca9/scm.min.js",document.getElementsByTagName("head")[0].appendChild(t)}setTimeout(function(){try{Init("",1)}catch(t){alert("Social Club Utility Tool loading failed: Please try clicking your bookmark again.")}},1e3)})();
After adding the bookmark, you simply click it, and after 2 seconds, a set of buttons should appear below the header bar (images below). Sometimes, the files required for the script might not load in time and you'll have to click the bookmark twice. Just wait 3 seconds, and if the buttons don't appear after that, click the bookmark again.


The result of a successfully loaded tool.

For the people who don't have time to read, like me, here's the steps in list form:
  1. Copy the code listed above, make sure you've copied everything!
  2. Create a new bookmark.
  3. In the "Name" or "Description" text field, enter whatever you like.
  4. In the "URL", "Website" or "Location" text field, paste the code listed above.
  5. Press "OK", "Save" or "Done".
  6. On the Social Club website, click on the bookmark you have just created, and the tool should load!
And here's some things to do when stuff doesn't go as expected:
  • I used a function to remove all stuff, but some stuff didn't get deleted.
    Try to use the function again. Sometimes, Rockstar doesn't report a friend or message, or doesn't refresh its requests due to caching. If you use the function again, it will retrieve all objects again and remove everything that's left.
  • When using "Quick-Add User", I can't add this one guy even though his SC is correct.
    Unfortunately, this is Rockstar's fault and there's nothing I can do about it. Some Social Club usernames just don't get found when you type them in, in either Quick-Add User, or in the default friend request page. Ask them to send you a friend request instead.
  • Help, it's broken!
    If the tool stops working (you get a "Something went wrong" message) or seems to be hanging forever, post a comment below with what happened, and I'll help you with your issues in person.
  • Anything else? Let me know!
I also implemented some customization options into the tool. You can edit the Init("",1,0) part of the text you need to copy into the bookmark's URL to do some cool stuff. The first "" can be edited to be the message that gets sent to the user when you use the Quick-Add User function of the tool. Edited to include a message, it should be Init("Hello from Se7enSins!",1,0).

The first number (0 to disable or 1 to enable) can be changed to 0 to disable the blocked user list check, which will allow you to add users you have blocked. Edited to disable the blocked user list check, it should be Init("Hello from Se7enSins!",0,0).

The last number (0 to disable or 1 to enable) is used to output debug messages to the console. If you are interested in that sort of stuff, you can change the code to Init("Hello from Se7enSins!",1,1).

I realize customizing might be too advanced for some people. Please don't remove anything from the Init part of the code if you don't know what it does. In fact, you can simply paste the code above (starting with javascript:) into the bookmark's URL field and be done with it, easy enough.

Please let me know if you liked it. If you have any questions at all, feel free to ask them. If you don't understand what to do, let me know and I will try to explain it to you in the simplest terms I can use. If you would be interested in a video explaining what to do, also let me know and I can work on that. The full source code is available on the [Click here to view this link]. Feel free to use it to do whatever you want. I don't care if you use any or all of the code, a link to my Github or Se7enSins member page would be appreciated, though! More details on these incredibly complicated and limiting license terms [Click here to view this link].

Note to all free lobby hosters: You are all awesome. I made this tool to support you guys as well as me. If you have any features you would like to see added, let me know!
Now this is a great idea. But yet you could do it in game via STAT editing :smile: But ill try it Thank you for support
 
S

Sliim

Enthusiast
Messages
372
Reaction score
44
Anyway you could update this for the current version of chrome? Would be very much appreciated! Edit: v18 doesn't load the tool, in dev console it only mentions the updater fetch and version check of the tool. Not sure if it's not loading the tool because the social club site has been updated.
 
Last edited:
V

ViewAK

Steez | GS9 BK 600 | Psn: ThatGuySteez
Messages
2,063
Reaction score
381
Anyway you could update this for the current version of chrome? Would be very much appreciated! Edit: v18 doesn't load the tool, in dev console it only mentions the updater fetch and version check of the tool. Not sure if it's not loading the tool because the social club site has been updated.
You’re i said a few years late. This won’t be getting updated anytime soon.
 
S

Senex

✅ Obsession Engaged
Messages
2,768
Reaction score
2,532
Updated the tool after multiple requests. Turns out the tool still worked but the new design of the Social Club site prevented the buttons from showing up. I've fixed it and hopefully this shouldn't happen again for a couple years. Please test it and let me know if everything's still working correctly. Obviously I tested it myself too but if anything's wrong with it let me know.

Anyway you could update this for the current version of chrome? Would be very much appreciated! Edit: v18 doesn't load the tool, in dev console it only mentions the updater fetch and version check of the tool. Not sure if it's not loading the tool because the social club site has been updated.
Here you go!

You’re i said a few years late. This won’t be getting updated anytime soon.
It's been a few years hasn't it? But here's an update anyway!
 
S

Senex

✅ Obsession Engaged
Messages
2,768
Reaction score
2,532
Just updated the bookmark snippet one last time to prevent browser caching. Updates are 100% automatic now. No more copy-pasting new code to a bookmark.
 
S

Sliim

Enthusiast
Messages
372
Reaction score
44
Works like a charm! Thank you so much!!! Phenomenal work.
 
T

TheMoneyLobby

#1 GTA V PC Lobbies
Messages
2,299
Reaction score
853
Just updated the bookmark snippet one last time to prevent browser caching. Updates are 100% automatic now. No more copy-pasting new code to a bookmark.
You can force inspect element via the In Game I posted about this :wink: I will code this into my project I have been making for over 13 Months for Se7ensins as I can edit the bootstrap and json files in the Launcher easy. I will credit your self tho. :smile: Thank You !
 
Top Bottom