2022-02-18 00:57:08 +01:00
|
|
|
# Paid signs
|
|
|
|
|
|
|
|
The paid-signs plugin is a plugin that lets you add costs for creating plugin signs. This allows restricting usage of
|
|
|
|
signs such as CraftBook's gate/lift and other signs while still allowing every player to use the signs.
|
|
|
|
|
|
|
|
## Limitations
|
|
|
|
|
|
|
|
As this plugin only listens to sign change events, there are some limitations:
|
|
|
|
|
|
|
|
1. The plugin is not aware of whether the creation of a sign is successful
|
|
|
|
2. It is assumed that any protection plugins run before this plugin, but it's not guaranteed
|
2022-02-18 01:37:47 +01:00
|
|
|
3. Plugins changing the lines on signs when successful might create confusion and mismatches
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
2022-02-18 23:16:47 +01:00
|
|
|
* /addpaidsign <name> <cost> \[permission] \[ignore case] \[ignore color]
|
|
|
|
* /addpaidsigncondition <name (of a paid sign)> <line number> <string to match> \[executeRegEx] \[ignoreCase]
|
|
|
|
\[ignoreColor]
|
|
|
|
* /listpaidsigns
|
|
|
|
* /listpaidsignconditions <name (of a paid sign)>
|
|
|
|
* /removepaidsigncondition <name (of a paid sign)> <line number>
|
|
|
|
* /removepaidsign <name (of a paid sign)>
|
2022-02-18 01:37:47 +01:00
|
|
|
* /reload
|