{"id":34983966,"url":"https://github.com/soldadohumano/vportrait","last_synced_at":"2026-02-21T12:01:04.149Z","repository":{"id":329687171,"uuid":"1120391377","full_name":"SoldadoHumano/vPortrait","owner":"SoldadoHumano","description":"vPortrait is a high-performance Minecraft plugin dedicated to visual identity and immersion. It redefines player interaction by introducing dynamic portraits designed with meticulous attention and system performace.","archived":false,"fork":false,"pushed_at":"2026-01-21T15:32:23.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-22T03:30:50.237Z","etag":null,"topics":["java","minecraft","minecraft-plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoldadoHumano.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-21T05:33:13.000Z","updated_at":"2026-01-21T15:37:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/SoldadoHumano/vPortrait","commit_stats":null,"previous_names":["soldadohumano/vportrait"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/SoldadoHumano/vPortrait","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoldadoHumano%2FvPortrait","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoldadoHumano%2FvPortrait/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoldadoHumano%2FvPortrait/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoldadoHumano%2FvPortrait/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoldadoHumano","download_url":"https://codeload.github.com/SoldadoHumano/vPortrait/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoldadoHumano%2FvPortrait/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29680147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T11:29:27.227Z","status":"ssl_error","status_checked_at":"2026-02-21T11:29:20.292Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","minecraft-plugin"],"created_at":"2025-12-27T01:11:25.356Z","updated_at":"2026-02-21T12:01:04.132Z","avatar_url":"https://github.com/SoldadoHumano.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003evPortrait\u003c/h1\u003e\n  \u003cp\u003e\u003ci\u003eHigh-performance image rendering for Minecraft frames via Netty.\u003c/i\u003e\u003c/p\u003e\n  \n  \u003cdiv\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-AGPL--3.0-blue?style=flat-square\" alt=\"License\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Java-21%2B-orange?style=flat-square\" alt=\"Java Version\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/MC-1.21.3-brightgreen?style=flat-square\" alt=\"Minecraft Version\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Platform-Spigot%20%7C%20Paper-green?style=flat-square\" alt=\"Platform\"\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n## 1. Overview\n\n**vPortrait** is a high-performance Spigot/Paper plugin designed to render external images into *Glow Item Frames* using custom maps. The project focuses on low-level packet manipulation and security to ensure a seamless and safe experience for large-scale servers.\n\n## 2. Key Technical Features\n\n### 🛡️ Security First\n* **SSRF \u0026 DoS Mitigation:** The `PortraitManager` implements strict 5-second timeouts and `User-Agent` validation to prevent thread-locking or network exploitation.\n* **High-Priority Protection:** Listeners registered at `HIGHEST` priority ensure that portrait entities are immutable and protected against accidental player interactions.\n\n### ⚡ Performance \u0026 Fluidity\n* **Netty Pipeline Injection:** Uses `PlayerJoinListener` to inject custom handlers into the server's Netty pipeline. It intercepts `ClientboundAddEntityPacket` to force-send map data immediately, eliminating visual flickering when a player approaches a portrait.\n* **Optimized Rendering:** Features a 10-second per-player cooldown on map canvas updates to save CPU cycles.\n* **Bicubic Interpolation:** Images are processed using `Graphics2D` with bicubic interpolation, ensuring high-fidelity downscaling.\n\n### 🧩 Smart Logic\n* **Auto-Facing Detection:** The `SelectionManager` calculates the `BlockFace` based on the player's `Yaw` and the selection axis (X or Z), making placement intuitive.\n* **GSON Persistence:** Lightweight and efficient data storage for fast plugin startup and shutdown cycles.\n\n## 3. Requirements\n\n* **Java 21** or higher.\n* **Spigot/Paper API** (Compatible with current stable versions).\n* Tested on Paper 1.21.3\n\n## 4. Commands \u0026 Permissions\n\n| Command | Description | Permission |\n| :--- | :--- | :--- |\n| `/vportrait tool` | Gives the Portrait Wand (Golden Axe). | `vportrait.use` |\n| `/vportrait upload \u003curl\u003e` | Renders the image in the selected area. | `vportrait.use` |\n| `/vportrait remove` | Removes the portrait being looked at. | `vportrait.use` |\n| `/vportrait reload` | Reload the system. | `vportrait.admin` |\n| `/vportrait list` | Show count of active portraits. | `vportrait.admin` |\n| `/vportrait sync` | Allows force sync images for yourself. | `vportrait.sync` |\n\nAttention! For security reasons, all permissions are set to OP by default. Use a permissions management system of your choice to grant the appropriate permissions to the appropriate groups.\n\n## 5. License\n\nThis project is licensed under the **GNU Affero General Public License v3.0 (AGPL-3.0)**. Any modified version or network-deployed service using this software must make its full source code available under the same license, as required by the AGPL-3.0.\n\n---\n\n## Premium Version\n\nInterested in more features, dedicated support, or advanced optimizations? Check out the paid version of our tools at our official Discord store:\n\n👉 **[Join ByVitor Discord Store](https://discord.gg/YUbR6YDGwp)**\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003cp\u003eDeveloped with love by \u003cb\u003evitor1227_OP (SoldadoHumano)\u003c/b\u003e\u003c/p\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoldadohumano%2Fvportrait","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoldadohumano%2Fvportrait","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoldadohumano%2Fvportrait/lists"}