{"id":20470147,"url":"https://github.com/g07cha/mineflayerautoauth","last_synced_at":"2025-07-22T04:33:57.808Z","repository":{"id":57297468,"uuid":"51237678","full_name":"G07cha/MineflayerAutoAuth","owner":"G07cha","description":"Micro module for mineflayer bot that interacts with server's chat auth","archived":false,"fork":false,"pushed_at":"2023-01-25T20:21:00.000Z","size":97,"stargazers_count":16,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T02:11:17.046Z","etag":null,"topics":["authorization","minecraft","mineflayer-bot"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/G07cha.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}},"created_at":"2016-02-07T06:07:37.000Z","updated_at":"2025-03-24T22:48:24.000Z","dependencies_parsed_at":"2023-02-15T10:00:40.057Z","dependency_job_id":null,"html_url":"https://github.com/G07cha/MineflayerAutoAuth","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G07cha%2FMineflayerAutoAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G07cha%2FMineflayerAutoAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G07cha%2FMineflayerAutoAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G07cha%2FMineflayerAutoAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/G07cha","download_url":"https://codeload.github.com/G07cha/MineflayerAutoAuth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248702999,"owners_count":21148116,"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":["authorization","minecraft","mineflayer-bot"],"created_at":"2024-11-15T14:11:54.947Z","updated_at":"2025-04-13T10:51:32.338Z","avatar_url":"https://github.com/G07cha.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoAuth\n\nMinecraft bot auth in servers that don't use `online-mode=true` and require chat authentication. After extending bot will send auth data on `/register` and `/login` messages in chat and emit `serverAuth` event  after that. Extends [mineflayer](https://github.com/PrismarineJS/mineflayer).\n\n[**You can find migration guide from 0.x to 1.x here**](/MIGRATION.md)\n\n## Install\n\n### As dependency\n\n`npm install mineflayer-auto-auth`\n\nAlso make sure that `mineflayer` installed locally as well.\n\n### As development version\n\n```\ngit clone https://github.com/G07cha/MineflayerAutoAuth\nnpm install\nnpm test\n```\n\n## Usage\n\nSimple example:\n\n```javascript\nvar mineflayer = require('mineflayer');\nvar AutoAuth = require('mineflayer-auto-auth')\nvar bot = mineflayer.createBot({\n  plugins: [AutoAuth],\n  AutoAuth: 'password'\n});\n\nbot.on('serverAuth', function() {\n  // Here bot should be already authorized\n});\n```\n\nAdvanced usage(see [API](#api):\n\n```javascript\nvar mineflayer = require('mineflayer');\nvar AutoAuth = require('mineflayer-auto-auth')\nvar bot = mineflayer.createBot({\n  plugins: [AutoAuth],\n  AutoAuth: {\n    logging: true,\n    password: 'password',\n    ignoreRepeat: true\n  }\n});\n\nbot.on('serverAuth', function() {\n  // Here bot should be already authorized\n});\n```\n\n## API\n\n- AutoAuth as string is shorthand for `AutoAuth: { password: 'yourpassword' }`\n\n### `AutoAuth` object\n\n- password(required)\n- logging(default: false) - additional logging for easier debug\n- ignoreRepeat(default: false) - ignore repeating login/register requests, by default will log about repeating\n- repeatCb(function) - callback called on request repeating\n\n## License\n\nMIT © [Konstantin Azizov](http://g07cha.github.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg07cha%2Fmineflayerautoauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg07cha%2Fmineflayerautoauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg07cha%2Fmineflayerautoauth/lists"}