DUXPLIMA Documentation

Commands

Every command of every module, with its permission, aliases and what it does, and how to rename them.

Every module brings its own commands, and each command has a permission. Arguments in angle brackets are required, those in round brackets optional. All permissions are for ops until you grant them; see Permissions.

Players

CommandPermissionWhat it does
/stats (player), /statuxmpvpcore.statistic.useYour statistics, or another player's
/top (type) (page), /leaderboarduxmpvpcore.statistic.useA leaderboard. Without a type, the rating leaderboard
/top typesuxmpvpcore.statistic.useThe leaderboard types and their requirements
/top helpuxmpvpcore.statistic.useThe /top commands
/battlelog (page), /bluxmpvpcore.battlelog.useOpens the menu of recent battles
/battlelog view <id or code>uxmpvpcore.battlelog.useOpens one battle
/battlelog share <code>uxmpvpcore.battlelog.usePosts one of your own battles in chat, with a button others click to open it
/battlelog player <player> (page)uxmpvpcore.battlelog.useThe battles of a player
/battlelog recent (page)uxmpvpcore.battlelog.useThe most recent battles
/battlelog stats (player)uxmpvpcore.battlelog.useKills, deaths and damage over the battles in the cache
/combattagsuxmpvpcore.combattag.useA menu of the players in combat
/beginner, /protectionuxmpvpcore.beginnerguard.useHow long your new player protection lasts
/beginner canceluxmpvpcore.beginnerguard.useEnds your protection at once, so you can fight
/killmsgtoggleuxmpvpcore.killmessage.useTurns kill messages off or on for you until you leave
/pvpbroadcasttoggleuxmpvpcore.broadcast.useTurns PvP broadcasts off or on for you until you leave
/event, /event list, /event nextuxmpvpcore.event.useThe scheduled events, and the next one
/ffa, /ffa joinuxmpvpcore.ffa.useJoins the open FFA event. Needs the FFA extension
/ffa leaveuxmpvpcore.ffa.useLeaves the FFA event
/expiredclaims, /eclaimsuxmpvpcore.griefprevention.useClaims waiting to be deleted. Needs the GP Expiration extension

Seeing another player's statistics with /stats <player> also needs uxmpvpcore.statistic.others, and an offline player's uxmpvpcore.statistic.offline.

Staff

CommandPermissionWhat it does
/pvpcore, /pvpcuxmpvpcore.adminLists the subcommands
/pvpcore reload <module>, rluxmpvpcore.adminReads one module's files again
/combattag list, /ct listuxmpvpcore.combattag.adminA menu of the players in combat, where a click removes a tag
/combattag untag <player>uxmpvpcore.combattag.adminRemoves a player's combat tag. Nothing is counted
/beginner give <player> <minutes>uxmpvpcore.beginnerguard.adminGives an online player new player protection, replacing what they had
/adminpvpstats, /apsuxmpvpcore.statistic.adminLists the subcommands
/aps set <player> <stat> <value>uxmpvpcore.statistic.adminSets a statistic
/aps add <player> <stat> <value>uxmpvpcore.statistic.adminAdds to a statistic
/aps remove <player> <stat> <value>uxmpvpcore.statistic.adminSubtracts from a statistic
/aps reset <player> (what)uxmpvpcore.statistic.adminResets one group of statistics, or all of them
/aps view <player>uxmpvpcore.statistic.adminShows every statistic of a player
/resetseasonuxmpvpcore.statistic.adminEnds the season: everyone's rating starts again
/top cache statsuxmpvpcore.statistic.adminHow full the leaderboard cache is
/top cache clear (type)uxmpvpcore.statistic.adminEmpties the leaderboard cache, of one type or all
/top cache warmupuxmpvpcore.statistic.adminFills the leaderboard cache now
/battlelog admin cacheuxmpvpcore.battlelog.adminHow full the battle log cache is
/battlelog admin clearuxmpvpcore.battlelog.adminEmpties the battle log cache
/battlelog admin debuguxmpvpcore.battlelog.adminPrints the battle log cache to the console
/battlelog admin database (page), dbuxmpvpcore.battlelog.adminLists battles read from the database instead of the cache
/headdrop give <player> (receiver), /hduxmpvpcore.headdrop.adminGives an online player's head, to you or to the receiver. A full inventory drops it
/headdrop reloaduxmpvpcore.headdrop.adminReads HeadDropSettings.yml again
/killmsgtest (text)uxmpvpcore.killmessage.adminShows you a sample kill message
/event guiuxmpvpcore.event.adminThe event management menu
/event start <event>uxmpvpcore.event.adminStarts an event now
/event stop (event)uxmpvpcore.event.adminStops an event
/event reload, rluxmpvpcore.event.adminReads EventManager.yml again

The extensions add their own staff commands: FFA, BlockRegen.

pvpcore

/pvpcore reload <module> stops one module and starts it again with its files read anew. Tab completion offers the module names; they are listed on Configuration. If the module cannot start again, the message says why and the console has the details.

/pvpcore reload CombatTag
/pvpcore reload AdvancedStatistic

Only the module you name is reloaded. Changing CombatTagSettings.yml needs CombatTag, and changing BarrierPunishments.yml needs BarrierPunishments, not Barrier. Database.yml needs a restart.

aps

Statistics you can set, add and remove:

StatMeaning
ratingRating
kills, deathsKills and deaths
wins, lossesFights won and lost
streak, beststreakThe current and the best kill streak
dailykills, dailydeathsToday's kills and deaths

reset takes all (the default), rating, kills, deaths, wins, losses, streak, dailystats or combat.

resetseason

/resetseason asks no question: it starts at once.

  1. The top 10 of the rating leaderboard are written to the console.
  2. Every player's statistics are saved to plugins/uxmPVPCore/backups/stats_backup_<date>.json.
  3. Every player's rating goes back to startingRating, and peak rating, lowest rating, rating gained and rating lost are reset.
  4. The leaderboard caches are emptied.

Kills, deaths, streaks and battle logs stay. See Statistics and Rating.

Renaming commands

Each module keeps its commands in a commands.yml: configs/core/commands.yml, configs/combattag/commands.yml, configs/statistic/commands.yml and so on. Every command there has a name, aliases, a permission and a description. Change the name or the aliases to rename a command, or the permission to use a node of your own, then reload the module or restart.

The usage lines and the help list are not in commands.yml but in the module's message file, under commands.

Related: Permissions, Configuration