Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_oNVUQ7af.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
HubCombat - 墨喵 Minecraft 资源
HubCombat 图标

HubCombat

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2.2-SNAPSHOT
本资源为搬运资源,原资源地址: https://modrinth.com/mod/hubcombat
资源信息

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

平台: paper

标签: equipment utility

资源介绍

⚔️ Hub Combat

A simple yet sexy plugin to spice up your lobby with weapons and PvP!


💡 Why Hub Combat?

✅ Easy to use
✅ Per group (permission based) inventory given
✅ Any item with any slot, item flag or enchantment can be used!
✅ Free & open source
✅ Optimized for performance
✅ Packed with features

💬 It's the first hub PvP plugin with native PlaceholderAPI support!
💡 Got ideas? Suggest them on Discord or GitHub, and we might just add them in the next release!


✨ Features

  • 🔧 Fully customizable item name & lore using MiniMessage and PlaceholderAPI.
  • 🏷️ Built-in placeholders: time left, kills, deaths, hits.
  • 🚀 Lightweight and performance-focused.

🔐 Commands & Placeholders

  • /hubcombat reload – Reload config and player stats. Requires hubcombat.admin permission.

📌 Placeholders:

  • %hubcombat_kills%
  • %hubcombat_deaths%
  • %hubcombat_hits%
  • %hubcombat_kdr%
  • %hubcombat_time_left%
  • %hubcombat_is_in_combat% (returns "true" or "false")

⚙️ Installation & Usage

  1. 📥 Drop the .jar into your /plugins folder.
  2. 🔁 Restart the server.
  3. ✅ H2 database is used by default — no setup required.
    • You can switch to MySQL for multi-lobby support.
  4. 🗣️ Customize all messages via lang.yml.

🛡️ On join, players receive the weapon. PvP is enabled only if the weapon is equipped for the configured amount of time.
👊 Entities or players without the weapon can't deal damage — total control over hub PvP!


Config:

# Available drivers: h2, mysql
# If you are using h2, you don't need to specify the host, port, db-name,
# username and password due to h2 is local database.
database:
  driver: h2
  host: 101.101.101.101
  port: 3306
  db-name: hubcombat
  username: userNaMeForHubCombat
  password: passw0rD

timing:
  give-weapon: 5
  remove-weapon: 5

# All the items from plugin
# U can add as many loadouts as u want! Also, u can add as many items
# as u want in the loadouts, just copy and paste the "template" for items
loadouts:
  default:
    permission: hubcombat.loadout.default
    items:
      - slot: 4
        material: DIAMOND_SWORD
        name: "<gray>Default Sword"
        lore:
          - "<white>Basic starter sword"
        enchantments:
          DAMAGE_ALL: 3
          DURABILITY: 2
        flags:
          - HIDE_ENCHANTS
          - HIDE_ATTRIBUTES

  vip:
    permission: hubcombat.loadout.vip
    items:
      - slot: 4
        material: NETHERITE_SWORD
        name: "<green>VIP Sword"
        lore:
          - "<gold>Only for VIPs"
        enchantments:
          DAMAGE_ALL: 5
          KNOCKBACK: 2

🛣️ Roadmap

  • 🗡️ Add multiple weapons via permissions. -> ADDED
  • 🛡️ Add multiple armors via permissions. -> ADDED
  • 🧩 More placeholders — suggest yours!

[Partnement](https://tect.host/)! 10% OFF

Tect.host

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Ziptastic

价格:0 墨喵币
下载量:0

查看详情
Amnesia's Extractors

价格:0 墨喵币
下载量:0

查看详情
No Hud

价格:0 墨喵币
下载量:0

查看详情
Skins 3D

价格:0 墨喵币
下载量:0

查看详情