作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2
平台: bukkit folia paper purpur spigot
标签: equipment game-mechanics
CelestCombat Pro is a highly optimized, feature-rich, and enterprise-grade combat management plugin for Minecraft servers specializing in PvP environments. Fully compatible with Paper, Purpur, and Folia, it provides comprehensive combat logging prevention, forcefields, anti-glitch systems, newbie protections, and kill rewards without sacrificing server performance.




RED_STAINED_GLASS).BLUE_STAINED_GLASS)..jar file in your server's plugins folder.plugins/CelestCombat/config.yml and language files in plugins/CelestCombat/language/./cc reload.| Command | Aliases | Permission | Description |
|---|---|---|---|
/cc help |
/combat, /celestcombat |
celestcombat.command.use |
Displays command help menu |
/cc reload |
/combat, /celestcombat |
celestcombat.command.use |
Reloads configs, messages, and dynamic event priorities |
/cc tag <player1> [player2] |
/combat, /celestcombat |
celestcombat.command.use |
Manually tags player(s) in combat |
/cc removetag <player/world/all> |
/combat, /celestcombat |
celestcombat.command.use |
Instantly removes combat tag(s) |
| Permission | Default | Description |
|---|---|---|
celestcombat.command.use |
OP | Access to all plugin commands |
celestcombat.update.notify |
OP | Receive update notifications on login |
celestcombat.bypass.tag |
false | Completely bypasses combat tagging |
Below is a breakdown of key sections in the config.yml to help you customize the plugin.
If another plugin overrides command blocking or damage handling, adjust the listener priority:
event_priorities:
command_blocking: "LOW" # Options: LOWEST, LOW, NORMAL, HIGH, HIGHEST, MONITOR
combat_damage: "HIGH"
teleportation: "HIGH"
Set up what happens when a player logs out during a PvP engagement:
combat:
duration: 20s
combat_logout:
enabled: true
kill_player: true
reward_attacker: true
punishment_commands:
- "broadcast &c%player% &7logged out during combat!"
attacker_reward_commands:
- "broadcast &a%player% &7killed &c%victim% &7(Combat Logout)"
Adjust the forcefield visual and push back power:
safezone_protection:
enabled: true
barrier_material: "RED_STAINED_GLASS"
barrier_detection_radius: 5
push_back_force: 0.6
CelestCombat Pro provides a robust API for external plugins to integrate with its combat systems.
Ensure you import com.shyamstudio.celestCombatPro.api.CelestCombatAPI and hook into it:
import com.shyamstudio.celestCombatPro.api.CelestCombatAPI;
import com.shyamstudio.celestCombatPro.api.CombatAPI;
import org.bukkit.entity.Player;
public class MyPluginIntegration {
public void checkPlayerCombat(Player player) {
CombatAPI api = CelestCombatAPI.getCombatAPI();
if (api != null && api.isInCombat(player)) {
player.sendMessage("You are currently in combat!");
// Get the remaining combat time
int secondsLeft = api.getRemainingCombatTime(player);
// Get their current opponent
Player opponent = api.getCombatOpponent(player);
}
}
}
To build CelestCombat Pro locally:
git clone https://github.com/ShyamStudios/CelestCombat-Pro.git
cd CelestCombat-Pro
./gradlew build
The compiled JAR will be saved in build/libs/.
This project is licensed under the CC BY-NC-SA 4.0 License - see the https://github.com/ShyamStudios/CelestCombat-Pro/blob/main/LICENSE file for details.
请登录后举报
暂无评论,抢个沙发吧~