Skip to content

Commands and Permissions ​

This plugin requires no permission configuration by default, ready to use out of the box (hot-reloading plugins may cause default permissions to be invalid)
For types mentioned below that you don't know, use tab completion in lower versions, versions 1.12+ will automatically remind

Permissions ​

PermissionPurposeDefault Owner
companionsPlus.clearDataClear dataop
companionsPlus.coinGive/Set/Take player companion coinsop
companionsPlus.convertConvert data between MySQL and SQLiteop
companionsPlus.giveGive a companion to a playerop
companionsPlus.giveItemGive a specified mystery box to a playerop
companionsPlus.giveCaptureGive a specified capture item to a playerop
companionsPlus.giveEquipmentGive companion equipment to a playerop
companionsPlus.reloadReload configuration filesop
companionsPlus.openOpen warehouse GUItrue
companionsPlus.shopOpen shop GUItrue
companions.upgrade.abilityUpgrade companion buttontrue
companions.upgrade.changeWeaponChange companion equipment buttontrue
companions.upgrade.renameChange companion name buttontrue
companions.upgrade.hideNameShow/hide companion name buttontrue
companions.upgrade.refineQualityRefine companion quality buttontrue
companions.admin.blacklistBypass the companion naming blacklistop
companions.buy.allShop shows all companionsop
companions.buy.<companion key>Shop shows the specified companionop
companions.have.<companion key>Auto-grant the specified companion, requires isHavePermission enabledop
CompanionsPlus.companionLimit.<node>Use the corresponding warehouse capacity from the main config, requires capacity limit enabledAs configured
companionsPlus.showUse the configured summon command, node is customizableAs configured
companionsPlus.vanishUse the configured recall command, node is customizableAs configured

Commands ​

The main command is /companionsPlus, abbreviated as /cpp. Companion keys, equipment keys and item keys are node names in the configuration.

CommandPurpose
/cpp clearData [player/all]Clear data for the specified player or all players
/cpp coin [give/set/take] [player] [amount]Give/Set/Take player companion coins
/cpp convert [mysql/sqlite]Convert the database storage type; not for importing legacy YAML data
/cpp give [player] [companion key] (true/false)Give a companion instance; the last argument is whether to enable it immediately, defaults to false
/cpp giveItem [player] [mystery box key] [amount]Give a mystery box configured in box.yml
/cpp giveCapture [player] [capture item key] [amount]Give a capture item configured in capture.yml
/cpp giveEquipment [equipment key] [player]Give companion equipment; each player can own only one item per equipment key
/cpp reloadReload configuration files
/cpp openOpen warehouse GUI; click a companion to enter the management screen
/cpp shopOpen shop GUI
/sDefault summon command, re-displays the selected companion
/vDefault recall command, recalls the companion and deselects it

/s and /v are configured in the main config's settings.show and settings.vanish, and multiple commands can be set with English commas. After using /v, you need to select the companion again in the warehouse before summoning it again.

[] Required () Optional