Combat Toggle: FAQ & Troubleshooting
On this page (7)
Installation & connecting
Why did a 1.20.1 client get disconnected with a mod/channel mismatch message?
On 1.20.1 Forge, Combat Toggle uses a strict network protocol (v4) and must be installed on both the server and every client at matching 2.0.0 versions. Update both sides to 2.0.0.
Can vanilla clients join without installing the mod?
- On 1.19.2 Forge: Yes. Install the mod on the server; vanilla clients pass the handshake, can use
/ct,/combat,/peace, and/combattoggle status, and see action-bar tag timers. - On 1.20.1 Forge: No. Both client and server require the mod.
Does Combat Toggle work in single-player? Yes, on both versions. You can test the toggle, HUD, timers, commands (with cheats enabled), and PvP enforcement against owned entities or with LAN/local testing.
Toggling & cooldowns
Why can’t I switch back to Peace mode after hitting someone?
You have either an active combat tag (default 30 seconds) or an active cooldown (default 10 minutes from PvP). Run /combattoggle status to see which restriction is blocking you and how much time remains.
Why doesn’t the CD: timer show under my badge while I’m in Peace mode on 1.20.1?
Under the default cooldownScope = PEACE_ONLY, your cooldown only blocks Combat → Peace and never blocks entering Combat. On 1.20.1, the HUD only shows a cooldown when it actually restricts your next toggle. If you want to see the raw timer anyway, set showInformationalCooldown = true in config/combattoggle-client.toml.
I pressed V while typing in chat or looking in a chest and it didn’t toggle (or did it?).
Key presses made while a GUI screen is open are ignored. On 1.20.1 2.0.0, buffered clicks made inside a screen are explicitly drained so closing the screen never triggers a delayed toggle.
I have both forceCombatWhileTagged = true and allowToggleWhileTagged = true, why can’t tagged players go to Peace?
forceCombatWhileTagged always takes precedence over allowToggleWhileTagged (for both players and non-bypassing admins). To let tagged players switch to Peace, set forceCombatWhileTagged = false and allowToggleWhileTagged = true.
Why didn’t my cooldown or tag count down while the server was turned off?
All persisted timers run on overworld game ticks (20 ticks/second). When the server is stopped, world game time stops advancing. (And on 1.19.2 with the default combatLogAction = FREEZE_TAG, your combat tag also pauses whenever you log out even while the server stays running.)
My tag expired, why didn’t my mode switch back to Peace?
- On 1.20.1,
restoreModeAfterTagistrueby default, only restores if you were force-flipped into Combat (forceCombatWhileTagged), and cancels the restore if you or an admin deliberately changed your mode while tagged (or if/combattoggle untagwas used, or another mod cancelledTAG_EXPIRED_RESTORE). - On 1.19.2,
revertModeOnTagExpirydefaults tofalse— set it totruein[cheese]if you want tags to auto-revert on expiry.
Combat rules & protection
Why did someone hit me in Peace mode?
Check these settings in <world>/serverconfig/combattoggle-server.toml:
requireBothCombatEnabled: If set tofalse, Combat attackers can hit Peace players freely. Set it totrueif Peace mode must be protective.- 1.19.2
combatregions /enabledDimensions: You may be standing inside a/combattoggle regionwith rulecombat, or in a dimension excluded byenabledDimensions. - 1.20.1 unattributable sources: Vanilla snow golems (
SnowGolemdoes not implementOwnableEntity), area-effect clouds, lingering potions, and environmental traps (lava, cactus, suffocation) cannot be traced back to a player on 1.20.1. - Bypassing mods: Damage from another mod that uses custom mixins bypassing both
LivingAttackEventandLivingHurtEventcannot be intercepted.
Why didn’t hitting someone with a shield block start a combat tag?
- On 1.20.1, a “PvP interaction” is defined as positive damage surviving
LivingHurtEventatLOWESTpriority, so a 0-damage shield-blocked hit does not tag. - On 1.19.2,
tagOnAttemptedHitistrueby default, so attempted allowed attacks tag even through shields.
How does /combattoggle set <player> peace true behave when someone is tagged?
On 1.20.1, bypass=true clears the player’s combat tag atomically alongside setting Peace so the next hit, respawn, or login does not force them right back into Combat (assuming allowAdminBypassCooldown = true for any cooldown). On 1.19.2, bypass=true skips both the cooldown gate (if allowAdminBypassCooldown = true) and the tag guard (if allowAdminBypassTag = true).
HUD & nameplates
Why isn’t my nameplate changing colour or showing ⚔ / ☕?
- Check
useScoreboardTeams = trueincombattoggle-server.toml. - On 1.20.1, if you belong to another mod’s scoreboard team (FTB Teams, factions, minigames), the default
teamConflictPolicy = PRESERVE_EXISTINGleaves that team untouched and skips Combat Toggle’s nameplate. - On 1.20.1, if a manual or external team named
ct_combat/ct_peacealready existed before Combat Toggle created it, Combat Toggle disables nameplate teams until you rename them in config and run/combattoggle resync. - Ensure
combatEmoji/peaceEmojiuse BMP Unicode characters (U+0000–U+FFFF) only — modern supplementary emoji render as garbled boxes/tofu in Minecraft’s font.
I moved my HUD badge off-screen in the config.
- On 1.20.1,
CombatHudOverlayautomatically clamps both the badge and timer text inside the screen bounds, so it cannot leave the screen. - On 1.19.2, open Mods → Combat Toggle → Config and click Reset position (or drag the preview back into view).
1.19.2 regions & anti-cheese
Why can’t I use /home, /tp, ender pearls, or Nether portals?
On 1.19.2, while you have an active combat tag, [cheese] escape restrictions block configured commands (taggedBlockedCommands), ender pearls/chorus fruit (taggedBlockEnderTeleport), and dimension portals (taggedBlockPortals) until the tag expires.
I logged out while tagged on 1.19.2 and lost my items or saw a zombie with my name!
The server has combatLogAction set to KILL (kills on combat-log) or KEEP_BODY (spawns a lootable stand-in zombie for the remaining tag duration). If no one killed your stand-in body before it expired or before you logged back in, your items are returned automatically on login.
Existing worlds & upgrading
What happens when upgrading from Combat Toggle 1.x / 1.2.x to 2.0.0?
Player capability data migrates automatically from schema v1 to v2: modes and running combat tags are preserved, and legacy 0-tick timestamps migrate to the explicit “never” sentinel (fixing the old phantom cooldown on young worlds). Note that network protocols bumped (v4 on 1.20.1; v2 on 1.19.2), so update server and modded clients together.
Bug-report checklist
When opening an issue at github.com/otectus/combat-toggle/issues, please include:
- Versions: Minecraft version (
1.20.1or1.19.2), Forge version, and Combat Toggle version. - Diagnostic dump:
- 1.20.1: Output of
/combattoggle debug <player>. - 1.19.2: Output of
/combattoggle get <player>and/combattoggle list.
- 1.20.1: Output of
- Config files:
<world>/serverconfig/combattoggle-server.toml(andconfig/combattoggle-client.tomlfor HUD issues). - Logs & reproduction:
logs/latest.log/logs/debug.logand minimal steps to reproduce.