Configuration
Every file uxmPVPCore writes, the modules and what they depend on, and how files are read and reloaded.
uxmPVPCore has one file per module instead of one big config.yml. This page maps them; the feature
pages explain each one.
How files work
| Topic | Behaviour |
|---|---|
| Defaults | Every file is made from the plugin's built-in defaults. A missing file is written again on start |
| Updates | Keys added by a new version are added to your file; your values stay |
| Mistakes | A value the plugin cannot read, such as text where a number belongs, is reported in the console and its default is used |
| Comments | Most keys have a comment above them in the file, with the placeholders they take |
| Text | MiniMessage, such as <red>, <#FF635F>, <bold>, <gradient:#7C5CFF:#38BDF8>. A few older texts also accept & colour codes |
| Reloading | /pvpcore reload <module> reads one module's files again. Database.yml needs a restart |
The files
All paths are inside plugins/uxmPVPCore/.
| File | Module | Page |
|---|---|---|
Database.yml | Database | |
hooks.yml | Hook | Core and Hooks |
configs/Core.yml | Core | Core and Hooks |
configs/core/commands.yml | Core | Commands |
configs/core/EventManager.yml | EventManager | Event Manager |
configs/combattag/CombatTagSettings.yml | CombatTag | Combat Tag |
configs/utils/Glow.yml | Glow | Combat Tag |
configs/combattag/TeleportPrevent.yml | TeleportPrevent | Combat Restrictions |
configs/combattag/FlyPrevent.yml | FlyPrevent | Combat Restrictions |
configs/combattag/CommandPrevent.yml | CommandPrevent | Combat Restrictions |
configs/combattag/ItemPrevent.yml | ItemPrevent | Combat Restrictions |
configs/combattag/BuildPrevent.yml | BuildPrevent | Combat Restrictions |
configs/combattag/CombatLogConfig.yml | CombatLog | Combat Logging |
configs/combattag/ThiefPrevent.yml | ThiefPrevent | Combat Logging |
configs/combattag/BarrierSettings.yml | Barrier | Barrier |
configs/combattag/BarrierPunishments.yml | BarrierPunishments | Barrier |
configs/BeginnerGuard.yml | BeginnerGuard | Beginner Protection |
configs/ItemCooldowns.yml | ItemCooldown | Item Cooldowns |
configs/statistic/StatisticSettings.yml | Statistic | Statistics and Rating |
configs/statistic/AdvancedStatistic.yml | AdvancedStatistic | Statistics and Rating, Leaderboards |
configs/TeamIntegration.yml | TeamIntegration | Statistics and Rating |
configs/statistic/BattleLogs.yml | BattleLogs | Battle Logs |
configs/headdrop/HeadDropSettings.yml | HeadDrop | Head Drops |
configs/KillMessageSettings.yml | KillMessage | Kill Messages |
configs/utils/Broadcast.yml | Broadcast | Kill Messages |
configs/extensions/FFA.yml, ffa-commands.yml | FFA | FFA |
configs/extensions/BlockRegen.yml, blockregen-commands.yml | BlockRegen | BlockRegen |
configs/extensions/BlockLocker.yml | BlockLockerPlugin | BlockLocker |
configs/extensions/GriefPrevention.yml | GPExpiration | GP Expiration |
menus/battlelog/*.yml | BattleLogs | Battle Logs |
menus/combattag/combat_tags.yml | CombatTag | Combat Tag |
menus/claims/expired_claims.yml | GPExpiration | GP Expiration |
Each module with commands also has a commands.yml in configs/<module>/, such as
configs/combattag/commands.yml or configs/battlelog/commands.yml.
Modules
Most modules can be turned off with enabled: false in their file. Some modules need others: when a
needed module is off, the one that needs it does not start either.
| Module | Needs |
|---|---|
| Core, Hook, Sound, Bossbar, Actionbar, Glow, Broadcast | Nothing. Leave them on |
| CombatTag | Nothing |
| TeleportPrevent, FlyPrevent, CommandPrevent, ItemPrevent, BuildPrevent, ThiefPrevent | CombatTag |
| CombatLog | CombatTag, Hook, Broadcast |
| Barrier | CombatTag, Sound, Hook |
| BarrierPunishments | Barrier |
| BeginnerGuard | Hook, Core |
| Statistic | Nothing |
| AdvancedStatistic | Statistic, Broadcast |
| BattleLogs | Nothing |
| HeadDrop, KillMessage | CombatTag, BattleLogs |
| ItemCooldown, TeamIntegration, EventManager | Nothing |
| FFA | Hook, EventManager, and WorldGuard installed |
Turning off Broadcast also turns off CombatLog and AdvancedStatistic, and turning off BattleLogs turns off head drops and kill messages.
Related: Basic Concepts
Was this page helpful?