Skip to content

Commit fbc45ca

Browse files
committed
chore: replace comments with line markers from EC
1 parent 2455466 commit fbc45ca

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

src/content/docs/velocity/dev/getting-started/velocity-plugin-json.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,21 @@ and used a `@Plugin` annotation somewhere in your code.
2525
## Example
2626
This is an example `velocity-plugin.json` file:
2727

28-
```json title=velocity-plugin.json
28+
```json title=velocity-plugin.json {" Required values:":2-4} {" The ID is required. Optional defaults to false:":11-15}
2929
{
30-
"id": "example-plugin", // required
30+
31+
"id": "example-plugin",
32+
"main": "com.example.testplugin.TestPluginMain",
3133
"name": "Velocity Example Plugin",
3234
"version": "1.0.0",
3335
"description": "An example plugin for showcasing the plugin json file.",
34-
"main": "com.example.testplugin.TestPluginMain", // required
3536
"url": "https://github.com/PaperMC/docs",
3637
"authors": ["Strokkur24"],
3738
"dependencies": [
39+
3840
{
39-
"id": "luckperms", // required for dependencies
40-
"optional": true // defaults to false
41+
"id": "luckperms",
42+
"optional": true
4143
}
4244
]
4345
}

0 commit comments

Comments
 (0)