FFACore
奔跑、战斗、死亡、重来——每一次击杀都算数。FFACore 惩罚战斗挂机者,掉落红色的击杀令牌,庆祝击杀连胜并给玩家排名。一个 Jar 包,零依赖。
FFACore 是专为 自由对战 (FFA) PvP 服务器 打造的轻量级核心。它围绕 FFA 服务器需要具备的四个要素构建:无人能逃避战斗、击杀留下痕迹、连胜获得播报,以及 顶尖玩家赢得荣耀。
? 截图
- Banner — FFACore 横幅
- 战斗挂机系统 — 战斗标记 HUD、离线惩罚和连胜广播
- 击杀令牌 — 红色下界之星击杀令牌掉落、名称标签和拾取
- 统计与排行榜 —
/stats 和 /top 的实际效果
:zap: 功能
:stopwatch: 战斗挂机检测 — 无人能逃脱
- 一旦战斗开始,你就会被 标记 — 动作栏中会显示一个红色的倒计时
- 在标记状态下退出游戏会导致你 死亡:你的物品会在原地掉落
- 击杀者依然获得击杀奖励 — 包括令牌、连胜等
- 战斗中禁止飞行;随时可通过
/combatlog 检查状态
:star2: 击杀令牌 — 每次击杀的证明
- 每次 PvP 击杀都会掉落一个 红色下界之星:“击杀令牌”
- 它们是 实体物品 — 收集它们、囤积它们、交易它们、炫耀它们
/tokens 显示你的余额;管理员可以增加或扣除任意数量
:fire: 击杀连胜 — 大声宣告
- 连续击杀会累积连胜;达到 5、10、20、30 等里程碑时,会向全服广播
- 每个里程碑都可以通过控制台命令 奖励真实物品 — 钻石、药水效果、称号,由你决定
- 你的 最佳连胜记录会被永久保存;死亡会重置当前连胜
:chart_with_upwards_trend: 统计与排行榜 — 永恒的荣耀
- 击杀数、死亡数、K/D、当前及最佳击杀连胜、获得的令牌数 — 全部保存在
stats.yml 中
/stats [player] 查看任何玩家的记录
/top kills | deaths | tokens | streak 对服务器进行排名
:shield: 出生点保护 — 防止蹲守
- 新生成的玩家会受到护盾保护,避免被立即击杀
- 受保护的玩家 既不能受到伤害也不能造成伤害(均可切换开关),配有倒计时 HUD
? 快速开始
- 将
FFACore.jar 放入 plugins/ 目录
- 重启服务器
- 完成 — 合理的默认设置,开箱即用
在 plugins/FFACore/config.yaml 中调整所有配置,并通过 /ffa reload 实时应用更改。
? 命令
| 命令 |
作用 |
/ffa status |
查看所有系统的实时状态 |
/ffa reload |
无需重启即可应用配置 |
/combatlog (/cl) |
我是否处于战斗状态? |
/tokens |
你的击杀令牌余额 |
/tokens give <player> <amount> |
给予令牌(管理员) |
/tokens take <player> <amount> |
扣除令牌(管理员) |
/stats [player] |
查看你(或任何人)的记录 |
| `/top kills |
deaths |
⚙️ 配置
| 部分 |
关键选项 |
默认值 |
combat-tag |
duration-seconds, block-fly |
15, true |
kill-tokens |
amount, name, lore |
1, 红色 "Kill Token" |
kill-streaks |
announce-at, rewards (控制台命令) |
5/10/20/30 |
stats |
top-size |
10 |
spawn-protection |
duration-seconds, prevent-* |
10, true |
messages |
所有 HUD 和聊天消息 |
预格式化文本 |
颜色代码(&c, &6 等)适用于所有地方 — 消息、HUD、物品名称。
? 支持
- ? 发现 Bug 或有功能建议?请在 GitHub 上提交 Issue
- ? 有问题?加入 Discord 服务器
? 更新日志
v1.0.0
- 战斗挂机系统:标记 HUD、离线即死、攻击者击杀确认、禁止飞行
- 击杀令牌:红色下界之星掉落、
/tokens 余额查询 + 管理员给予/扣除
- 击杀连胜:全服广播 + 每个里程碑的控制台命令奖励
- 永久统计:击杀、死亡、K/D、最佳连胜、令牌 +
/stats + /top
- 出生点保护(含伤害规则和倒计时)
/ffa 状态与重载,完全可配置的 config.yaml
?️ 从源码构建
需要 JDK 21+ 及随附的 Gradle Wrapper:
./gradlew build → build/libs/FFACore.jar
? 许可证
MIT — 可免费使用、修改和分享,只需保留许可证声明即可。
FFACore
Run, fight, die, repeat — and every kill counts. FFACore punishes combat loggers, drops red Kill Tokens, celebrates
kill streaks and ranks your players. One jar, zero dependencies.
FFACore is the lightweight core for Free-For-All (FFA) PvP servers. It's built around the four things an FFA server
needs to feel alive: no one escapes a fight, kills leave proof behind, streaks get loud, and the best
players get bragging rights.
? Screenshots
- Banner — the FFACore banner
- Combat log system — the combat-tag HUD, logout punishment and streak broadcast
- Kill tokens — the red Nether Star Kill Token drop, name tag and pickup
- Stats & leaderboards —
/stats and /top in action
:zap: Features
:stopwatch: Combat log — nobody escapes
- The moment a fight starts, you're tagged — a red countdown burns in your action bar
- Log out while tagged and you die: your items drop where you stood
- Your killer still gets the kill — token, streak and all
- Flight is blocked mid-combat; check yourself anytime with
/combatlog
:star2: Kill tokens — proof of every kill
- Every PvP kill drops a red Nether Star: "Kill Token"
- They're physical items — collect them, hoard them, trade them, flex them
/tokens shows your balance; admins can give or take any amount
:fire: Kill streaks — get loud
- Consecutive kills build a streak; milestones like 5, 10, 20, 30 get broadcast server-wide
- Each milestone can reward real items via console commands — diamonds, effects, titles, you decide
- Your best streak is saved forever; death resets the current one
:chart_with_upwards_trend: Stats & leaderboards — permanent bragging rights
- Kills, deaths, K/D, current & best killstreak, tokens earned — all saved in
stats.yml
/stats [player] for anyone's record
/top kills | deaths | tokens | streak ranks the server
:shield: Spawn protection — no spawn camping
- Fresh respawns get a shield so they're not instantly farmed
- Protected players can't take damage and can't deal it (both togglable), with a countdown HUD
? Quick Start
- Drop
FFACore.jar into plugins/
- Restart the server
- That's it — sensible defaults, fully working out of the box
Tune everything in plugins/FFACore/config.yaml and apply live with /ffa reload.
? Commands
| Command |
What it does |
/ffa status |
Live status of every system |
/ffa reload |
Apply config without restart |
/combatlog (/cl) |
Am I in combat? |
/tokens |
Your Kill Token balance |
/tokens give <player> <amount> |
Give tokens (admin) |
/tokens take <player> <amount> |
Take tokens (admin) |
/stats [player] |
Your (or anyone's) record |
| `/top kills |
deaths |
⚙️ Configuration
| Section |
Key highlights |
Default |
combat-tag |
duration-seconds, block-fly |
15, true |
kill-tokens |
amount, name, lore |
1, red "Kill Token" |
kill-streaks |
announce-at, rewards (console cmds) |
5/10/20/30 |
stats |
top-size |
10 |
spawn-protection |
duration-seconds, prevent-* |
10, true |
messages |
every HUD and chat message |
pre-formatted |
Color codes (&c, &6, …) work everywhere — messages, HUD, item names.
? Support
- ? Bugs or feature ideas? Open an issue on GitHub
- ? Questions? Join the Discord server
? Changelog
v1.0.0
- Combat log system: tag HUD, kill-on-logout, attacker kill credit, fly block
- Kill Tokens: red Nether Star drops,
/tokens balance + admin give/take
- Kill streaks: server broadcasts + console-command rewards per milestone
- Permanent stats: kills, deaths, K/D, best streak, tokens +
/stats + /top
- Spawn protection with damage rules and countdown
/ffa status & reload, fully configurable config.yaml
?️ Build from source
JDK 21+ and the included Gradle wrapper:
./gradlew build → build/libs/FFACore.jar
? License
MIT — free to use, modify and share, just keep the license notice.
评论 0
登录后参与评分
还没有评论,来抢沙发吧