{"id":41665271,"url":"https://github.com/bmstefanski/hytalejs","last_synced_at":"2026-01-24T17:16:51.126Z","repository":{"id":333292551,"uuid":"1134618455","full_name":"bmstefanski/hytalejs","owner":"bmstefanski","description":"🧱 Write Hytale server plugins in TypeScript or JavaScript","archived":false,"fork":false,"pushed_at":"2026-01-18T17:52:32.000Z","size":76118,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-18T19:38:34.082Z","etag":null,"topics":["hytale","hytale-mod","hytale-modding","hytale-plugin","hytale-server"],"latest_commit_sha":null,"homepage":"https://hytalejs-docs.vercel.app","language":"TypeScript","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/bmstefanski.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":"2026-01-15T00:55:44.000Z","updated_at":"2026-01-18T17:52:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bmstefanski/hytalejs","commit_stats":null,"previous_names":["bmstefanski/hytalejs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bmstefanski/hytalejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmstefanski%2Fhytalejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmstefanski%2Fhytalejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmstefanski%2Fhytalejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmstefanski%2Fhytalejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmstefanski","download_url":"https://codeload.github.com/bmstefanski/hytalejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmstefanski%2Fhytalejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28732327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: 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":["hytale","hytale-mod","hytale-modding","hytale-plugin","hytale-server"],"created_at":"2026-01-24T17:16:50.672Z","updated_at":"2026-01-24T17:16:51.117Z","avatar_url":"https://github.com/bmstefanski.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HytaleJS\n\nTypeScript/JavaScript scripting for Hytale servers. Write plugins with full type safety, autocomplete, and a familiar development experience.\n\n\u003e [!WARNING]\n\u003e This project is experimental. APIs may change as we work towards stability.\n\n\u003e [!NOTE]\n\u003e Full documentation at [hytalejs.com](https://hytalejs.com) · Demo server: `play.hytalejs.com`\n\n## Features\n\n- 🎯 **TypeScript Support** - Full type safety and IDE autocomplete\n- 🎮 **Event System** - 30+ events for player actions, world changes, and server lifecycle\n- 💬 **Commands** - Custom commands with permissions and integration with native /help command\n- ⏰ **Scheduler** - Delayed and repeating tasks\n- 🔊 **Sound API** - Play sounds to players\n- 📦 **Direct Java Bindings** - Access the full Hytale server API\n\n## Supported APIs\n\nHytaleJS provides bindings to all major Hytale APIs (528+ supported APIs) including:\n\n- Server management, events, commands, and task scheduling\n- Players, entities, components, and stats\n- World manipulation, blocks, and prefabs\n- Combat, interactions, abilities, and effects\n- Items, inventory, and crafting\n- Audio, particles, and lighting\n- Physics, collision, and movement\n- UI, cosmetics, and camera control\n- Networking, access control, and internationalization\n- Math utilities and geometry\n\n## Quick Example\n\n```typescript\nimport { EventListener, Colors } from \"@hytalejs.com/core\";\n\nclass MyPlugin {\n  @EventListener(\"PlayerConnectEvent\")\n  onJoin(event: PlayerConnectEvent) {\n    event.getPlayer().sendMessage(Message.raw(\"Welcome!\").color(Colors.GREEN).bold(true));\n  }\n}\n\ncommands.register(\"countdown\", \"Start a countdown\", (ctx) =\u003e {\n  let count = 3;\n  const task = scheduler.runRepeating(\n    () =\u003e {\n      if (count \u003e 0) Universe.get().sendMessage(Message.raw(count-- + \"...\"));\n      else {\n        Universe.get().sendMessage(Message.raw(\"Go!\").color(Colors.GREEN));\n        task.cancel();\n      }\n    },\n    0,\n    1000,\n  );\n});\n```\n\n## Setup\n\n### Server\n\n1. Download `HytaleJS.jar` from [releases](https://github.com/bmstefanski/HytaleJS/releases)\n2. Copy to `hytale-server/mods/`\n3. Start your server - scripts folder will be created at `mods/bmstefanski_HytaleJS/scripts/`\n\n### Development\n\n```bash\nmkdir my-plugin \u0026\u0026 cd my-plugin\nnpm init -y\nnpm install @hytalejs.com/core\nnpm install -D typescript esbuild\n```\n\nBuild your TypeScript to JavaScript and copy to the scripts folder.\n\nSee [`examples/kitchensink`](examples/kitchensink) for a complete working setup with esbuild bundling and all features demonstrated.\n\n## Tech Stack\n\n- **Javet (V8)** - JavaScript runtime for JVM\n- **TypeScript** - Type definitions \u0026 utilities for Hytale API\n- **esbuild** - Fast bundling for plugins\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmstefanski%2Fhytalejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmstefanski%2Fhytalejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmstefanski%2Fhytalejs/lists"}