DUXPLIMA Documentation

Core and Hooks

Core.yml with the shared messages and time formats, and hooks.yml with the plugin hooks and the safe zone cache.

Core.yml

File: configs/Core.yml. Messages shared by every module, and how times and dates are written.

KeyMeaning
reloadSuccessMessageAfter /pvpcore reload. {module}
reloadErrorMessageWhen a reload fails. {module}, {reason}
noPermissionFor any command the sender may not use
playersOnlyWhen the console runs a command only players can use
commandsThe usage lines and help of /pvpcore
timeFormatsSee below

Time formats

Every time and date a player sees, in any module, is written with timeFormats. Translate them here for a server in another language.

KeyDefaultUsed for
timeUnitsd, h, m, sDurations: 2h 5m
justNowjust nowLess than a minute ago
ago{time} agoUp to a week ago: 5m ago
timeFormatHH:mm:ssClock times
dateFormatdd/MMDates
todayAttoday {time}An event later today
tomorrowAttomorrow {time}An event tomorrow
thisWeekAt{day} {time}An event this week
nextAt{day} {month} {time}An event further away
dayNames, monthNamesEnglish names{day} and {month}
timeFormats:
  justNow: "az önce"
  ago: "{time} önce"
  todayAt: "bugün {time}"
  tomorrowAt: "yarın {time}"
  dayNames:
    MONDAY: Pazartesi
    SATURDAY: Cumartesi

hooks.yml

File: plugins/uxmPVPCore/hooks.yml. Which protection plugins uxmPVPCore asks about safe zones, and how long it remembers the answers.

KeyDefaultMeaning
disabledHooksemptyPlugins to ignore even when installed
pvpBlockCacheMinutes5How long "PvP is on here" is remembered for a block
nonPvpBlockCacheMinutes5How long "this is a safe zone" is remembered
pvpBlockCacheSize, nonPvpBlockCacheSize5000How many blocks per world each cache holds

The hook names for disabledHooks, written exactly like this:

NameDoes
WorldGuardRegions with PvP denied are safe zones; adds the combat-tag and beginner-protection flags. FFA needs it
GriefPreventionClaims are safe zones
uxmClaimsClaims are safe zones
floodgateRecognises Bedrock players
disabledHooks:
  - GriefPrevention

Ignoring GriefPrevention here makes claims fighting ground again for the barrier; the claims still protect blocks as usual.

The cache

The barrier asks for every step of a tagged player whether the block ahead is a safe zone. The answers are cached so this costs almost nothing. The price: after you change a region's PvP flag or make a claim, uxmPVPCore can take up to 5 minutes to notice. /pvpcore reload Hook empties the cache at once.

WorldGuard flags

FlagDefaultSet to deny
combat-tagallowPlayers standing in the region are not tagged. See Combat Tag
beginner-protectionnot setBeginner protection does not apply in the region. See Beginner Protection
/rg flag spawn combat-tag deny
/rg flag arena beginner-protection deny

Related: Configuration, Integrations