nodebb-plugin-restrict-usernames
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "nodebb-plugin-restrict-usernames", | ||
"version": "0.5.0", | ||
"description": "A starter kit for quickly creating NodeBB plugins", | ||
"version": "0.5.1", | ||
"description": "Set rules for what usernames are allowed on your forum", | ||
"main": "library.js", | ||
@@ -14,3 +14,3 @@ "repository": { | ||
"restrict-usernames", | ||
"shell" | ||
"moderation" | ||
], | ||
@@ -17,0 +17,0 @@ "husky": { |
# Username Restriction Plugin for NodeBB | ||
A starter kit for quickly creating NodeBB plugins. Comes with a pre-setup LESS file, server side JS script with an `action:app.load` hook, and a client-side script. Most plugins need at least one of the above, so this ought to save you some time. For a full list of hooks have a look at our [wiki page](https://github.com/NodeBB/NodeBB/wiki/Hooks), and for more information about creating plugins please visit our [documentation portal](https://docs.nodebb.org/). | ||
Set rules for what usernames are allowed on your forum | ||
Fork this or copy it, and using your favourite text editor find and replace all instances of `nodebb-plugin-restrict-usernames` with `nodebb-plugin-your-plugins-name`. Change the author's name in the LICENSE and package.json files. | ||
## Hello World | ||
Really simple, just edit `static/lib/main.js` and paste in `console.log('hello world');`, and that's it! | ||
## Installation | ||
npm install nodebb-plugin-restrict-usernames | ||
Install via ACP or by running either | ||
(NodeBB>2.7.0) | ||
```bash | ||
./nodebb install nodebb-plugin-restrict-usernames | ||
``` | ||
or (all supported NodeBB version) | ||
```bash | ||
npm install nodebb-plugin-restrict-usernames | ||
``` | ||
## Screenshots | ||
Don't forget to add screenshots! | ||
## screenshot | ||
![ACP screenshot](./restrict-usernames-screenshot.png) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120090
26