作者:rebot | 分类:模组
Minecraft 版本: 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 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 paper spigot
标签: equipment utility
Paper/Bukit plugin that can block commands, display messages & different scoreboards when players hit each other for a specified time. Simple and lightweight.
Commands, Permissions & Placeholders - `/combat-tag reload` (alias: `/ct`) - reloads the config Command requires the permission `combattag.admin`. **Placeholders:** - `%ct_time_left%` - time left in combat (in seconds) - `%ct_in_combat%` - whether the player is in combat (true/false) _(Yeah... not much; what a simple plugin!)_ Default config ```yaml # All messages use Adventure's MiniMessage: https://docs.advntr.dev/minimessage/format.html # All messages support PlaceholderAPI placeholders # Make any message an empty string "" to disable it # Enable the plugin's features? enabled: true combat-duration: 20.0 # Enabled: if player leaves while in combat, they die and drop their items kill-on-quit: true # Internal placeholder: [otherPlayer] combat-tagged-message: "You are now in combat with [otherPlayer]" in-combat-action-bar: "You are in combat! (%ct_time_left%)" combat-expired-message: "You are no longer in combat" # Enable the command blocker? enable-command-blocker: true command-blocker: blocked-msg: "You can't run this command while in combat!" # Enabled: if command has a colon in (e.g. /plugin:spawn), it will ignore the text before the colon, and only check it as '/spawn' bypass-colons: true # Enabled: each whole word must match (e.g., `/warp spawn` will block `/warp spawn` but not `/warp1` or `/warp spawn1`) match-entire-words: true blocked-cmds: - "/warp spawn" - "/home" - "/tpa" ``` Combat scoreboard [TAB](https://github.com/NEZNAMY/TAB) offers a pretty nifty feature where you can display scoreboards determined by conditions. You can use this in conjunction with the `in_combat` placeholder offered by this plugin to create a scoreboard that is displayed when the player is in combat. Example usage (in TAB's `config.yml`): ```yaml scoreboard: scoreboards: # Combat scoreboard (TAB checks top to bottom) combat: display-condition: "%ct_in_combat%=true" #请登录后举报
暂无评论,抢个沙发吧~