{"id":20892940,"url":"https://github.com/carmjos/mineredis","last_synced_at":"2025-07-07T02:02:31.267Z","repository":{"id":113758495,"uuid":"588858417","full_name":"CarmJos/MineRedis","owner":"CarmJos","description":"RedisAPI for MineCraft! 适用于Redis的独立运行库插件，支持多种服务端，适用于MineCraft全版本。","archived":false,"fork":false,"pushed_at":"2024-01-24T18:41:50.000Z","size":820,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-01-25T16:30:56.479Z","etag":null,"topics":["bukkit-library","bukkit-plugin","bungeecord-library","bungeecord-plugin","lettuce-core","minecraft-api","minecraft-plugin","minecraft-server","redis","spigot-library","spigot-plugin","velocity-library","velocity-plugin"],"latest_commit_sha":null,"homepage":"https://CarmJos.github.io/MineRedis","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CarmJos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["CarmJos"],"custom":["https://donate.carm.cc"]}},"created_at":"2023-01-14T08:59:48.000Z","updated_at":"2024-01-25T16:30:56.480Z","dependencies_parsed_at":"2024-01-23T16:30:05.638Z","dependency_job_id":"a3e4368d-731d-4359-84a1-51fb6337315e","html_url":"https://github.com/CarmJos/MineRedis","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/CarmJos%2FMineRedis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FMineRedis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FMineRedis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FMineRedis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarmJos","download_url":"https://codeload.github.com/CarmJos/MineRedis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225156981,"owners_count":17429701,"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":["bukkit-library","bukkit-plugin","bungeecord-library","bungeecord-plugin","lettuce-core","minecraft-api","minecraft-plugin","minecraft-server","redis","spigot-library","spigot-plugin","velocity-library","velocity-plugin"],"created_at":"2024-11-18T10:14:19.405Z","updated_at":"2024-11-18T10:14:20.013Z","avatar_url":"https://github.com/CarmJos.png","language":"Java","funding_links":["https://github.com/sponsors/CarmJos","https://donate.carm.cc"],"categories":[],"sub_categories":[],"readme":"```text\n   __  ____          ___         ___   \n  /  |/  (_)__  ___ / _ \\___ ___/ (_)__\n / /|_/ / / _ \\/ -_) , _/ -_) _  / (_-\u003c\n/_/  /_/_/_//_/\\__/_/|_|\\__/\\_,_/_/___/\n```\n\n# MineRedis\n\n[![version](https://img.shields.io/github/v/release/CarmJos/MineRedis)](https://github.com/CarmJos/MineRedis/releases)\n[![License](https://img.shields.io/github/license/CarmJos/MineRedis)](https://opensource.org/licenses/GPL-3.0)\n[![workflow](https://github.com/CarmJos/MineRedis/actions/workflows/maven.yml/badge.svg?branch=master)](https://github.com/CarmJos/MineRedis/actions/workflows/maven.yml)\n![CodeSize](https://img.shields.io/github/languages/code-size/CarmJos/MineRedis)\n[![CodeFactor](https://www.codefactor.io/repository/github/carmjos/MineRedis/badge)](https://www.codefactor.io/repository/github/carmjos/MineRedis)\n![](https://visitor-badge.glitch.me/badge?page_id=MineRedis.readme)\n\n适用于Redis的独立运行库插件，支持多种服务端，适用于MineCraft全版本。\n\n## 优势\n\n## 安装\n\n1. 从 [Releases(发行)](https://github.com/CarmJos/MineRedis/releases/)\n   中点击 [最新版](https://github.com/CarmJos/MineRedis/releases/latest) 下载 `MineRedis-x.y.z.jar` 。\n2. 将下载的 `MineRedis-x.y.z.jar` 放入服务器 `plugins/` 文件夹下。\n3. 启动服务器，预加载配置文件后关闭服务器。\n4. 修改 `plugins/MineRedis/config.yml` 以配置您的数据库选项。\n5. 启动服务器，若配置无误，则您会看到 MineRedis一切正常的提示消息。\n\n## 配置\n\n### 插件配置文件 [`config.yml`](.doc/example-config.yml)\n\n完整示例配置请见 [示例配置文件](.doc/example-config.yml)。\n\n## 指令\n\n插件主指令为 `/MineRedis` ，所有指令只允许后台执行。\n\n```text\n# help\n- 查看插件指令帮助。\n\n# version\n- 查看当前插件、核心库(lettuce-core)与连接池依赖版本。\n```\n\n## 开发\n\n### 依赖方式\n\n\u003cdetails\u003e\n\u003csummary\u003e展开查看 Maven 依赖方式\u003c/summary\u003e\n\n```xml\n\n\u003cproject\u003e\n    \u003crepositories\u003e\n\n        \u003crepository\u003e\n            \u003c!--采用Maven中心库，安全稳定，但版本更新需要等待同步--\u003e\n            \u003cid\u003emaven\u003c/id\u003e\n            \u003cname\u003eMaven Central\u003c/name\u003e\n            \u003curl\u003ehttps://repo1.maven.org/maven2\u003c/url\u003e\n        \u003c/repository\u003e\n\n        \u003crepository\u003e\n            \u003c!--采用github分支依赖库，稳定更新快--\u003e\n            \u003cid\u003eMineRedis\u003c/id\u003e\n            \u003cname\u003eGitHub Branch Repository\u003c/name\u003e\n            \u003curl\u003ehttps://raw.githubusercontent.com/CarmJos/MineRedis/repo/\u003c/url\u003e\n        \u003c/repository\u003e\n\n        \u003crepository\u003e\n            \u003c!--采用我的私人依赖库，简单方便，但可能因为变故而无法使用--\u003e\n            \u003cid\u003ecarm-repo\u003c/id\u003e\n            \u003cname\u003eCarm's Repo\u003c/name\u003e\n            \u003curl\u003ehttps://repo.carm.cc/repository/maven-public/\u003c/url\u003e\n        \u003c/repository\u003e\n\n    \u003c/repositories\u003e\n\n    \u003cdependencies\u003e\n\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecc.carm.plugin\u003c/groupId\u003e\n            \u003cartifactId\u003eMineRedis-api\u003c/artifactId\u003e\n            \u003cversion\u003e[LATEST RELEASE]\u003c/version\u003e\n            \u003cscope\u003eprovided\u003c/scope\u003e\n        \u003c/dependency\u003e\n\n    \u003c/dependencies\u003e\n\u003c/project\u003e\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e展开查看 Gradle 依赖方式\u003c/summary\u003e\n\n```groovy\nrepositories {\n\n    //采用Maven中心库，安全稳定，但版本更新需要等待同步\n    mavenCentral()\n\n    // 采用github分支依赖库，稳定更新快\n    maven { url 'https://raw.githubusercontent.com/CarmJos/MineRedis/repo/' }\n\n    // 采用我的私人依赖库，简单方便，但可能因为变故而无法使用\n    maven { url 'https://repo.carm.cc/repository/maven-public/' }\n}\n\ndependencies {\n    compileOnly \"cc.carm.plugin:MineRedis-api:[LATEST RELEASE]\"\n}\n```\n\n\u003c/details\u003e\n\n### 操作示例\n\n本插件接口入口类为 `MineRedis` ，更多方法详见 [MineRedis-Javadoc](https://carmjos.github.io/MineRedis/) 。\n\n关于 **lettuce-core** 的使用方法，请详见 [Lettuce开发文档](https://github.com/lettuce-io/lettuce-core/wiki) 。\n\n\u003cdetails\u003e\n  \u003csummary\u003e点击查看简单实例\u003c/summary\u003e\n\n```java\n\npublic class Main extends JavaPlugin {\n\n    @Override\n    public void onEnable() {\n\n        // do something...\n      \n    }\n\n}\n\n```\n\n\u003c/details\u003e \n\n## 开源协议\n\n本项目源码采用 [GNU General Public License v3.0](https://opensource.org/licenses/GPL-3.0) 开源协议。\n\n\u003cdetails\u003e\n  \u003csummary\u003e关于 GPL 协议\u003c/summary\u003e\n\n\u003e GNU General Public Licence (GPL) 有可能是开源界最常用的许可模式。GPL 保证了所有开发者的权利，同时为使用者提供了足够的复制，分发，修改的权利：\n\u003e\n\u003e #### 可自由复制\n\u003e 你可以将软件复制到你的电脑，你客户的电脑，或者任何地方。复制份数没有任何限制。\n\u003e #### 可自由分发\n\u003e 在你的网站提供下载，拷贝到U盘送人，或者将源代码打印出来从窗户扔出去（环保起见，请别这样做）。\n\u003e #### 可以用来盈利\n\u003e 你可以在分发软件的时候收费，但你必须在收费前向你的客户提供该软件的 GNU GPL 许可协议，以便让他们知道，他们可以从别的渠道免费得到这份软件，以及你收费的理由。\n\u003e #### 可自由修改\n\u003e 如果你想添加或删除某个功能，没问题，如果你想在别的项目中使用部分代码，也没问题，唯一的要求是，使用了这段代码的项目也必须使用\n\u003e GPL 协议。\n\u003e\n\u003e 需要注意的是，分发的时候，需要明确提供源代码和二进制文件，另外，用于某些程序的某些协议有一些问题和限制，你可以看一下\n\u003e @PierreJoye 写的 Practical Guide to GPL Compliance 一文。使用 GPL 协议，你必须在源代码代码中包含相应信息，以及协议本身。\n\u003e\n\u003e *以上文字来自 [五种开源协议GPL,LGPL,BSD,MIT,Apache](https://www.oschina.net/question/54100_9455) 。*\n\u003c/details\u003e \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarmjos%2Fmineredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarmjos%2Fmineredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarmjos%2Fmineredis/lists"}