{"id":20228825,"url":"https://github.com/carm-outsource/scriptitems","last_synced_at":"2025-03-03T13:20:37.335Z","repository":{"id":74963696,"uuid":"466350869","full_name":"carm-outsource/ScriptItems","owner":"carm-outsource","description":"脚本物品插件，给予玩家可执行对应操作的物品，基于EasyPlugin实现。","archived":false,"fork":false,"pushed_at":"2025-01-22T19:46:46.000Z","size":108,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T20:29:40.644Z","etag":null,"topics":["bukkit-plugin","easyplugin","easysql","outsource","placeholderapi","spigot-plugin"],"latest_commit_sha":null,"homepage":"","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/carm-outsource.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":{"custom":["https://donate.carm.cc"]}},"created_at":"2022-03-05T04:41:20.000Z","updated_at":"2025-01-22T19:46:49.000Z","dependencies_parsed_at":"2023-05-06T20:18:30.873Z","dependency_job_id":null,"html_url":"https://github.com/carm-outsource/ScriptItems","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/carm-outsource%2FScriptItems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carm-outsource%2FScriptItems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carm-outsource%2FScriptItems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carm-outsource%2FScriptItems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carm-outsource","download_url":"https://codeload.github.com/carm-outsource/ScriptItems/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241670103,"owners_count":20000329,"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","easyplugin","easysql","outsource","placeholderapi","spigot-plugin"],"created_at":"2024-11-14T07:32:55.519Z","updated_at":"2025-03-03T13:20:37.317Z","avatar_url":"https://github.com/carm-outsource.png","language":"Java","funding_links":["https://donate.carm.cc"],"categories":[],"sub_categories":[],"readme":"```text\n   ____        _      __  ______              \n  / __/_______(_)__  / /_/  _/ /____ __ _  ___\n _\\ \\/ __/ __/ / _ \\/ __// // __/ -_)  ' \\(_-\u003c\n/___/\\__/_/ /_/ .__/\\__/___/\\__/\\__/_/_/_/___/\n             /_/                                                          \n```\n\n# ScriptItems\n\n[![workflow](https://github.com/CarmJos/ScriptItems/actions/workflows/maven.yml/badge.svg?branch=master)](https://github.com/CarmJos/ScriptItems/actions/workflows/maven.yml)\n![Support](https://img.shields.io/badge/Minecraft-Java%201.12--Latest-yellow)\n![](https://visitor-badge.glitch.me/badge?page_id=ScriptItems.readme)\n\n脚本物品插件，给予玩家可执行对应操作的物品，基于EasyPlugin实现。\n\n本插件由 [ArtStyle(艺式)](https://artstyle.wiki/)、[猫窝](https://maowo.moe) 提供开发资助。\n\n## 插件功能与优势\n\n\u003e 加 * 的功能仍在开发中。\n\n- 物品操作绑定，给予玩家可执行对应操作设置的物品，支持PlaceholderAPI变量。\n    - 目前支持的操作有:\n        - 控制台执行命令\n        - 玩家聊天消息 (加/前缀即为以玩家身份执行命令)\n        - 为玩家播放音效\n        - 给玩家发送消息 (支持RGB颜色，格式为 `\u0026(#颜色代码)` )\n        - 拿取对应物品 (若不配置则物品保留可继续使用)\n- **允许限定。** 允许给物品对应的指令组设定“总共可执行次数*”、“每日执行次数*”与“允许使用时间”限定。\n- **\\*详细记录。**  每个物品均有独立ID，并对使用的玩家与执行结果进行详细记录，便于追踪查询。\n- **异步存取。** 数据读取与存储均为异步操作，不影响服务器性能。\n- **轻量插件。** 适合小型服务器使用，配置简单方便。\n- **规范开发。** 插件架构符合开发规范，适合新手开发者学习。\n\n## 插件依赖\n\n- **[必须]** 插件本体基于 [Spigot-API](https://hub.spigotmc.org/stash/projects/SPIGOT) 、 [BukkitAPI](http://bukkit.org/)\n  实现。\n- **[自带]** 插件功能基于 [EasyPlugin](https://github.com/CarmJos/EasyPlugin) 实现。\n- **[自带]** 数据功能基于 [EasySQL](https://github.com/CarmJos/EasySQL) 实现。\n- **[推荐]** 消息变量基于 [PlaceholderAPI](https://www.spigotmc.org/resources/6245/) 实现。\n\n详细依赖列表可见 [Dependencies](https://github.com/CarmJos/timereward/network/dependencies) 。\n\n## 配置文件\n\n### 插件配置文件 ([config.yml](src/main/resources/config.yml))\n\n详见源文件。\n\n### 消息配置文件 ([messages.yml](src/main/java/cc/carm/plugin/scriptitems/conf/PluginMessages.java))\n\n详见代码源文件，将在首次启动时生成配置。\n\n## 插件指令\n\n插件主指令为 `/ScriptItems`，所需权限为 `ScriptItems.admin`。\n\n```text\n# help\n- 查看插件帮助\n\n# reload\n- 重载插件配置文件。\n\n# get \u003c物品ID\u003e [数量(默认为1)]\n- 给予自己指定数量的物品。\n\n# give \u003c玩家\u003e \u003c物品ID\u003e [数量(默认为1)]\n- 给予指定玩家指定数量的物品。\n\n# apply \u003c物品ID\u003e\n- 为手中的物品直接绑定一个配置。\n\n# info \u003c物品ID\u003e\n- 查看物品的发放与领取情况。\n\n```\n\n## 使用统计\n\n[![bStats](https://bstats.org/signatures/bukkit/ScriptItems.svg)](https://bstats.org/plugin/bukkit/ScriptItems/14615)\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 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\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarm-outsource%2Fscriptitems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarm-outsource%2Fscriptitems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarm-outsource%2Fscriptitems/lists"}