Skip to content

Configuration

ludgart edited this page Nov 13, 2020 · 2 revisions

Configuration

After the Installation, the MZP-Core library create on the first startup the default structure files.
There are three files.

  • Config
  • Storage
  • Message

Config

config:
  version: 0.0.2
  setup: true
core:
  server:
    name: my-server

Storage

config:
  version: 0.0.1
  setup: true
storage:
  database:
    mysql:
      enabled: false
      host: localhost
      port: 3306
      database: mzp_core
      username: mzp_core
      password: '!default'
    sql:
      enabled: true
  cache:
    redis:
      enabled: false
      host: localhost
      port: 3306
      database: mzp_core
      username: mzp_core
      password: '!default'

In the default setup is the SQLite already enabled. We prefer to use the MySQL database system for the maxium performance.
In the next updates you can use the integrated redis cache system too.

Message

config:
  version: 0.0.1
  setup: true
message:
  prefix: '&6&l[MZP] '
  permission:
    deny: '&3You dont have permission!'
  command:
    permission:
      deny: '&3You dont have permission to execute this command!'
    sub:
      wrong: '&3Wrong sub command for this command!'
    arg:
      length: '&3Too many or to less arguments for this command!'

Information

Server Owner

Developer

Clone this wiki locally