Sueta

CubedPay Package Runner [INACTIVE]

1.0.3

Execute console commands as a response to players buying your products.

·Plugin

** This plugin requires CubedPay **

Package Runner will execute console commands in response to your players purchasing products in your store. We do not natively support executing console commands from our dashboard, so we provide this add-on resource for those that do not or cannot integrate the CubedPay library themselves.

Notice
We believe the best way to handle purchases on servers is by implementing direct responses to purchases. If you are a developer, or have a development team, we highly recommend simply integrating our primary library and handling purchases yourself.

Usage
Install this resource alongside your CubedPay plugin, and edit the configuration for the console commands you'd like to run in response to various packages.

Once your packages are configured as you like, type /reloadpackages to apply your changes.

Config

package_Test:
  - "say {cp-username} bought {cp-package}"
  - "say Hello World"
package_Test2:
  - "say {cp-username} bought {cp-package}"
  - "give {cp-username} minecraft:diamond {cp-quantity}"

Variables

  1. {cp-username} - The username the player chose at checkout
  2. {cp-package} - The name of the item that was purchased
  3. {cp-quantity} - The quantity of the item that was purchased

Support
To get in touch with our support team, visit here!
To learn more about CubedPay, visit our site!

Similar projects

Plugin →