{"id":26102675,"url":"https://github.com/Tiiffi/mcrcon","last_synced_at":"2025-03-09T19:42:24.114Z","repository":{"id":9020526,"uuid":"10777685","full_name":"Tiiffi/mcrcon","owner":"Tiiffi","description":"Rcon client for Minecraft","archived":false,"fork":false,"pushed_at":"2024-12-02T05:37:27.000Z","size":132,"stargazers_count":856,"open_issues_count":15,"forks_count":117,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-12-02T06:26:59.312Z","etag":null,"topics":["administration","game-server","linux","maintenance-script","maintenance-scripts","maintenance-terminal","maintenance-tool","mcrcon","minecraft","mojang","rcon","rcon-client","remote-access","remote-admin","remote-admin-tool","remote-administration-tool","remote-administrator-tool","remote-control","source-rcon","valve-rcon"],"latest_commit_sha":null,"homepage":"https://github.com/Tiiffi/mcrcon/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tiiffi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2013-06-19T02:03:39.000Z","updated_at":"2024-11-24T08:46:02.000Z","dependencies_parsed_at":"2022-07-13T10:30:27.725Z","dependency_job_id":"8d9cd6a9-9a92-47ce-9531-f329aea9ecdc","html_url":"https://github.com/Tiiffi/mcrcon","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tiiffi%2Fmcrcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tiiffi%2Fmcrcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tiiffi%2Fmcrcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tiiffi%2Fmcrcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tiiffi","download_url":"https://codeload.github.com/Tiiffi/mcrcon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242744061,"owners_count":20178171,"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":["administration","game-server","linux","maintenance-script","maintenance-scripts","maintenance-terminal","maintenance-tool","mcrcon","minecraft","mojang","rcon","rcon-client","remote-access","remote-admin","remote-admin-tool","remote-administration-tool","remote-administrator-tool","remote-control","source-rcon","valve-rcon"],"created_at":"2025-03-09T19:42:18.423Z","updated_at":"2025-03-09T19:42:24.108Z","avatar_url":"https://github.com/Tiiffi.png","language":"C","funding_links":[],"categories":["C","Application Recommendation"],"sub_categories":["🎮 Game Servers"],"readme":"# mcrcon\r\n\r\nmcrcon is console based Minecraft [rcon](https://developer.valvesoftware.com/wiki/Source_RCON_Protocol) client for remote administration and server maintenance scripts.\r\n\r\n---\r\n\r\n### Installing:\r\n\r\n##### via packet manager:\r\nSee https://pkgs.org/download/mcrcon for available packages in various Linux distros (note that available packages might be outdated).\r\n\r\n- Gentoo Linux: https://packages.gentoo.org/packages/games-util/mcrcon\r\n- Arch Linux: https://aur.archlinux.org/packages/mcrcon/\r\n\r\n##### building from sources:\r\n```sh\r\ngit clone https://github.com/Tiiffi/mcrcon.git\r\ncd mcrcon\r\nmake\r\nsudo make install\r\n```\r\nCheck [INSTALL.md](INSTALL.md) for more details.\r\n\r\nPrecompiled binaries (if provided)*: https://github.com/Tiiffi/mcrcon/releases/latest\r\n\r\n\u003csub\u003e*At the moment binaries are provided for Linux and Windows.\u003c/sub\u003e\r\n\r\n---\r\n\r\n### Usage:\r\nmcrcon [OPTIONS] [COMMANDS]\r\n\r\nSends rcon commands to Minecraft server.\r\n\r\n```\r\nOption:\r\n  -H            Server address (default: localhost)\r\n  -P            Port (default: 25575)\r\n  -p            Rcon password\r\n  -t            Terminal mode\r\n  -s            Silent mode\r\n  -c            Disable colors\r\n  -r            Output raw packets\r\n  -w            Wait for specified duration (seconds) between each command (1 - 600s)\r\n  -h            Print usage\r\n  -v            Version information\r\n```\r\nServer address, port and password can be set using following environment variables:\r\n```\r\nMCRCON_HOST\r\nMCRCON_PORT\r\nMCRCON_PASS\r\n```\r\n###### Notes:\r\n- mcrcon will start in terminal mode if no commands are given\r\n- Command-line options will override environment variables\r\n- Rcon commands with spaces must be enclosed in quotes\r\n\r\nExample:\r\n\u003e Send three commands (\"say\", \"save-all\", \"stop\") and wait five seconds between the commands.\r\n\r\n  ```mcrcon -H my.minecraft.server -p password -w 5 \"say Server is restarting!\" save-all stop```\r\n\r\n---\r\n\r\n##### Enable rcon on server\r\nRemember to enable rcon by adding following lines to [```server.properties```](https://minecraft.gamepedia.com/Server.properties) file.\r\n```\r\nenable-rcon=true\r\nrcon.port=25575\r\nrcon.password=your_rcon_pasword\r\n```\r\n\r\n---\r\n\r\n##### Contact:\r\n\r\n* WWW:            https://github.com/Tiiffi/mcrcon/\r\n* MAIL:           tiiffi+mcrcon at gmail\r\n* BUG REPORTS:    https://github.com/Tiiffi/mcrcon/issues/\r\n\r\n---\r\n\r\n### License\r\n\r\nThis project is licensed under the zlib License - see the [LICENSE](LICENSE) file for details.\r\n\r\n---\r\n\r\n\u003csub\u003eMaster:\u003c/sub\u003e ![Master build](https://api.travis-ci.org/Tiiffi/mcrcon.svg?branch=master)\r\n\u003csub\u003eDevelop:\u003c/sub\u003e ![Develop build](https://api.travis-ci.org/Tiiffi/mcrcon.svg?branch=develop)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTiiffi%2Fmcrcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTiiffi%2Fmcrcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTiiffi%2Fmcrcon/lists"}