initial commit

This commit is contained in:
SharwOrange橙夜 2024-07-05 15:45:13 +08:00
commit a44ef3837f
Signed by: SharwOrange
GPG Key ID: 5507630E4F33F4B1
8 changed files with 98 additions and 0 deletions

9
.editorconfig Normal file
View File

@ -0,0 +1,9 @@
root = true
[*]
insert_final_newline = true
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true

7
.gitattributes vendored Normal file
View File

@ -0,0 +1,7 @@
* text eol=lf
*.png -text
*.jpg -text
*.ico -text
*.gif -text
*.webp -text

18
.gitignore vendored Normal file
View File

@ -0,0 +1,18 @@
lib
dist
external
node_modules
npm-debug.log
yarn-debug.log
yarn-error.log
tsconfig.tsbuildinfo
.eslintcache
.DS_Store
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln

2
.npmignore Normal file
View File

@ -0,0 +1,2 @@
.DS_Store
tsconfig.tsbuildinfo

22
package.json Normal file
View File

@ -0,0 +1,22 @@
{
"name": "koishi-plugin-minecraft-vc-rcon",
"description": "",
"version": "0.0.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib",
"dist"
],
"license": "MIT",
"scripts": {},
"keywords": [
"chatbot",
"koishi",
"plugin"
],
"devDependencies": {},
"peerDependencies": {
"koishi": "^4.17.9"
}
}

5
readme.md Normal file
View File

@ -0,0 +1,5 @@
# koishi-plugin-minecraft-vc-rcon
[![npm](https://img.shields.io/npm/v/koishi-plugin-minecraft-vc-rcon?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-minecraft-vc-rcon)

11
src/index.ts Normal file
View File

@ -0,0 +1,11 @@
import { Context, Schema } from 'koishi'
export const name = 'minecraft-vc-rcon'
export interface Config {}
export const Config: Schema<Config> = Schema.object({})
export function apply(ctx: Context) {
// write your plugin here
}

24
tsconfig.json Normal file
View File

@ -0,0 +1,24 @@
{
"compilerOptions": {
"rootDir": "src",
"outDir": "lib",
"target": "es2022",
"module": "esnext",
"declaration": true,
"emitDeclarationOnly": true,
"composite": true,
"incremental": true,
"skipLibCheck": true,
"esModuleInterop": true,
"moduleResolution": "bundler",
"jsx": "react-jsx",
"jsxImportSource": "@satorijs/element",
"types": [
"node",
"yml-register/types"
]
},
"include": [
"src"
]
}