{"id":19999355,"url":"https://github.com/bios-marcel/sampcmd-go","last_synced_at":"2026-05-09T20:05:04.907Z","repository":{"id":97911840,"uuid":"150956219","full_name":"Bios-Marcel/sampcmd-go","owner":"Bios-Marcel","description":"Little tool to start SA-MP from within Go. This can also be used as a standalone executable.","archived":false,"fork":false,"pushed_at":"2018-10-05T17:37:10.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T16:06:45.598Z","etag":null,"topics":["commandline","go","library","sa-mp","samp"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bios-Marcel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-30T10:14:13.000Z","updated_at":"2020-07-07T08:51:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2e364ac-701e-4651-a13f-40d2fcb85459","html_url":"https://github.com/Bios-Marcel/sampcmd-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bios-Marcel%2Fsampcmd-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bios-Marcel%2Fsampcmd-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bios-Marcel%2Fsampcmd-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bios-Marcel%2Fsampcmd-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bios-Marcel","download_url":"https://codeload.github.com/Bios-Marcel/sampcmd-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241439486,"owners_count":19963095,"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":["commandline","go","library","sa-mp","samp"],"created_at":"2024-11-13T05:11:31.105Z","updated_at":"2026-05-09T20:05:04.875Z","avatar_url":"https://github.com/Bios-Marcel.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sampcmd-go\n\n[![Build status](https://ci.appveyor.com/api/projects/status/jmvqa62k30rvyt9i/branch/master?svg=true)](https://ci.appveyor.com/project/Bios-Marcel/sampcmd-go/branch/master)\n[![GoDoc](https://godoc.org/github.com/Bios-Marcel/sampcmd-go?status.svg)](https://godoc.org/github.com/Bios-Marcel/sampcmd-go/sampcmd)\n\nThis tool allows you to start SA-MP via the command line, alternatively it can be used as a go library.\n\n## Commandline Usage\n\n```cmd\nsampcmd-go.exe -h 127.0.0.1 -p 7777 -n Name\n```\n\n## Golang usage\n\n```GO\nreturnValue := sampcmd.LaunchSAMP(\"-h 127.0.0.1 -p 7777 -n Name\")\nif(returnValue != 0) {\n    fmt.Printf(\"An error occured. The application returned %d\", returnValue)\n}\n```\n\nFor all available functions, check the documentation at [https://godoc.org/github.com/Bios-Marcel/sampcmd-go/sampcmd](https://godoc.org/github.com/Bios-Marcel/sampcmd-go/sampcmd).\n\n## Available parameters\n\n* `-d`\n  \u003e Enables the debugging mode.\n* `-c \u003cRCON password\u003e`\n  \u003e Passes an RCON password to directly login as RCON administrator.\n* `-h \u003cIP address / hostname\u003e`\n  \u003e Specifies the server that you want to join.\n* `-p \u003cport\u003e`\n  \u003e Specified the servers port.\n* `-n \u003cname\u003e`\n  \u003e Specifies the ingame username.\n* `-z \u003cserver password\u003e`\n  \u003e Specifies a password necessary to join the server.\n\n## Credits\n\nBig thanks to [BigETI](https://github.com/BigETI/) for helping me on this one!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbios-marcel%2Fsampcmd-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbios-marcel%2Fsampcmd-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbios-marcel%2Fsampcmd-go/lists"}