{"id":14969398,"url":"https://github.com/Pluto-Studio/adventure-kt","last_synced_at":"2025-10-26T07:31:26.171Z","repository":{"id":243668709,"uuid":"813081491","full_name":"Pluto-Studio/adventure-kt","owner":"Pluto-Studio","description":"⛏️ Full Kotlin support for Kyori Adventure","archived":false,"fork":false,"pushed_at":"2024-10-25T10:21:15.000Z","size":122,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-31T13:22:59.678Z","etag":null,"topics":["adventure","bukkit","kotlin","minecraft","minecraft-chat","minecraft-plugin","paper","spigot"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pluto-Studio.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":"2024-06-10T12:58:30.000Z","updated_at":"2024-12-24T23:14:13.000Z","dependencies_parsed_at":"2024-06-24T17:09:20.645Z","dependency_job_id":"7ebb760a-4051-4ec3-893d-0d8bcbc91223","html_url":"https://github.com/Pluto-Studio/adventure-kt","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":"0.48484848484848486","last_synced_commit":"12aca611f302d6840d4aa665ebb8d4182017a71c"},"previous_names":["plutoproject/adventure-kt","pluto-studio/adventure-kt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pluto-Studio%2Fadventure-kt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pluto-Studio%2Fadventure-kt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pluto-Studio%2Fadventure-kt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pluto-Studio%2Fadventure-kt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pluto-Studio","download_url":"https://codeload.github.com/Pluto-Studio/adventure-kt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238284891,"owners_count":19446749,"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":["adventure","bukkit","kotlin","minecraft","minecraft-chat","minecraft-plugin","paper","spigot"],"created_at":"2024-09-24T13:41:47.930Z","updated_at":"2025-10-26T07:31:25.865Z","avatar_url":"https://github.com/Pluto-Studio.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# adventure-kt\r\n\r\n**English** | [简体中文](https://github.com/PlutoProject/adventure-kt/blob/master/README_CN.md)\r\n\r\n\u003e [!WARNING]\r\n\u003e\r\n\u003e This project is still **working in progress**.\r\n\u003e\r\n\u003e Some interfaces may not work / change in the future.\r\n\u003e\r\n\u003e Use it as your own risk.\r\n\r\n⛏️ Full Kotlin support for [Kyori Adventure](https://github.com/KyoriPowered/adventure).\r\n\r\n## 🤔 purpose\r\n\r\nSince Kotlin brought us the ability to create [Extensions](https://kotlinlang.org/docs/extensions.html), we can create DSLs.\r\n\r\nThis project aimed to create many DSL utilities for adventure's builder pattern API, which make your life easier.\r\n\r\n## 📦 artifacts\r\n\r\n###  repository\r\n\r\n```kotlin\r\nrepositories {\r\n    maven(uri(\"https://maven.nostal.ink/repository/maven-public/\"))\r\n}\r\n```\r\n\r\n### dependency\r\n\r\n```kotlin\r\ndependencies {\r\n    // Use shadowJar to shade the artifact into your jar\r\n    api(\"ink.pmc.advkt:core:1.0.0-SNAPSHOT\")\r\n}\r\n\r\ntasks.shadowJar {\r\n    relocate(\"ink.pmc.advkt\", \"com.example.libs.advkt\")\r\n}\r\n```\r\n\r\n## ☕ examples\r\n\r\n### creating a component\r\n\r\n```kotlin\r\ncomponent {\r\n    text(\"This is a text component, nothing special.\")\r\n    text(\"This is a colorized text component.\") with red()\r\n    text(\"This is a colorized text component.\") with color(249, 226, 145) // support RGB and hex color\r\n    newline()\r\n    text(\"This is a styled text component.\") with bold() without italic()\r\n}\r\n\r\n// you can also use the following syntax\r\nplayer.send {\r\n    text(\"This is a text component, nothing special.\")\r\n}\r\n```\r\n\r\n### creating a title\r\n\r\n```kotlin\r\ntitle {\r\n    mainTitle {\r\n        text(\"This is a main title.\")\r\n    }\r\n    subTitle {\r\n        text(\"This is a sub title.\")\r\n    }\r\n    // support both Kotlin duration and Java duration\r\n    times {\r\n        fadeIn(1.seconds)\r\n        stay(1.seconds)\r\n        fadeOut(1.seconds)\r\n    }\r\n}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPluto-Studio%2Fadventure-kt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPluto-Studio%2Fadventure-kt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPluto-Studio%2Fadventure-kt/lists"}