Add map templates, multi-config system, &#rrggbb colors
- MapTemplate: Save/load structures via Bukkit Structure API (.nbt files) - TemplateManager: Manage templates and presets - MapBuilder: Build/clear map with generators, hooks, pallets, etc. - SetupCommand: /dbdsetup wand/save/load/set/build for map editing - MessagesConfig: All messages with &#rrggbb color support via MiniMessage - SkillCheckConfig: Skill check colors, zones, rotation settings - Update GameConfig with color codes - ConfigManager: Load/save all 4 config files - Update plugin.yml with dbdsetup command - Add methods to Generator for template integration
This commit is contained in:
parent
362b791774
commit
2a2b9f4b5b
10 changed files with 951 additions and 1 deletions
|
|
@ -25,12 +25,21 @@ public class GameConfig {
|
|||
setDefault("generators.kick-regression-rate", 2.5);
|
||||
setDefault("generators.kick-duration-seconds", 30);
|
||||
|
||||
// Skill check settings
|
||||
// Skill check settings (legacy - moved to skillcheck.yml)
|
||||
setDefault("skillcheck.zone-size", 0.15);
|
||||
setDefault("skillcheck.rotation-speed", 3.0);
|
||||
setDefault("skillcheck.success-bonus", 5.0);
|
||||
setDefault("skillcheck.fail-penalty", 10.0);
|
||||
|
||||
// Colors for UI (&#rrggbb format support)
|
||||
setDefault("colors.progress-bar-complete", "�FF00");
|
||||
setDefault("colors.progress-bar-incomplete", "&#FF0000");
|
||||
setDefault("colors.progress-bar-background", "񑘕");
|
||||
setDefault("colors.hp-healthy", "�FF00");
|
||||
setDefault("colors.hp-injured", "&#FFA500");
|
||||
setDefault("colors.hp-downed", "&#FF0000");
|
||||
setDefault("colors.hp-dead", "B0000");
|
||||
|
||||
// Hook settings
|
||||
setDefault("hooks.stage1-seconds", 60);
|
||||
setDefault("hooks.stage2-seconds", 60);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue