Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCosmetics MythicCosmetics
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 64
    • Issues 64
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCosmeticsMythicCosmetics
  • Wiki
  • Configuration

Configuration · Changes

Page history
Update Configuration authored Aug 31, 2022 by Ashijin's avatar Ashijin
Hide whitespace changes
Inline Side-by-side
Showing with 30 additions and 10 deletions
+30 -10
  • Configuration.md Configuration.md +30 -10
  • No files found.
Configuration.md
View page @ e07ee4b4
General configuration options help you customize the plugin's experience or provide general overall features.
Storage
-------
MCCosmetics supports several ways of storing your player data, defined by `Storage.Driver` in your `config.yml` file.
**Note that this only includes what cosmetics players are using - cosmetics players have unlocked are stored using permissions.**
#### Supported Storage Drivers
| Driver | Description |
| ------ | ------ |
| JSON | Default, stores data in .json files in the MCCosmetics folder |
| MYSQL | Stores all player data in a MySQL Database |
##### Database Configuration (MySQL)
```
Configuration:
Storage:
Driver: JSON
Driver: MYSQL
Address: localhost
Port: 3306
Database: [database name]
Username: [database username]
Password: [database password]
```
Spray Options
-------------
The Sprays section lets you define the stay time (in seconds) and the sound spraying makes. Setting `PersistTime` to `0` will make sprays stay until either a new one is placed or the chunk is unloaded.
```
Configuration:
Sprays:
Sound: 'entity.cat.hiss'
Volume: 1.0
Pitch: 2.0
PersistTime: 60
Language:
Command-Header: "<yellow><strikethrough>------------<gold>=====</strikethrough> <bold><gradient:#eeeeee:#ffffff>MCCosmetics</gradient></bold> <strikethrough><gold>=====<yellow>------------</strikethrough>"
Command-Footer: "<yellow><strikethrough>--------------------------------------</strikethrough>"
Command-Prefix: "<bold><white>[<#dc0c1f>MCCosmetics<white>]</bold> "
```
With the MySQL update, the Driver will be changeable. At this time please leave it as JSON.
The Sprays section lets you define the stay time (in seconds) and the sound spraying makes.
Menus
-----
### Menu Configuration
All menus come preconfigured to show you how it's done. Basically each cosmetic type has a selection_cosmetictype menu that uses the schema system coming to many mythic plugins.
......
Clone repository
  • Home
  • Changelogs

Setup

  • Configuration
  • Commands
  • Permissions
  • Compatibility
  • Placeholders
  • Color Tinting

Cosmetics

  • Hats
  • Sprays
  • Offhand
  • Gestures/Emotes
  • ModelEngine Accessories
  • Backpacks
  • Pets