{"id":15140951,"url":"https://github.com/mt-ctf/capturetheflag","last_synced_at":"2025-04-13T11:48:01.291Z","repository":{"id":35067826,"uuid":"39210788","full_name":"MT-CTF/capturetheflag","owner":"MT-CTF","description":"Capture the Flag game using the Minetest Voxel Engine","archived":false,"fork":false,"pushed_at":"2025-04-01T21:25:17.000Z","size":14876,"stargazers_count":88,"open_issues_count":95,"forks_count":91,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-04T05:46:56.847Z","etag":null,"topics":["capturetheflag","ctf","game","minetest","minetest-ctf","minetest-game","pvp"],"latest_commit_sha":null,"homepage":"https://ctf.rubenwardy.com","language":"Lua","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/MT-CTF.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-16T17:28:00.000Z","updated_at":"2025-04-01T21:25:21.000Z","dependencies_parsed_at":"2023-09-27T04:21:04.173Z","dependency_job_id":"a2d87fa9-4e99-4be1-9097-27d0c64af979","html_url":"https://github.com/MT-CTF/capturetheflag","commit_stats":{"total_commits":1692,"total_committers":77,"mean_commits":"21.974025974025974","dds":0.6944444444444444,"last_synced_commit":"453f6856522f0e058503d0bf6ef8b29555dcd620"},"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MT-CTF%2Fcapturetheflag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MT-CTF%2Fcapturetheflag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MT-CTF%2Fcapturetheflag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MT-CTF%2Fcapturetheflag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MT-CTF","download_url":"https://codeload.github.com/MT-CTF/capturetheflag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710409,"owners_count":21149186,"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":["capturetheflag","ctf","game","minetest","minetest-ctf","minetest-game","pvp"],"created_at":"2024-09-26T08:42:39.369Z","updated_at":"2025-04-13T11:48:01.272Z","avatar_url":"https://github.com/MT-CTF.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capture The Flag\n\n[![ContentDB](https://content.minetest.net/packages/rubenwardy/capturetheflag/shields/downloads/)](https://content.minetest.net/packages/rubenwardy/capturetheflag/)  [![Build status](https://github.com/MT-CTF/capturetheflag/workflows/build/badge.svg)](https://github.com/MT-CTF/capturetheflag/actions)\n\n\n## Installation\n\n### Git\n\nCapture the flag uses several submodules. Make sure to grab them all by cloning like this:\n\n```sh\ngit clone --recursive https://github.com/MT-CTF/capturetheflag.git\n```\n(Using ssh to clone is recommended for developers/contributors)\n\n### ContentDB\n\nSimply download the game with the ingame content browser.\nNote that this version may be slightly behind the git version, but it will be a little more stable.\n\n## Recommended Setup\n\n* [!] You should host your server using the `dummy` backend if it's not in mapedit mode, this will prevent Luanti from writing the map to disk, which speeds up map operations a lot, especially on HDDs.\n\n### For public servers:\n* Storing rankings using the `redis` backend, all steps are required:\n  * Install redis, luarocks, and luaredis (Ubuntu)\n    * `sudo apt install luarocks redis`\n    * `sudo luarocks install luaredis`\n  * Add `ctf_rankings` to your `secure.trusted_mods`\n\t* Make sure you don't add any malicious mods to your server. **It is possible they can breach the sandbox through `ctf_rankings` when it is a trusted mod**\n  * Run something like this when starting your server: `(cd minetest/worlds/yourworld \u0026\u0026 redis-server) | \u003ccommand to launch your minetest server\u003e`\n    * If you run your Minetest server using a system service it is recommended to run redis-server on a seperate service, with the Minetest service depending upon it\n\n## Starting a game (GUI instructions)\n* Create a new `singlenode` world\n* Turn on `Enable Damage` and `Host Server`, turn off `Creative Mode`, *memorize* your port\n* Click `Host Game`, a round should automatically start as soon as you join in\n* Players on your LAN can join using your local IP and the port you *memorize*d\n\n## Development\n\n* ### [WIP CTF API DOCS](docs/ctf-api.md)\n* If you use Visual Studio Code we recommend these extensions:\n  * https://marketplace.visualstudio.com/items?itemName=sumneko.lua\n  * https://marketplace.visualstudio.com/items?itemName=dwenegar.vscode-luacheck\n  * https://marketplace.visualstudio.com/items?itemName=GreenXenith.minetest-tools\n\n## License\n\nCreated by [rubenwardy](https://rubenwardy.com/).\nDeveloped by [LandarVargan](https://github.com/LoneWolfHT).\nPrevious Developers: [savilli](https://github.com/savilli).\n\nCheck out [mods/](mods/) to see all the installed mods and their respective licenses.\n\nLicenses where not specified:\\\nCode: [GNU LGPLv2.1+](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html)\\\nMedia: [CC BY-SA 3.0 Unported](https://creativecommons.org/licenses/by-sa/3.0/)\n\n### Textures\n\n* [Header](menu/header.png): [CC BY 3.0 Unported](https://creativecommons.org/licenses/by/3.0/) by [SuddenSFD](https://github.com/SuddenSFD)\n* [Background Image](menu/background.png): [CC BY-SA 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/) (where applicable) by [GreenBlob](https://github.com/a-blob) (Uses [Minetest Game](https://github.com/minetest/minetest_game) textures, the majority of which are licensed [CC BY-SA 3.0 Unported](https://creativecommons.org/licenses/by-sa/3.0/)). The player skins used are licensed under [CC BY-SA 3.0 Unported](https://creativecommons.org/licenses/by-sa/3.0/)\n* [Icon](menu/icon.png): [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/) by [SuddenSFD](https://github.com/SuddenSFD)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmt-ctf%2Fcapturetheflag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmt-ctf%2Fcapturetheflag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmt-ctf%2Fcapturetheflag/lists"}