{"id":16375778,"url":"https://github.com/vankka/mcdiscordreserializer","last_synced_at":"2025-06-20T14:34:46.192Z","repository":{"id":45606551,"uuid":"162824805","full_name":"Vankka/MCDiscordReserializer","owner":"Vankka","description":"A library for transcoding between Minecraft and Discord.","archived":false,"fork":false,"pushed_at":"2024-07-20T14:16:40.000Z","size":376,"stargazers_count":13,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-11T03:22:10.773Z","etag":null,"topics":["java","minecraft"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vankka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"Vankka"}},"created_at":"2018-12-22T16:08:36.000Z","updated_at":"2024-09-11T11:56:06.000Z","dependencies_parsed_at":"2024-10-11T03:22:14.673Z","dependency_job_id":"b1c0ad4e-f081-430b-b88d-33b85c17999b","html_url":"https://github.com/Vankka/MCDiscordReserializer","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vankka%2FMCDiscordReserializer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vankka%2FMCDiscordReserializer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vankka%2FMCDiscordReserializer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vankka%2FMCDiscordReserializer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vankka","download_url":"https://codeload.github.com/Vankka/MCDiscordReserializer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244721363,"owners_count":20498935,"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":["java","minecraft"],"created_at":"2024-10-11T03:22:09.663Z","updated_at":"2025-03-21T01:32:15.162Z","avatar_url":"https://github.com/Vankka.png","language":"Java","funding_links":["https://github.com/sponsors/Vankka"],"categories":[],"sub_categories":[],"readme":"# MCDiscordReserializer \n\n[![Maven Central](https://img.shields.io/maven-central/v/dev.vankka/mcdiscordreserializer?label=release)](https://central.sonatype.com/search?q=g%3Adev.vankka+a%3Amcdiscordreserializer)\n[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/dev.vankka/mcdiscordreserializer?label=dev\u0026server=https%3A%2F%2Fs01.oss.sonatype.org)](https://s01.oss.sonatype.org/#view-repositories;snapshots~browsestorage~dev/vankka)\n\nA library for transcoding between Minecraft and Discord.\n\nMinecraft text is represented using [Kyori's Adventure](https://github.com/KyoriPowered/adventure) (compatible with 4.x.x).\n\nDiscord text is represented using Java Strings (not relying on any specific Discord library) \nand is translated using a fork of [Discord's SimpleAST](https://github.com/discordapp/SimpleAST), \n[here](https://github.com/Vankka/SimpleAST).\n\n## Dependency information\n\n### Version\n| Text/Adventure Version | MCDiscordReserializer version | Maintained |\n|----|----|----|\n| 4.x.x | 4.x.x | ✔ |\n| 3.x.x | 3.x.x | ️ |\n\n### Versions 4.2.0 and up\n\n#### Maven\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003edev.vankka\u003c/groupId\u003e\n        \u003cartifactId\u003emcdiscordreserializer\u003c/artifactId\u003e\n        \u003cversion\u003e4.3.0\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n### Gradle\n```groovy\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation 'dev.vankka:mcdiscordreserializer:4.3.0'\n}\n```\n\n\u003cdetails\u003e\n    \u003csummary\u003eVersions Before 4.2.0\u003c/summary\u003e\n\n    #### Maven\n    ```xml\n    \u003crepositories\u003e\n        \u003crepository\u003e\n            \u003cid\u003eVankka-Nexus\u003c/id\u003e\n            \u003curl\u003ehttps://nexus.vankka.dev/repository/maven-public/\u003c/url\u003e\n        \u003c/repository\u003e\n    \u003c/repositories\u003e\n    \n    \u003cdependencies\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003edev.vankka\u003c/groupId\u003e\n            \u003cartifactId\u003eMCDiscordReserializer\u003c/artifactId\u003e\n            \u003cversion\u003e3.0.1\u003c/version\u003e\n        \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n    ```\n    \n    #### Gradle\n    ```groovy\n    repositories {\n        maven { \n          id 'Vankka-Nexus'\n          url 'https://nexus.vankka.dev/repository/maven-public/' \n        }\n    }\n    \n    dependencies {\n        implementation 'dev.vankka:MCDiscordReserializer:3.0.1'\n    }\n    ```\n\u003c/details\u003e\n\n\n## Basic usage\n```java\n// For Minecraft -\u003e Discord translating\nString output = DiscordSerializer.INSTANCE.serialize(TextComponent.of(\"Bold\").decoration(TextDecoration.BOLD, true));\n\n// For Discord -\u003e Minecraft translating\nTextComponent output = MinecraftSerializer.INSTANCE.serialize(\"**Bold**\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvankka%2Fmcdiscordreserializer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvankka%2Fmcdiscordreserializer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvankka%2Fmcdiscordreserializer/lists"}