Content generated with AI — it may contain mistakes.

Reference

Commands

Player commands, /combatadmin and its admin panel, and the menu actions the plugin registers.

Every name can be changed: commands.combat-time and commands.admin in config.yml, and each module's command-labels (or stats-command and top-command). The first name is the command, the rest aliases; an empty list registers no command. Renaming needs a restart. A module that is off registers none of its commands.

Player commands

CommandModulePermissionWhat it does
/combat, /ctcorenoneHow long the tag still lasts, and the opponent.
/pvp, /togglepvppvp-toggleexyliacombat.pvptoggle, or permission of the module when setSwitches PvP. Also /pvp on, off, toggle and status.
/newbie, /protectionnewbie-protectionnoneThe protection left. /newbie disable drops it after a confirmation.
/pvpstats [player]statsexyliacombat.statsThe stats screen of a player, or in chat. Works from the console with a name.
/combattop [stat] [page], /pvptopstatsexyliacombat.topA leaderboard. Stats kills, deaths, kdr, streak, beststreak, points (default). Works from the console.

The three player nodes are everyone's by default; see Permissions. See Protection and Stats.

Admin commands

All under /combatadmin. Every one but the panel also runs from the console.

CommandPermissionWhat it does
/combatadminexyliacombat.adminOpens the admin panel. Players only.
/combatadmin reloadexyliacombat.adminReads config.yml, every module's settings and text, the safe-zone sources and the admin menus again, and switches provider if combat.provider changed. Module switches and command names need a restart.
/combatadmin settag <seconds> <player>exyliacombat.admin.tagSets the player's tag to exactly that long (at least 0.1, decimals allowed). Refused under an external provider.
/combatadmin untag <player>exyliacombat.admin.tagEnds the player's tag.
/combatadmin cooldown set <player> <id|ALL> <seconds>exyliacombat.admin.cooldownSets an item cooldown, 0 to 86400 seconds. Needs vanilla-cooldowns.
/combatadmin cooldown add <player> <id|ALL> <seconds>exyliacombat.admin.cooldownAdds to it.
/combatadmin cooldown decrease <player> <id|ALL> <seconds>exyliacombat.admin.cooldownTakes from it.
/combatadmin cooldown remove <player> [id]exyliacombat.admin.cooldownClears one cooldown, or all of them.
/combatadmin pvp <player> <on|off>exyliacombat.admin.pvpSets a player's PvP switch. Needs pvp-toggle.
/combatadmin pvp global <on|off>exyliacombat.admin.pvpSwitches PvP for the whole server and tells every player. Saved as global-pvp. Needs pvp-toggle.
/combatadmin newbie give <player> [time]exyliacombat.admin.newbieGives newbie protection, for time (30m, 1h30m, 2d) or the module's duration. Needs newbie-protection.
/combatadmin newbie remove <player>exyliacombat.admin.newbieTakes it away.
The players these commands take must be online.

There is no reset command of the plugin's own. ExyliaLib resets a player's ExyliaCombat data with /exylialib resetplayer <player> ExyliaCombat, and empties its tables with /exylialib wipe ExyliaCombat <table|*>; both tables are player progress, so a new-season wipe clears them too. See ExyliaLib's commands.

The admin panel

/combatadmin opens a list of every online player with their combat state. Its SETTINGS button (a comparator at the bottom centre) opens ExyliaLib's settings screens, where every key of config.yml and of each module's config.yml can be changed in game (/exylialib config ExyliaCombat opens the same screens); messages and menus stay in their files. The back button returns to the list. A click on a player opens that player:

CardClickWhat it does
Combat tagleft, rightAsks how long to tag them for (prefilled with what is left), or untags them.
CooldownsclickOpens their item cooldowns: left set, right add, shift-left decrease, shift-right remove, and a REMOVE ALL button after a confirmation.
Newbie protectionleft, rightAsks how long to protect them for (prefilled with duration), or removes it.
PvPclickSwitches their PvP.
StatsclickOpens ExyliaLib's player reset for ExyliaCombat: their stats, PvP switch, newbie protection and pending combat log are deleted after a confirmation, and they are kicked while it runs. Needs exyliacombat.admin and exylialib.admin.wipe.

Cards of modules that are off are not drawn, and the rest re-centre. Every value on screen keeps itself up to date while the panel is open. Each button checks the same permission as its command. The panel's files under lang/<language>/admin/ are regenerated from the jar on every start.

For a server's own menus and NPCs:

ActionWhat it does
exyliacombat:leaderboard <stat>Opens the leaderboard screen of that stat.
exyliacombat:statsOpens the clicker's stats screen, or, on a leaderboard row, that player's.
exyliacombat:admin_playersOpens the admin panel. Needs exyliacombat.admin.
exyliacombat:admin_settingsOpens the settings screens. Needs exyliacombat.admin.

Something missing on this page? Tell us on Discord