Simplest Configuration
Simplest Configuration
This plugin requires no configuration by default, ready to use out of the box
- Download plugin and place in plugins folder
- Start server
- Use /cpp shop to open companion shop
- Use /cpp open to open companion warehouse
- 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 Name | Purpose |
|---|---|
| config.yml | Main configuration file |
| upgrade.yml | Upgrade configuration file |
| zh_CN.yml | Language 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 |