Configuration
Everything is commented in config.yml. The main options:
| Setting | Default | What it does |
|---|---|---|
storage.type | sqlite | sqlite or mysql. Settings for MySQL are under storage.mysql (host, port, database, user, password, use-ssl, table-prefix). |
| theme.primary / accent / muted | #7c5cff / #ff66cc / #9aa0b4 | Colors for the <primary>, <accent> and <muted> tags in lang.yml. |
| theme.mcstyles.primary / accent / muted | (blank) | mcStyles placeholders that return a hex color. Override the colors above when mcStyles and PlaceholderAPI are installed. |
economy.default-currency | vault | Currency used when a cosmetic does not set one. |
| economy.currencies.vault.format / hypercredits.format | <gold>$<amount></gold> / <aqua><amount> credits</aqua> | How prices are shown (MiniMessage). |
rarities.<id> | common, uncommon, rare, epic, legendary | Each has name, color, order and weight (random-pick chance). |
limits.<category> | 1 | How many cosmetics of a category can be worn. 0 turns the category off. |
limits.replace-oldest | true | Equipping into a full category swaps out the oldest one instead of refusing. |
preview.duration-seconds | 10 | Length of a live preview. |
preview.stage | true | Preview on a private stage (camera and a character that looks like you). false = preview on yourself. |
preview.camera-distance | 3.8 | Blocks between the camera and the character. |
preview.spin-degrees-per-second | 120 | How fast the character turns. |
resource-pack.visuals | auto | auto = custom menu art only for players who loaded the pack mcCosmetics sent, on = always, off = never. |
| resource-pack.self-host.enabled / port / public-address | false / 8163 / (blank) | Serve the pack from this server. public-address is your IP or domain as players see it. |
| resource-pack.url / sha1 | (blank) | Your own link to mcCosmetics-pack.zip and its 40-character sha1. |
| resource-pack.send-on-join / required / prompt | true / false / text | Send the pack on join, make it required, and the text shown in the download prompt. |
preview.cooldown-seconds | 3 | Wait between previews. |
preview.close-gui | true | Close the menu when a preview starts. |
preview.show-bossbar | true | Countdown bar during a preview. |
rentals.check-interval-seconds | 30 | How often expired rentals are removed. |
rentals.admin-default-duration | 7d | Rental length for shift + left-click in the admin menu. |
loadouts.max | 5 | Saved loadouts per player (1-7 in the menu). |
gui.filler | BLACK_STAINED_GLASS_PANE | Filler item in menus. AIR for none. |
| gui.click-sound / purchase-sound | ui.button.click / entity.player.levelup | Sounds. Blank to turn off. |
gui.confirm-purchases | true | Ask before charging. |
| effects.kill-enabled / join-enabled | true | Turn kill or join effects off for everyone. |
effects.kill-on-mobs | false | Also play the kill effect when a player kills a mob. |
effects.join-delay-ticks | 20 | Wait after joining before the join effect plays. |
pets.silent | true | Mob pets make no sound. |
pets.follow-smoothing | 0.3 | Display pets: 0.1 is lazy and floaty, 0.6 is tight. |
performance.update-interval-ticks | 2 | How often particles, hats, wings and pets update (1-10). |
performance.view-distance | 48 | Blocks. Farther players see no cosmetics. |
performance.max-entities | 300 | Server-wide cap on hats, wings, backpacks and pets. |
performance.max-concurrent-effects | 24 | Effects playing at the same moment. |
performance.show-own-particles | true | false hides your own particles from yourself. |
performance.reduced-factor | 0.35 | Share of particles drawn in reduced-particle mode. |
| hide.spectator / vanish / invisible | true | Hide cosmetics in spectator, while vanished, while invisible. |
| disabled-worlds | [] | Worlds with no cosmetics. |
| hooks.worldguard / placeholderapi | true | Register the region flag and the placeholders. |
| updates.enabled / check-on-startup / check-interval-hours | true / true / 24 | BuiltByBit update checker. |
updates.auto-download | false | Also stage the new jar in plugins/update/ (needs resource-id). |
updates.notify | true | Tell the console and players with mccosmetics.admin.updates. |
updates.resource-id | 0 | The BuiltByBit resource id, needed for auto-download. |