mirror of
https://github.com/PlaceholderAPI/Javascript-Expansion.git
synced 2025-05-23 18:42:44 +00:00
Updated for new commmands
parent
1e6c00dead
commit
fdeca27cd2
21
Home.md
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)
|
Loading…
x
Reference in New Issue
Block a user