{"id":20892933,"url":"https://github.com/carmjos/mineconfiguration","last_synced_at":"2025-05-12T22:32:14.754Z","repository":{"id":38242281,"uuid":"483877173","full_name":"CarmJos/MineConfiguration","owner":"CarmJos","description":"EasyConfiguration for MineCraft!  开始在 MineCraft 相关服务器平台上轻松(做)配置吧！","archived":false,"fork":false,"pushed_at":"2024-09-17T15:50:40.000Z","size":510,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-17T19:54:10.600Z","etag":null,"topics":["bukkit-plugin","bungee-plugin","configuration","easy-to-use","easyconfiguration","fastdev","spigot-plugin","yaml"],"latest_commit_sha":null,"homepage":"https://CarmJos.github.io/MineConfiguration/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["CarmJos"],"custom":["https://donate.carm.cc"]}},"created_at":"2022-04-21T02:17:11.000Z","updated_at":"2024-09-17T15:50:37.000Z","dependencies_parsed_at":"2023-09-26T10:57:31.112Z","dependency_job_id":"65e074c8-53bc-46ba-bbb8-6ff53a0c41db","html_url":"https://github.com/CarmJos/MineConfiguration","commit_stats":null,"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FMineConfiguration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FMineConfiguration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FMineConfiguration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FMineConfiguration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarmJos","download_url":"https://codeload.github.com/CarmJos/MineConfiguration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225156982,"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-plugin","bungee-plugin","configuration","easy-to-use","easyconfiguration","fastdev","spigot-plugin","yaml"],"created_at":"2024-11-18T10:14:17.189Z","updated_at":"2024-11-18T10:14:17.844Z","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 / /|_/ / / _ \\/ -_) /__/ _ \\/ _ \\/ _/ / _ `/ // / __/ _ `/ __/ / _ \\/ _ \\\n/_/  /_/_/_//_/\\__/\\___/\\___/_//_/_//_/\\_, /\\_,_/_/  \\_,_/\\__/_/\\___/_//_/\n                                      /___/\n```\n\n# MineConfiguration\n\n[![version](https://img.shields.io/github/v/release/CarmJos/MineConfiguration)](https://github.com/CarmJos/MineConfiguration/releases)\n[![License](https://img.shields.io/github/license/CarmJos/MineConfiguration)](https://opensource.org/licenses/MIT)\n[![workflow](https://github.com/CarmJos/MineConfiguration/actions/workflows/maven.yml/badge.svg?branch=master)](https://github.com/CarmJos/MineConfiguration/actions/workflows/maven.yml)\n![CodeSize](https://img.shields.io/github/languages/code-size/CarmJos/MineConfiguration)\n![](https://visitor-badge.glitch.me/badge?page_id=MineConfiguration.readme)\n\nEasyConfiguration for MineCraft!\n\n开始在 MineCraft 相关服务器平台上**轻松(做)配置**吧！\n\n## 项目结构\n\n### **MineConfiguration-Common** [`common`](common)\n\n全部版本的共用部分(均已被打包至下行包中)，包括\n\n- `ConfigMessage` (实现类为 `ConfiguredMessage\u003cM\u003e`)\n- `ConfigMessageList` (实现类为 `ConfiguredMessageList\u003cM\u003e`)\n\n如要使用，请访问对应实现类的builder() 方法来快速创建。\n\n### **MineConfiguration-Bukkit** [`platform/bukkit`](platform/bukkit)\n\n适用于Bukkit的版本，同时支持其他以Bukkit为基础的服务端 *(如Spigot、Paper、CatServer)* 。\n\n相较于基础版本，额外提供了以下功能：\n\n- `ConfiguredSerializable\u003cT extends ConfigurationSerializable\u003e`\n- `ConfiguredItem` (快捷读\\写\\使用简单的物品配置文件)\n- `ConfiguredSound` (快捷读\\写\\使用音效配置文件)\n- `ConfiguredTitle` (快速读\\写\\使用标题文字配置文件)\n\n以上类型可以通过 `CraftConfigValue.builder()` 来创建，部分类型提供了 `of(...);` 方法来快速创建。\n\n### **MineConfiguration-Bungee** [`platform/bungee`](platform/bungee)\n\n适用于BungeeCord的版本，可用JSON与YAML格式。其中JSON格式**不支持配置文件注释**。\n\n## 开发\n\n其他功能请详见 [EasyConfiguration](https://github.com/CarmJos/EasyConfiguration)\n的 [开发介绍](https://github.com/CarmJos/EasyConfiguration/tree/master/.documentation) 。\n\n### 依赖方式\n\n#### Maven 依赖\n\n\u003cdetails\u003e\n\u003csummary\u003e远程库配置\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\u003eEasyConfiguration\u003c/id\u003e\n            \u003cname\u003eGitHub Packages\u003c/name\u003e\n            \u003curl\u003ehttps://maven.pkg.github.com/CarmJos/MineConfiguration\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\u003c/project\u003e\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e通用原生依赖\u003c/summary\u003e\n\n```xml\n\n\u003cproject\u003e\n    \u003cdependencies\u003e\n\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecc.carm.lib\u003c/groupId\u003e\n            \u003cartifactId\u003emineconfiguration-bukkit\u003c/artifactId\u003e\n            \u003cversion\u003e[LATEST RELEASE]\u003c/version\u003e\n            \u003cscope\u003ecompile\u003c/scope\u003e\n        \u003c/dependency\u003e\n\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecc.carm.lib\u003c/groupId\u003e\n            \u003cartifactId\u003emineconfiguration-spigot\u003c/artifactId\u003e\n            \u003cversion\u003e[LATEST RELEASE]\u003c/version\u003e\n            \u003cscope\u003ecompile\u003c/scope\u003e\n        \u003c/dependency\u003e\n\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecc.carm.lib\u003c/groupId\u003e\n            \u003cartifactId\u003emineconfiguration-bungee\u003c/artifactId\u003e\n            \u003cversion\u003e[LATEST RELEASE]\u003c/version\u003e\n            \u003cscope\u003ecompile\u003c/scope\u003e\n        \u003c/dependency\u003e\n\n    \u003c/dependencies\u003e\n\u003c/project\u003e\n```\n\n\u003c/details\u003e\n\n#### Gradle 依赖\n\n\u003cdetails\u003e\n\u003csummary\u003e远程库配置\u003c/summary\u003e\n\n```groovy\nrepositories {\n\n    // 采用Maven中心库，安全稳定，但版本更新需要等待同步\n    mavenCentral()\n\n    // 采用github依赖库，实时更新，但需要配置 (推荐)\n    maven { url 'https://maven.pkg.github.com/CarmJos/MineConfiguration' }\n\n    // 采用我的私人依赖库，简单方便，但可能因为变故而无法使用\n    maven { url 'https://repo.carm.cc/repository/maven-public/' }\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e通用原生依赖\u003c/summary\u003e\n\n```groovy\n\ndependencies {\n\n    api \"cc.carm.lib:mineconfiguration-bukkit:[LATEST RELEASE]\"\n\n    api \"cc.carm.lib:mineconfiguration-spigot:[LATEST RELEASE]\"\n\n    api \"cc.carm.lib:mineconfiguration-bungee:[LATEST RELEASE]\"\n\n}\n```\n\n\u003c/details\u003e\n\n## 支持与捐赠\n\n若您觉得本插件做的不错，您可以通过捐赠支持我！\n\n感谢您对开源项目的支持！\n\n\u003cimg height=25% width=25% src=\"https://raw.githubusercontent.com/CarmJos/CarmJos/main/img/donate-code.jpg\"  alt=\"\"/\u003e\n\n## 开源协议\n\n本项目源码采用 [GNU LESSER GENERAL PUBLIC LICENSE](https://www.gnu.org/licenses/lgpl-3.0.html) 开源协议。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarmjos%2Fmineconfiguration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarmjos%2Fmineconfiguration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarmjos%2Fmineconfiguration/lists"}