Updated for new commmands

Ryan 2020-03-10 12:37:18 -04:00
parent 1e6c00dead
commit fdeca27cd2

21
Home.md

@ -11,15 +11,24 @@ Dev builds:
## Commands
Commands require the permission node `placeholderapi.admin`
* `/papijsp` - shows expansion info.
* `/papijsp reload` - reloads the javascript_placeholders.yml. This command is recommended over /papi reload because it does not interfere with PlaceholderAPI or reloading other expansions.
* `/papijsp list` - shows loaded scripts.
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.
* `/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 JavaScript-Expansion can do?
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.
[Click Here to View](https://www.spigotmc.org/wiki/placeholderapi-javascript-expansion-scripts/)
If you would like to contribute, simply submit a PR with your script!
[Example scripts on Spigot](https://www.spigotmc.org/wiki/placeholderapi-javascript-expansion-scripts/)
## [» Creating Your First Script](Your-First-Script)