{"id":15016089,"url":"https://github.com/chattriggers/chattriggers","last_synced_at":"2025-04-07T13:06:19.441Z","repository":{"id":37958086,"uuid":"103319998","full_name":"ChatTriggers/ChatTriggers","owner":"ChatTriggers","description":"A framework for Minecraft Forge that allows for client modifications to be scripted in JavaScript","archived":false,"fork":false,"pushed_at":"2024-07-12T17:49:32.000Z","size":9355,"stargazers_count":181,"open_issues_count":16,"forks_count":39,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-07T13:06:05.090Z","etag":null,"topics":["forge","forge-mod","hacktoberfest","minecraft","minecraft-forge","minecraft-forge-mod","minecraft-mod"],"latest_commit_sha":null,"homepage":"https://www.chattriggers.com","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/ChatTriggers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2017-09-12T20:58:45.000Z","updated_at":"2025-04-07T08:02:02.000Z","dependencies_parsed_at":"2023-02-17T22:46:17.614Z","dependency_job_id":"ef783bf3-b826-4abd-ac51-688fec5e5c03","html_url":"https://github.com/ChatTriggers/ChatTriggers","commit_stats":{"total_commits":1430,"total_committers":28,"mean_commits":51.07142857142857,"dds":0.5804195804195804,"last_synced_commit":"ff179974c50312fd6b82920fb9d2265e0783a2a6"},"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChatTriggers%2FChatTriggers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChatTriggers%2FChatTriggers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChatTriggers%2FChatTriggers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChatTriggers%2FChatTriggers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChatTriggers","download_url":"https://codeload.github.com/ChatTriggers/ChatTriggers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657277,"owners_count":20974344,"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":["forge","forge-mod","hacktoberfest","minecraft","minecraft-forge","minecraft-forge-mod","minecraft-mod"],"created_at":"2024-09-24T19:48:23.561Z","updated_at":"2025-04-07T13:06:19.414Z","avatar_url":"https://github.com/ChatTriggers.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://chattriggers.com\"\u003e\n      \u003cimg src=\"https://chattriggers.com/assets/images/logo-final.png\" width=\"546\" alt=\"ChatTriggers.js\" /\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://discord.gg/chattriggers\"\u003e\n      \u003cimg src=\"https://discordapp.com/api/guilds/119493402902528000/embed.png\" alt=\"Discord\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/ChatTriggers/ChatTriggers\"\u003e\n      \u003cimg src=\"https://api.travis-ci.com/ChatTriggers/ChatTriggers.svg?branch=master\" alt=\"Build Status\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/ChatTriggers/ChatTriggers/releases\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/v/release/ChatTriggers/ChatTriggers.svg?include_prereleases\" alt=\"Releases\" /\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n[![forthebadge](https://forthebadge.com/images/badges/60-percent-of-the-time-works-every-time.svg)](https://forthebadge.com)\u003cbr\u003e\nChatTriggers is always in development. Although we try to follow standard version conventions \nand deprecate old methods before removing them, there may be times where we need to restructure\n something to the point where deprecation is impossible. Modules can and will break at any time.\n\n# About\nChatTriggers is a framework for Minecraft that allows for live scripting and client modification\nusing JavaScript. We provide libraries, wrappers, objects and more to make your life as a modder\nas easy as possible. Even without the proper wrapper, you can still use exposed Minecraft methods\nand variables but you will need knowledge of FML mappings. The entire ChatTriggers engine is built\non [Rhino](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino) using Java 8\nso you have access to any Rhino methods and functions. Rhino supports _some_ ES6 features,\nas can be seen [here](https://mozilla.github.io/rhino/compat/engines.html).\n\nThe basic premise of ChatTriggers is that everything is based around Triggers.\nFrom a modding standpoint, Triggers can be thought of as event listeners.\nThese can range from a chat Trigger that runs on a specific chat event matching criteria to a\nrender overlay Trigger that runs when the crosshair is being rendered. We are constantly adding\nmore Triggers and Trigger types as the mod evolves for more integration with Minecraft.\n\n```JavaScript\nregister(\"chat\", function(name, message, event) {\n  cancel(event);\n  ChatLib.chat(name + \": \" + message);\n}).setCriteria(\"\u003c${name}\u003e ${message}\");\n\nregister(\"renderCrosshair\", function(event) {\n  cancel(event);\n  Renderer.drawRect(\n    0x50ffffff,\n    Renderer.screen.getWidth() / 2 - 1,\n    Renderer.screen.getHeight() / 2 - 1,\n    2, 2\n  );\n});\n```\n\nYou can learn the basics of scripting with ChatTriggers from the [Slate tutorial](https://www.chattriggers.com/slate/) and once you get the basics, check out the [JavaDocs](https://www.chattriggers.com/javadocs/) for a more in depth look at all of the available methods. \n\n# Releases\nThe [ChatTriggers website](https://www.chattriggers.com/) will always be kept up to date with the latest release. As of beta version 0.6.4, we have started to move the release changelog along with a .jar download (mirror of the website) to the [GitHub releases page](https://github.com/ChatTriggers/ChatTriggers/releases).\n\n# Feature changes\nAny major features are moved to separate branches before being merged into master. This will avoid the issue of waiting after a release to fix bugs when we want to be working on new features. Any contributors will have to abide by the same standard. New features get their own branch and bug fixes require a pull request on the master branch.\n\n# Issues\nAny issue can be opened using the normal [GitHub issue page](https://github.com/ChatTriggers/ChatTriggers/issues). Issues can be anything from bug reports to feature requests. For us to consider an issue to be valid, it needs a simple but effective title that conveys the problem in a few words and a well thought out and well written description.\n### Bug Report\n- Should be reproducible\n- Needs a step by step guide on how to reproduce\n- Any evidence of the bug occurring (e.g. images or video) is welcome\n### Feature Request\n- Needs a general description of the feature requests\n- Specifics on what is being requested (e.g. what class you want it in or what it should do) is highly recommended\n\nDuplicate issues will be merged to avoid too much clutter. If an issue is moved to \"next\" we will usually comment on it to explain how we expect to implement or fix that issue.\n\n\n## Special Thanks To\n\n\u003ca href=\"https://www.ej-technologies.com/products/jprofiler/overview.html\"\u003e\n  \u003cimg src=\"https://www.ej-technologies.com/images/product_banners/jprofiler_large.png\" alt=\"jProfiler\" /\u003e\n  The Java Profiler jProfiler\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchattriggers%2Fchattriggers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchattriggers%2Fchattriggers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchattriggers%2Fchattriggers/lists"}