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.
| Key | Meaning |
|---|---|
reloadSuccessMessage | After /pvpcore reload. {module} |
reloadErrorMessage | When a reload fails. {module}, {reason} |
noPermission | For any command the sender may not use |
playersOnly | When the console runs a command only players can use |
commands | The usage lines and help of /pvpcore |
timeFormats | See 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.
| Key | Default | Used for |
|---|---|---|
timeUnits | d, h, m, s | Durations: 2h 5m |
justNow | just now | Less than a minute ago |
ago | {time} ago | Up to a week ago: 5m ago |
timeFormat | HH:mm:ss | Clock times |
dateFormat | dd/MM | Dates |
todayAt | today {time} | An event later today |
tomorrowAt | tomorrow {time} | An event tomorrow |
thisWeekAt | {day} {time} | An event this week |
nextAt | {day} {month} {time} | An event further away |
dayNames, monthNames | English 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.
| Key | Default | Meaning |
|---|---|---|
disabledHooks | empty | Plugins to ignore even when installed |
pvpBlockCacheMinutes | 5 | How long "PvP is on here" is remembered for a block |
nonPvpBlockCacheMinutes | 5 | How long "this is a safe zone" is remembered |
pvpBlockCacheSize, nonPvpBlockCacheSize | 5000 | How many blocks per world each cache holds |
The hook names for disabledHooks, written exactly like this:
| Name | Does |
|---|---|
WorldGuard | Regions with PvP denied are safe zones; adds the combat-tag and beginner-protection flags. FFA needs it |
GriefPrevention | Claims are safe zones |
uxmClaims | Claims are safe zones |
floodgate | Recognises 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
| Flag | Default | Set to deny |
|---|---|---|
combat-tag | allow | Players standing in the region are not tagged. See Combat Tag |
beginner-protection | not set | Beginner 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
Was this page helpful?