{"id":15637747,"url":"https://github.com/megapixel99/verifypluginserver","last_synced_at":"2025-07-24T13:34:26.790Z","repository":{"id":117660080,"uuid":"308990025","full_name":"Megapixel99/VerifyPluginServer","owner":"Megapixel99","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-29T22:38:23.000Z","size":54,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T20:44:20.493Z","etag":null,"topics":[],"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/Megapixel99.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}},"created_at":"2020-10-31T23:29:26.000Z","updated_at":"2021-02-01T22:32:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5e0c543-575d-40eb-a632-bf88f5bd0e9c","html_url":"https://github.com/Megapixel99/VerifyPluginServer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Megapixel99/VerifyPluginServer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megapixel99%2FVerifyPluginServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megapixel99%2FVerifyPluginServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megapixel99%2FVerifyPluginServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megapixel99%2FVerifyPluginServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Megapixel99","download_url":"https://codeload.github.com/Megapixel99/VerifyPluginServer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megapixel99%2FVerifyPluginServer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266851067,"owners_count":23995201,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-03T11:12:44.013Z","updated_at":"2025-07-24T13:34:26.743Z","avatar_url":"https://github.com/Megapixel99.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VerifyPluginServer\n\n## Purpose of this Project\n\nTo make it harder for random people to come on a private Minecraft server\nand destroy it (or take it over) this is the server which can be used for the VerifyPlugin which can be found here: https://github.com/Megapixel99/VerifyPlugin.\n\n## Configure System (environment) properties\n\nTo configure the server successfully:\n* run `npm i` in the root directory of the project\n* duplicate `.sample.env` and rename it to `.env`\n* set `AUTH_ENABLED` to true if you want to use Bearer Token Authentication\n* set `AUTH_STRING` to a random string to generate your Bearer Token(s)\n\n## How generate Bearer Tokens\n\nIn the root directory of this project run `node ./tokenGenerator.js` to\ngenerate a new Bearer Token. This token should be used in all of your requests,\nif you enable authentication.\n\n## How run the server\n\nIn the root directory of this project run `npm start` to start the server. After\nthe server has been running for a few seconds you should see `Connected to MongoDB!`\noutput in your console, if you do not please re-configure your `MONGO_CONNECT`\nvariable.\n\n## How use the server\n\nGET `/verify/status/id/:id` returns whether a given id has already been\nverified or not\n\nGET `/verify/status/ign/:ign` returns whether a given in game name has\nalready been verified or not\n\nGET `/verify/status/uuid/:uuid` returns whether a given Minecraft UUID has\nalready been verified or not and will update the player's in game name\nif it has changed\n\nPOST `/add/id/:id` creates a new code for the ID of a player which will not be verified\n\nPUT `/change/role/:role/player/:player` changes the role of the player on\nthe server by either their in game name or id\n\nPUT `/verify/reset/code/ign/:ign` resets the code of a player by their\nin game name\n\nPUT `/verify/id/:id/code/:code/ign/:ign/uuid/:uuid` verifies a player\n\n### Example MongoDB object\n\n```\n{\n  id: \"optionalThirdPartyID\",\n  uuid: \"minecraftUUID\",\n  ign: \"yourMcName\",\n  code: \"rAndOm\",\n  verified: true/fale,\n  role: null,\n  mute: false,\n}\n```\nAlso see `dbModels.js`\n\n## License\n```\nCopyright 2020 Seth Wheeler\n\nLicensed under the MIT License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegapixel99%2Fverifypluginserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegapixel99%2Fverifypluginserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegapixel99%2Fverifypluginserver/lists"}