• Pulling Info From Server to Website
    4 replies, posted
Hello, I'm trying to pull stats from my Garry's Mod server to our community's forums. I'm attempting to use Jquery Datatables Plugin to format the stats. Pretty much what I'm shooting for is ULX ranks & bans info. For the ranks I'm trying to have something similar to this: Name + Profile Link | Time Played | Last Login | Staff Rank For bans I'm attempting to get something along these lines: Date The Ban Was Issued | Name + Profile Link | Staff Who Issued The Ban | Ban Length | Reason Now I'm having a few problems trying to figure this out, the first is how to pull the stats from the server to begin with, the second is where to find the files with the needed info. Any help would be great as this has stumped me for awhile now. Much thanks.
You need to have bans and such stuff inside a SQL database to be able to fetch that data with your website, then you can just connect and then do your stuff
Is there any tutorial out there that could show me how to accomplish this? I'm not quite sure how to even begin with linking a SQL db to my server.
You can either use SQL, https://github.com/andreblue/u_sync uses MySQL with the MySQLOO module. If not you can look at using HTTP Requests to a web server. If you go for the MySQL Route, gmsv_mysqloo v9 is a decent little module, and has quite a bit of infomation on the github at GitHub
I'll look into the SQL option, I appreciate the help!
Sorry, you need to Log In to post a reply to this thread.