pen-to-squareconfig.yml

Example

language: en

database-type: H2
mysql:
  host: "localhost"
  port: 3306
  user: "root"
  password: ""

text-formatting:
  parser-type: MINIMESSAGE
  enable-alignment: true

passport-gui: example-rp

give-suggestions:
  birthday: "Birthday"
  city: "City"
  sex: "Sex"
  value1: "Discord"
  value2: ""
  value3: ""
  value4: ""
  value5: ""
  value6: ""
  value7: ""
  value8: ""
  value9: ""
  value10: ""

view-radius: 10

Values

language

circle-info

Can have any value.

A file with this name from the /lang/ directory will be used for plugin localization

database-type

circle-info

Can be "H2" OR "MYSQL".

Selects the database type:

H2 — a lightweight DBMS stored as a file next to the configuration. MYSQL — a separate DBMS. Requires a connection to a MySQL server with authentication credentials specified

mysql

circle-info

A block for configuring data required to connect to the MySQL DBMS.

Active only when database-type: MYSQL

parser-type

circle-info

Can be "MINIMESSAGE" OR "LEGACY".

Selects the text style parsing mechanism:

MINIMESSAGE — uses tags for text formatting and provides more advanced features. More details: https://docs.papermc.io/adventure/minimessage/format/arrow-up-right LEGACY — a legacy formatting method. Uses tags like &#RRGGBB. Suitable for simpler configuration and for avoiding clickable chat messages

enable-alignment

circle-info

Enable/disable text centering (suitable for GUIs based on resource packs)

passport-gui

circle-info

Selects a preset GUI configuration. The value is the file name from the /gui/ directory

give-suggestions

circle-info

Hints that will be displayed when using /passport give

view-radius

circle-info

The radius within which a player can be sent a request to view a passport (/passport view)

Last updated