Skip to content

Simplest Configuration ​

Simplest Configuration ​

This plugin requires no configuration by default, ready to use out of the box

  1. Download plugin and place in plugins folder
  2. Start server
  3. Use /cpp shop to open companion shop
  4. Use /cpp open to open companion warehouse
  5. Use /cpp give [player] [companion] to give companions to players

For the full configuration nodes, see Create Companion

yaml
# Place in the plugin folder's companions/*.yml
companions:
  simple:
      # Name
      name: "&8&lSimplest Config"
      # Skull texture
      playerSkull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTM5YjVkMmU2MjRjMTQ3ZWZlNDdiMTMwZTFjZGRiOGEzNzdjZGIzZTc3NDJiZDJjZjRkZGRmNjlhNjg5MjcyIn19fQ=="
      GUI:
        shop:
          # Price
          price: 1000
          # Description
          description:
            - " "
            - "&aClick to purchase this companion"
            - " "
            - "&6Price: &e%price%"

After saving, use /cpp reload to reload. Every file needs the companions parent node, and the companion key (e.g. simple) must be unique; GUI.open can be added as needed.

Configuration Files ​

All configuration files are in the CompanionsPlus folder

File NamePurpose
config.ymlMain configuration file
upgrade.ymlUpgrade configuration file
zh_CN.ymlLanguage file
companions/Companion configuration folder
equipment/Companion equipment configuration folder
weapon/Companion held items configuration folder
ability/Companion ability configuration folder
attribute/Companion attribute configuration folder