-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from PrisonTeam/bleeding
Pulling in Bleeding so we can do a v3.2.2 bug release.
- Loading branch information
Showing
178 changed files
with
11,777 additions
and
12,033 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
### Prison Documentation | ||
[Prison Documents - Table of Contents](../prison_docs_000_toc.md) | ||
|
||
## Description: | ||
|
||
`/prison`'s the Main core command, by executing it you'll get a list of all the subcommands. | ||
|
||
The command `/prison` also shows all of the other registered root commands that are used within prison, for example `/ranks` and `/mines`. | ||
|
||
|
||
## Permission: | ||
|
||
- `prison.admin` | ||
|
||
## SubCommands: | ||
|
||
- [`/prison alerts`](prison_docs_command_02_prison_alerts.md) | ||
- [`/prison autofeatures`](prison_docs_command_03_prison_autofeatures.md) | ||
- [`/prison gui`](prison_docs_command_04_prison_gui.md) | ||
- [`/prison modules`](prison_docs_command_05_prison_modules.md) | ||
- [`/prison placeholders`](prison_docs_command_06_prison_placeholders.md) | ||
- [`/prison reload`](prison_docs_command_07_prison_reload.md) | ||
- [`/prison version`](prison_docs_command_09_prison_version.md) | ||
|
||
## How to use the command | ||
|
||
Execute: | ||
`/prison` | ||
and all the subcommands will be displayed, plus the other Prison root commands. | ||
|
||
<img src="images/prison_docs_commands_01_01.png" alt="Command Example" title="Command Example" width="600" /> | ||
|
||
### Command Format | ||
|
||
`/prison [Arguments]` | ||
|
||
**END of the command INFO** | ||
|
26 changes: 26 additions & 0 deletions
26
docs/docs-commands/prison_docs_command_02_prison_alerts.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
### Prison Documentation | ||
[Prison Documents - Table of Contents](../prison_docs_000_toc.md) | ||
|
||
## Description: | ||
|
||
Prison Alerts: you can clear a Prison Alert or All of them. One of the most frequently seen alerts is the notification that an update is available. | ||
|
||
## Permission: | ||
|
||
- `prison.alerts` | ||
|
||
## SubCommands: | ||
|
||
- `/prison alerts clearall` clear all alerts | ||
- `/prison alerts clear` clear an alert that is specifically yours. | ||
|
||
## How to use the command | ||
|
||
Execute `/prison alerts` followed by the *argument* you want, such as `clearall` or `clear` to use the command | ||
|
||
|
||
### Command Format | ||
|
||
`/prison alerts <argument>` | ||
|
||
**END of the command INFO** |
34 changes: 34 additions & 0 deletions
34
docs/docs-commands/prison_docs_command_03_prison_autofeatures.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
### Prison Documentation | ||
[Prison Documents - Table of Contents](../prison_docs_000_toc.md) | ||
|
||
## Description: | ||
|
||
Show a description of the AutoFeatures and some info about them. This command only provides information about how to use autofeatures and does not provide any customizations. | ||
|
||
**NOTE:** You need to enable the autofeatures within in the **config.yml** file first, then you can edit them from the `/prison gui` or the `plugins/Prison/autoFeaturesConfig.yml`. | ||
|
||
## Permissions: | ||
|
||
- `prison.admin` | ||
- `prison.automanager` | ||
- `prison.automanager.pickup` *(configurable)* | ||
- `prison.automanager.smelt` *(configurable)* | ||
- `prison.automanager.block` *(configurable)* | ||
|
||
You can customize the permission plugins that are marked as *(configurable)* through modification of the `plugins/Prison/autoFeaturesConfig.yml` file. | ||
|
||
## SubCommands: | ||
|
||
- `none` | ||
|
||
## How to use the command | ||
|
||
Just execute the command `/prison autofeatures` | ||
|
||
### Command Format | ||
|
||
`/prison autofeatures` | ||
|
||
<img src="images/prison_docs_commands_03_01.png" alt="Command Example" title="Command Example" width="600" /> | ||
|
||
**END of the command INFO** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
docs/docs-commands/prison_docs_command_05_prison_modules.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
### Prison Documentation | ||
[Prison Documents - Table of Contents](../prison_docs_000_toc.md) | ||
|
||
## Description: | ||
|
||
The Prison Modules command will list all modules and their current status. Modules cannot be enabled or disabled through this command. You would have to make manual changes to the configuration file `plugins/Prison/modules.yml`. | ||
|
||
## Permission: | ||
|
||
- `prison.modules` | ||
- `prison.admin` | ||
|
||
## SubCommands: | ||
|
||
- `none` | ||
|
||
## How to use the command | ||
|
||
Just execute the command `/prison modules` | ||
|
||
### Command Format | ||
|
||
`/prison modules` | ||
|
||
|
||
Example of `/prison modules` ran within the console: | ||
|
||
<img src="images/prison_docs_commands_05_01.png" alt="Command Example" title="Command Example" width="600" /> | ||
|
||
|
||
Example of `plugins/Prison/modules.yml`: | ||
<img src="images/prison_docs_commands_05_02.png" alt="Command Example" title="Command Example" width="600" /> | ||
|
||
|
||
|
||
|
||
**END of the command INFO** |
41 changes: 41 additions & 0 deletions
41
docs/docs-commands/prison_docs_command_06_prison_placeholders.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
### Prison Documentation | ||
[Prison Documents - Table of Contents](../prison_docs_000_toc.md) | ||
|
||
## Description: | ||
|
||
Show a list of Prison Placeholders available. | ||
|
||
|
||
## Permission: | ||
|
||
- `prison.placeholder` | ||
|
||
## SubCommands: | ||
|
||
- `/prison placeholders list help` Shows a list of placeholders, including aliases. | ||
- `/prison placeholders list` | ||
- `/prison placeholders reload` Reload placeholders and register them. | ||
- `/prison placeholders search help` Search for placeholders. | ||
- `/prison placeholders search [playerName] [pageNumber] [patterns]` | ||
- `playerName` is optional and is used for player related placeholders to fill in active details | ||
- The search results can contain hundreds of results, so paging allows you to control what results are shown. | ||
- The `patterns` can be multiple words or fragments. If more than one pattern is used, then all patterns must exist within a placeholder to be included in the result set. | ||
- `/prison placeholders test help` Test a placeholder | ||
- `/prison placeholders test [text]` | ||
|
||
|
||
<img src="images/prison_docs_commands_06_01.png" alt="Command Example" title="Command Example" width="600" /> | ||
|
||
|
||
## How to use the command | ||
|
||
Use the `/prison placeholders`. | ||
|
||
|
||
### Command Format | ||
|
||
`/prison placeholders` | ||
|
||
See above subcommands for their use. | ||
|
||
**END of the command INFO** |
32 changes: 32 additions & 0 deletions
32
docs/docs-commands/prison_docs_command_07_prison_reload.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
### Prison Documentation | ||
[Prison Documents - Table of Contents](../prison_docs_000_toc.md) | ||
|
||
## Description: | ||
|
||
Prison, on a whole, is unable to be reloaded. It is always safest to restart the server under most situations, otherwise corruption may occur. | ||
|
||
That said, placeholders are currently the only exception to that "rule". By issuing the command `\prison reload placeholders` it will regenerate the placeholder mappings and reregister with any of the active placeholder plugins that prison is integrated with, such as PlaceholderAPI. Reloading the placeholders is safe to run at any time. | ||
|
||
A couple of examples when you would need to use the reload command for placeholders: | ||
* Added, changed the name of, or removed any mines or ranks | ||
* Reloaded a placeholder plugin, which wipes out all of prison's registered plugins. | ||
|
||
## Permissions: | ||
|
||
- `prison.admin` | ||
- `prison.reload` | ||
- `prison.placeholder` | ||
|
||
## SubCommands: | ||
|
||
- `/prison reload placeholders` Regenerates all the placeholder mappings and reregisters them with the supported placeholder plugins. | ||
|
||
## How to use the command | ||
|
||
Use the command `/prison reload` for the list of subcommands. | ||
|
||
### Command Format | ||
|
||
`/prison reload` | ||
|
||
**END of the command INFO** |
40 changes: 40 additions & 0 deletions
40
docs/docs-commands/prison_docs_command_09_prison_version.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
### Prison Documentation | ||
[Prison Documents - Table of Contents](../prison_docs_000_toc.md) | ||
|
||
## Description: | ||
|
||
Displays detailed information about Prison, especially about the versions of Prison, the platform (ie... Spigot, Paper, etc), and even the other plugins that are active. | ||
|
||
This view also includes detailed information on how prison is configured and what components and commands are active. | ||
|
||
This detailed information is very useful for debugging purposes if there are any issues with the environment. At server startup this information is included along with even more detailed information. If you are needing to get additional help with your prison environment, it is important to provide the other startup information too. | ||
|
||
## Permission: | ||
|
||
- `prison.admin` | ||
|
||
## SubCommands: | ||
|
||
- `none` | ||
|
||
## How to use the command | ||
|
||
Run the command: `/prison version` | ||
|
||
This is an example of the `/prison version` command. | ||
|
||
<img src="images/prison_docs_commands_09_01.png" alt="Command Example" title="Command Example" width="600" /> | ||
|
||
Upon startup of your server, there is additional important information that is displayed that could be very helpful in diagnosing any issues you may have with your server, or Prison itself. This is an example of what it could look like. | ||
|
||
Notice there are a few errors listed, since my test server has been setup with errors on purpose so as to ensure these error reporting features are functional. For example one rank has been setup with a currency that no longer exist, there are two ranks that are not associated with any ladders, and there is a block type that was detected that is not supported. | ||
|
||
<img src="images/prison_docs_commands_09_02.png" alt="Command Example" title="Command Example" width="600" /> | ||
|
||
|
||
|
||
### Command Format | ||
|
||
`/prison version` | ||
|
||
**END of the command INFO** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 15 additions & 10 deletions
25
docs/docs-commands/prison_docs_command_12_ranks_command.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,29 @@ | ||
### Prison Documentation - **WORK-IN-PROGRESS** | ||
### Prison Documentation | ||
[Prison Documents - Table of Contents](../prison_docs_000_toc.md) | ||
|
||
## Description: | ||
|
||
Short description of the command will be here | ||
Add a command which will be executed when the player rankup to the rank with the command assigned. | ||
|
||
## Permissions: | ||
|
||
- `ranks.admin` | ||
|
||
## SubCommands: | ||
|
||
- List | ||
- Of | ||
- Sub | ||
- Commands | ||
- With | ||
- Short | ||
- Description | ||
- `/ranks command add` | ||
- `/ranks command list` | ||
- `/ranks command remove` | ||
|
||
## How to use the command | ||
|
||
Execute the command himself, and you'll get a list of the subcommands, like in the example: `/ranks command`. | ||
- `/ranks command add [rankName] [command]` will add a rankupCommand to a rank. | ||
- `/ranks command list [rankname]` will show a list of rankupCommands in a rank. | ||
- `/ranks command remove [rankName] [command]` will remove the rankupCommand from the rank. | ||
|
||
### Command Format | ||
|
||
`/prison` | ||
`/ranks command <Arguments>` | ||
|
||
**END of the command INFO** |
Oops, something went wrong.