From fdeca27cd287f5652833f38bffe7dab42d8fef6a Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 10 Mar 2020 12:37:18 -0400 Subject: [PATCH] Updated for new commmands --- Home.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/Home.md b/Home.md index a0239fe..58fcf38 100644 --- a/Home.md +++ b/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 ` - Display information on a script from our Github collection. +* `/jsexpansion git download ` - 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) \ No newline at end of file