Clans
功能特性
- 氏族管理:创建、加入和管理氏族,支持可配置的角色(首领、副手、成员)。
- 积分系统:击杀其他玩家可获得积分。
- 多种数据库类型:支持多种数据库(MongoDB、MySQL、FLAT)。
- 模块化设计:提供清晰的 API,方便开发者扩展功能。
安装方法
- 从 发布页面 下载最新版本。
- 将 JAR 文件放入服务器的
plugins 目录中。
- 重启服务器。
- 在
plugins/Clans 文件夹中配置插件。
权限节点
clans.create – 创建氏族
clans.invite – 邀请玩家加入氏族
clans.kick – 踢出氏族成员
clans.upgrade – 升级氏族属性
clans.admin – 管理员命令
命令列表
/clan create <tag> – 创建新氏族
/clan invite <player> – 邀请玩家加入你的氏族
/clan join – 加入氏族(如果你已被邀请)
/clan leave – 离开当前氏族
/clan info [tag] – 显示氏族信息
/clan deputy <player> – 指定某位成员为副手
/clan menu – 打开升级与成员管理菜单
/clan delete – 删除氏族
/clan pvp <on/off/toggle> – 编辑氏族的 PvP 状态
配置文件
清晰简单的 YML 格式配置文件。
PlaceholderAPI 占位符
用于显示单个玩家数据:
%clans_user_{kills/deaths/assists/points}%
用于玩家排行榜(第 1 至 100 名):
%clans_users_{1-100}_{kills/deaths/assists/points}%
用于玩家所属氏族的数据:
%clans_clan_{kills/deaths/assists/points}%
用于氏族排行榜(第 1 至 100 名):
%clans_clans_{1-100}_{kills/deaths/assists/points}%
开发者 API
简单、清晰且结构良好——请查看 API 模块。
构建项目
- 克隆代码仓库
- 运行
./gradlew build
- 在
spigot/build/libs/ 中找到生成的 JAR 文件
贡献指南
欢迎贡献!你可以提交 Pull Request,或为 Bug 和功能建议提交 Issue。
我也非常欢迎建设性的批评——如果某些设计不够合理,请告诉我!
许可证
本项目采用 MIT 许可证授权——更多信息请参阅 LICENSE 文件。
Clans
Features
- Clan Management: Create, join, and manage clans with configurable roles (Leader, Deputy, Member).
- Points System: Earn points for killing other players.
- Multiple Database Types: Supports multiple databases (MongoDB, MySQL, FLAT).
- Modular Design: Clean API allowing developers to extend functionality.
Installation
- Download the latest version from the releases page.
- Place the JAR file into your server’s
plugins directory.
- Restart the server.
- Configure the plugin in the
plugins/Clans folder.
Permissions
clans.create – Create clans
clans.invite – Invite players to a clan
clans.kick – Kick members from a clan
clans.upgrade – Upgrade clan properties
clans.admin – Administrative commands
Commands
/clan create <tag> – Create a new clan
/clan invite <player> – Invite a player to your clan
/clan join – Join a clan (if you have been invited)
/clan leave – Leave your current clan
/clan info [tag] – Display clan information
/clan deputy <player> – Assign a deputy to a clan member
/clan menu – Open the upgrade and member management menu
/clan delete – Delete a clan
/clan pvp <on/off/toggle> – Edit the clan PvP status
Configuration
Clear and simple YML configuration.
PlaceholderAPI
For the displayed player:
%clans_user_{kills/deaths/assists/points}%
For the player leaderboard (from 1 to 100):
%clans_users_{1-100}_{kills/deaths/assists/points}%
For the player’s clan:
%clans_clan_{kills/deaths/assists/points}%
For the clan leaderboard (from 1 to 100):
%clans_clans_{1-100}_{kills/deaths/assists/points}%
Developer API
Easy, clean, and well-structured — check out the API module.
Building the Project
- Clone the repository
- Run
./gradlew build
- Find the built JAR file in
spigot/build/libs/
Contributing
Contributions are welcome! You can submit pull requests or open issues for bugs and feature suggestions.
I also appreciate constructive criticism — if something is poorly designed, let me know!
License
This project is licensed under the MIT License — see the LICENSE file for more information.
评论 0
登录后参与评分
还没有评论,来抢沙发吧