{"id":16161541,"url":"https://github.com/gamemann/-gmod-server-hop","last_synced_at":"2025-03-18T22:30:49.089Z","repository":{"id":33363547,"uuid":"37008401","full_name":"gamemann/-GMod-Server-Hop","owner":"gamemann","description":"A server hop addon for Garry's Mod","archived":false,"fork":false,"pushed_at":"2015-09-21T23:42:52.000Z","size":148,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T00:02:54.836Z","etag":null,"topics":["database","garrys","glua","gmod","hop","lua","mod","mysql","server"],"latest_commit_sha":null,"homepage":"https://moddingcommunity.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gamemann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-07T07:36:06.000Z","updated_at":"2024-12-25T22:38:08.000Z","dependencies_parsed_at":"2022-09-04T01:02:31.422Z","dependency_job_id":null,"html_url":"https://github.com/gamemann/-GMod-Server-Hop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2F-GMod-Server-Hop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2F-GMod-Server-Hop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2F-GMod-Server-Hop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2F-GMod-Server-Hop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gamemann","download_url":"https://codeload.github.com/gamemann/-GMod-Server-Hop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244318368,"owners_count":20433890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","garrys","glua","gmod","hop","lua","mod","mysql","server"],"created_at":"2024-10-10T02:25:37.903Z","updated_at":"2025-03-18T22:30:48.838Z","avatar_url":"https://github.com/gamemann.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation\n1. Create a MySQL database.\n2. Import the mysql.sql file.\n3. Go to the servers table and insert a row with your server details.\n4. Put the \"Server Hop\" addon on your server.\n5. Configure addons/serverhop/lua/shp_server.lua (MySQL information, etc).\n6. Put the web files on your web server.\n7. Configure the web file web/refreshserverlist.php (MySQL information, etc).\n7. Create a cronjob and set the file as web/refreshserverlist.php (this is to refresh the server's details every x minutes, seconds, etc. GFL has theirs set to refresh every 5 minutes).\n\n# Description\nAs promised in June, here's the Garry's Mod server list! As you may tell from looking at the SQL file, GFL has a global server list. However, I am currently not releasing my Server Hop plugin for SourceMod. I've spent the thirty minutes preparing this addon. However, I did not test this. Therefore, there may be addon-breaking issues. If there is, let me know (submit an issue under this repo) and I will get it resolved. I also didn't originally plan on releasing this to the public. Therefore, the code may seem a bit messy. Eventually, I plan on recoding this and making it more public-friendly. Enjoy!\n\n# MySQL Column Descriptions\n`id` - ID of the server (auto increment)\n`name` - The server name that displays in the ad (e.g. TTT)\n`location` - The location ID (1 - USA, 2 - Germany, ...)\n`ip` - The IP of the server. This is mainly used for A records (e.g. ze.gflclan.com)\n`publicip` - The number IP of the server (e.g. 64.74.97.72)\n`port` - The join port for the server (e.g. 27015)\n`qport` - The query port for the server (e.g. 27015, not used)\n`description` - A description of the server. Not used in the GMod Server Hop.\n`gameid` - The server's game ID (e.g. 1 for Garry's Mod)\n`players` - The current amount of players (value should be 0 when inserting a new row)\n`playersmax` - The maximum players of the server (value should be 0 when inserting a new row)\n`bots` - The amount of bots the server currently has (value should be 0 when inserting a new row)\n`map` - The current map the server is on\n`password` - The password of the server (currently useless)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemann%2F-gmod-server-hop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamemann%2F-gmod-server-hop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemann%2F-gmod-server-hop/lists"}