Skip to content
Funnycube edited this page Jul 6, 2020 · 23 revisions

JavaScript-Expansion is an expansion for the Spigot plugin PlaceholderAPI.

Dev builds: Build Status

Installation

  1. Download the expansion using /papi ecloud download javascript
  2. Reload PlaceholderAPI with /papi reload
  3. Download/make some scripts.
  4. Profit?

Commands

Commands require the permission node placeholderapi.js.admin

  • /jsexpansion - Display expansion info.
  • /jsexpansion reload - Reloads the expansion. This command is recommended over /papi reload because it does not interfere with PlaceholderAPI or reloading other expansions. Currently broken, please use /papi reload until further notice.
  • /jsexpansion list - Display loaded scripts.

The following commands require the github_script_downloads config option be set to true in the PlaceholderAPI config:

  • /jsexpansion git list - Display the names of all available scripts from the Javascript Expansion Github.
  • /jsexpansion git info <name> - Display information on a script from our Github collection.
  • /jsexpansion git download <name> - Download a script from Github to your scripts folder.

Community Scripts

Want to try out some pre-made scripts from the community and see what the JavaScript Expansion can do? All you have to do is enable the github_script_downloads config option in the PlaceholderAPI config.yml. From there use the 'git' subcommands to check out the scripts we have available in this repo.

If you would like to contribute, simply submit a PR with your script!

Example scripts can be found here

Clone this wiki locally