diff --git a/bun.lock b/bun.lock index ea8fe28..8ba7c1e 100644 --- a/bun.lock +++ b/bun.lock @@ -7,9 +7,9 @@ "or": "^0.2.0", }, "devDependencies": { - "@types/bun": "^1.3.13", - "vitepress": "^2.0.0-alpha.17", - "vue": "^3.6.0-beta.10", + "@types/bun": "^1.3.14", + "vitepress": "^2.0.0-alpha.18", + "vue": "^3.6.0-beta.17", }, }, }, @@ -118,15 +118,15 @@ "@vitejs/plugin-vue": ["@vitejs/plugin-vue@6.0.7", "", { "dependencies": { "@rolldown/pluginutils": "^1.0.1" }, "peerDependencies": { "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", "vue": "^3.2.25" } }, "sha512-km+p+XdSz9Sxm5rqUbqcSfZYaAniKxWBj1KURl+Jr7UaPvvX7BmaWMdP69I5rrFDeQGyxAG7NXdc57vz+snhWg=="], - "@vue/compiler-core": ["@vue/compiler-core@3.6.0-beta.17", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/shared": "3.6.0-beta.17", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-4xB2W8+00h7bfHbVeHD+zI+bmyF+XgQBKCCWLjFJ/VCJ/1tBjnlzWpX0OqcOE78LktGiCGcKgNk+eZAuav5cqg=="], + "@vue/compiler-core": ["@vue/compiler-core@3.6.0-rc.2", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/shared": "3.6.0-rc.2", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-Xx79h4EpJktQBShelXNKaRuvn9N6YsYL1j+RXdvPKzI+8tohYziBJbxOFGAkdcOKBwKc2SIWV4DOlTAMhE96yQ=="], - "@vue/compiler-dom": ["@vue/compiler-dom@3.6.0-beta.17", "", { "dependencies": { "@vue/compiler-core": "3.6.0-beta.17", "@vue/shared": "3.6.0-beta.17" } }, "sha512-viCM7YwHK6HuQ9rY8O27ET1xLi9WeJ+EmMWlwvtggpqb2j+l7DZOATkCRXOivjTOqtt8h5MIGnlB7tQlupQgeA=="], + "@vue/compiler-dom": ["@vue/compiler-dom@3.6.0-rc.2", "", { "dependencies": { "@vue/compiler-core": "3.6.0-rc.2", "@vue/shared": "3.6.0-rc.2" } }, "sha512-dRTdTdi/KXzHYIkHtyjGxepTIxnsZ/hB3v1osnS8c4MeycAyzkSoZW6OZkXXN4oVVVU6NKXds1XtKAEKVVw7nA=="], - "@vue/compiler-sfc": ["@vue/compiler-sfc@3.6.0-beta.17", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/compiler-core": "3.6.0-beta.17", "@vue/compiler-dom": "3.6.0-beta.17", "@vue/compiler-ssr": "3.6.0-beta.17", "@vue/compiler-vapor": "3.6.0-beta.17", "@vue/shared": "3.6.0-beta.17", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", "postcss": "^8.5.14", "source-map-js": "^1.2.1" } }, "sha512-L3KGWeWDCqm1tL03m09IXKRhIEh0Ij2gEIax9W0smDtlCAQt4gc8dmeTbjTOg4+1N2qAFEaAs+0xVu9y1j7Sng=="], + "@vue/compiler-sfc": ["@vue/compiler-sfc@3.6.0-rc.2", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/compiler-core": "3.6.0-rc.2", "@vue/compiler-dom": "3.6.0-rc.2", "@vue/compiler-ssr": "3.6.0-rc.2", "@vue/compiler-vapor": "3.6.0-rc.2", "@vue/shared": "3.6.0-rc.2", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", "postcss": "^8.5.19", "source-map-js": "^1.2.1" } }, "sha512-EZWTNh0UwdxvrBJkFc6+dqfwuUSdTVHDIohQcGDPCqGaYTHOfUL20b+grEAzlyxB741KrVBUb7qqpes92hAh2w=="], - "@vue/compiler-ssr": ["@vue/compiler-ssr@3.6.0-beta.17", "", { "dependencies": { "@vue/compiler-dom": "3.6.0-beta.17", "@vue/shared": "3.6.0-beta.17" } }, "sha512-OWBt5fu62UGeGTcl3Ra5ocMZbJ3h8ze862g9GlS72CNsYYZTbh3V9LePoOp6WX73SdsSdbsWLSsZfi5Wgh+ggQ=="], + "@vue/compiler-ssr": ["@vue/compiler-ssr@3.6.0-rc.2", "", { "dependencies": { "@vue/compiler-dom": "3.6.0-rc.2", "@vue/shared": "3.6.0-rc.2" } }, "sha512-lqHSdQTmlhKX3dNEvR1TcspUzDlTR82T7BYLDzfvTwAqGXxAI2WJfyGJPcNpPjPKYEMI9JRGF32DU8TlHLx1AA=="], - "@vue/compiler-vapor": ["@vue/compiler-vapor@3.6.0-beta.17", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/compiler-dom": "3.6.0-beta.17", "@vue/shared": "3.6.0-beta.17", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-8qqHnEwQVytCnaF9zSOtcZxnYxz+FJqBNl9zIpSKwKRStl4XqmgcXlHtJYQMCxZS6xa7JfPvutkt5mBneh07Yw=="], + "@vue/compiler-vapor": ["@vue/compiler-vapor@3.6.0-rc.2", "", { "dependencies": { "@babel/parser": "^7.29.7", "@vue/compiler-dom": "3.6.0-rc.2", "@vue/shared": "3.6.0-rc.2", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-QbrA01pbj9xemF2McgBopyaOwj3kQGN0W1GW5EdFXORIT4fQQJpmUOj40h99S3bk09gLs5bFTRS4YE+Oyw/F9w=="], "@vue/devtools-api": ["@vue/devtools-api@8.1.5", "", { "dependencies": { "@vue/devtools-kit": "^8.1.5" } }, "sha512-YJipMVAKe5wT5CWf5kTYCaNV7NMNjFVxJkIkJaJ4W/nCxEBzlZzrOsYKeCymdCrFZmBS/+wTWFoUs3Jf/Q6XSQ=="], @@ -134,15 +134,15 @@ "@vue/devtools-shared": ["@vue/devtools-shared@8.1.5", "", {}, "sha512-mhT4zcPFhF+Xk1O4BfhhrbXzpmfqY03fS6xGpcllbQG7lDjhQf8pQHcTIhqQIYx1hfwtHmk/6jM96ele0UxPqQ=="], - "@vue/reactivity": ["@vue/reactivity@3.6.0-beta.17", "", { "dependencies": { "@vue/shared": "3.6.0-beta.17" } }, "sha512-oKLiLZRomHyJ++367F286Er49TXazWofj1PbNFUBoRxNNLne8xlDHAypN+C9Yr+JfAIN9cRp8l1PdjwfwMsV8g=="], + "@vue/reactivity": ["@vue/reactivity@3.6.0-rc.2", "", { "dependencies": { "@vue/shared": "3.6.0-rc.2" } }, "sha512-B01EoSTcaVQiJwZDoSoeKYClVgj60BHN43oHEcxXhPVLdxsXI0SOiQuskUskQDZn2ma08llICKJohL60o+UamA=="], - "@vue/runtime-core": ["@vue/runtime-core@3.6.0-beta.17", "", { "dependencies": { "@vue/reactivity": "3.6.0-beta.17", "@vue/shared": "3.6.0-beta.17" } }, "sha512-JDPvmiyLpXtTnpG6I9URF88bOF+7KVgpDvPvZVl9AMboQj+LW4Pp19QOhGzxGoKES6wBts8c4xM1zjtr0xHcQw=="], + "@vue/runtime-core": ["@vue/runtime-core@3.6.0-rc.2", "", { "dependencies": { "@vue/reactivity": "3.6.0-rc.2", "@vue/shared": "3.6.0-rc.2" } }, "sha512-qFV61Hbg6LyEGxJiVRJYuiIfryxrfO4+cgW1esxtkR1/pvemULwG6KpFImsJDwcC+YxrtvndXGM5PRVwUCGuiA=="], - "@vue/runtime-dom": ["@vue/runtime-dom@3.6.0-beta.17", "", { "dependencies": { "@vue/reactivity": "3.6.0-beta.17", "@vue/runtime-core": "3.6.0-beta.17", "@vue/shared": "3.6.0-beta.17", "csstype": "^3.2.3" } }, "sha512-7B02MUGEFzuJaMbhxtgNRSMOrbj+AlERBy1EBxrXHplHSwv8xQjJpiBk0Z+5+vQMDVS4zc8VIYgeP7CUyROpUg=="], + "@vue/runtime-dom": ["@vue/runtime-dom@3.6.0-rc.2", "", { "dependencies": { "@vue/reactivity": "3.6.0-rc.2", "@vue/runtime-core": "3.6.0-rc.2", "@vue/shared": "3.6.0-rc.2", "csstype": "^3.2.3" } }, "sha512-clIE/xk0b61t30BPKoOXZep253nhWdjyw7iac53yy2KN0nxAupkb6x3ImOI9iljjXqOW5lYdNVHNxNlcx3iA1Q=="], - "@vue/runtime-vapor": ["@vue/runtime-vapor@3.6.0-beta.17", "", { "dependencies": { "@vue/reactivity": "3.6.0-beta.17", "@vue/shared": "3.6.0-beta.17" }, "peerDependencies": { "@vue/runtime-dom": "3.6.0-beta.17" } }, "sha512-nJpdHuMOXMEmVUrRTEo4AEDPreBja9euIXHjvUe4aEk1pmTKs61hQRluAdETRyXZwkyFe6D6+fXxvKf5wPBJBg=="], + "@vue/runtime-vapor": ["@vue/runtime-vapor@3.6.0-rc.2", "", { "dependencies": { "@vue/reactivity": "3.6.0-rc.2", "@vue/shared": "3.6.0-rc.2" }, "peerDependencies": { "@vue/runtime-dom": "3.6.0-rc.2" } }, "sha512-8EpxbNyT629k/52el4D7PxXmZtiYhJRBHPXJR7CZw0OluiADtT9W8J+XB83EVlzHmFUysXcd+mGWmuHwIhuHZA=="], - "@vue/server-renderer": ["@vue/server-renderer@3.6.0-beta.17", "", { "dependencies": { "@vue/compiler-ssr": "3.6.0-beta.17", "@vue/shared": "3.6.0-beta.17" }, "peerDependencies": { "vue": "3.6.0-beta.17" } }, "sha512-C7YpoWxewo01cG+S51MouH1v6taXBU5XvmxPjPAI3E9Zn3gpzb49e/ikShA5ov8ijE9R7tyIOUk4QU2xoDiT+Q=="], + "@vue/server-renderer": ["@vue/server-renderer@3.6.0-rc.2", "", { "dependencies": { "@vue/compiler-ssr": "3.6.0-rc.2", "@vue/runtime-dom": "3.6.0-rc.2", "@vue/shared": "3.6.0-rc.2" } }, "sha512-TIsqoYljs6b0wfoCDhv4EeU3Du2a8gTadkaTGMjIYLTLlO4p8r4VdDqfNp/ZMAm87bW4ST1naBMRe+bXQBpAeQ=="], "@vue/shared": ["@vue/shared@3.5.39", "", {}, "sha512-l1rrBtBfTnmxvtsvdQDXltUUy8S1Y+ZaqdfUzmAnJkTd8Z8rv5v/ytW+TKiqEOWyHPoqtPlNFSs0lhRmYVSHVA=="], @@ -296,33 +296,37 @@ "vitepress": ["vitepress@2.0.0-alpha.18", "", { "dependencies": { "@docsearch/css": "^4.6.3", "@docsearch/js": "^4.6.3", "@docsearch/sidepanel-js": "^4.6.3", "@iconify-json/simple-icons": "^1.2.87", "@shikijs/core": "^4.3.0", "@shikijs/transformers": "^4.3.0", "@shikijs/types": "^4.3.0", "@types/markdown-it": "^14.1.2", "@vitejs/plugin-vue": "^6.0.7", "@vue/devtools-api": "^8.1.4", "@vue/shared": "^3.5.39", "@vueuse/core": "^14.3.0", "@vueuse/integrations": "^14.3.0", "focus-trap": "^8.2.2", "mark.js": "8.11.1", "minisearch": "^7.2.0", "shiki": "^4.3.0", "vite": "^8.1.3", "vue": "^3.5.39" }, "peerDependencies": { "markdown-it-mathjax3": "^4", "postcss": "^8" }, "optionalPeers": ["markdown-it-mathjax3", "postcss"], "bin": { "vitepress": "bin/vitepress.js" } }, "sha512-Lk1G2/QqSf+MwNLICl9fmzWOtoCEwjZoWgaQy41QvWTfcGpLE9XwJDbcCyES/9rj6R2g1zFqFvLVkYKLLDALFw=="], - "vue": ["vue@3.6.0-beta.17", "", { "dependencies": { "@vue/compiler-dom": "3.6.0-beta.17", "@vue/compiler-sfc": "3.6.0-beta.17", "@vue/runtime-dom": "3.6.0-beta.17", "@vue/runtime-vapor": "3.6.0-beta.17", "@vue/server-renderer": "3.6.0-beta.17", "@vue/shared": "3.6.0-beta.17" }, "peerDependencies": { "typescript": "*" }, "optionalPeers": ["typescript"] }, "sha512-sVvFEriOhBjKIi7Jy+vwnlcBVRKhvxMVG4lh2erX1vrlaNKggURyWttRF+z5Vo+6VYriVsXAUyOgaQZub0W8ug=="], + "vue": ["vue@3.6.0-rc.2", "", { "dependencies": { "@vue/compiler-dom": "3.6.0-rc.2", "@vue/compiler-sfc": "3.6.0-rc.2", "@vue/runtime-dom": "3.6.0-rc.2", "@vue/runtime-vapor": "3.6.0-rc.2", "@vue/server-renderer": "3.6.0-rc.2", "@vue/shared": "3.6.0-rc.2" }, "peerDependencies": { "typescript": "*" }, "optionalPeers": ["typescript"] }, "sha512-pBgoISqETcufJ1e92vVW2/D5MEbCm2XHlC/5dq3hWq8s17tx9v5BEdYv4hojJ0yEEDidYxUL7itS+vV32wfZrw=="], "zwitch": ["zwitch@2.0.4", "", {}, "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A=="], - "@vue/compiler-core/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "@vue/compiler-core/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], - "@vue/compiler-dom/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "@vue/compiler-dom/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], - "@vue/compiler-sfc/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "@vue/compiler-sfc/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], - "@vue/compiler-ssr/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "@vue/compiler-sfc/postcss": ["postcss@8.5.22", "", { "dependencies": { "nanoid": "^3.3.16", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-KBDEIpLrvpv16pp3K0Fw+UCoZfopFjjgeB+0tA/aaThfEE74kKDLrgg603YvOWJyg3+WYtyq3xYsQWsIyZlPqQ=="], - "@vue/compiler-vapor/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "@vue/compiler-ssr/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], - "@vue/reactivity/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "@vue/compiler-vapor/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], - "@vue/runtime-core/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "@vue/reactivity/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], - "@vue/runtime-dom/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "@vue/runtime-core/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], - "@vue/runtime-vapor/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "@vue/runtime-dom/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], - "@vue/server-renderer/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "@vue/runtime-vapor/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], + + "@vue/server-renderer/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], "vitepress/vue": ["vue@3.5.39", "", { "dependencies": { "@vue/compiler-dom": "3.5.39", "@vue/compiler-sfc": "3.5.39", "@vue/runtime-dom": "3.5.39", "@vue/server-renderer": "3.5.39", "@vue/shared": "3.5.39" }, "peerDependencies": { "typescript": "*" }, "optionalPeers": ["typescript"] }, "sha512-xmZCYabFGcirU8r0fTuvl/LICc1OU620rnqepaJDL/a141ZigkG7AyaxQLdqJ02ZRYzWe6YPaDHeQx7MfknQfA=="], - "vue/@vue/shared": ["@vue/shared@3.6.0-beta.17", "", {}, "sha512-iuDH2UPBc8nzqgL4dcLiqpAJoJfQe70RcPM34+p+dVk0ThJD9jjpLPjzouP+RoRrXkAPOC7jmMncafdv69BGaA=="], + "vue/@vue/shared": ["@vue/shared@3.6.0-rc.2", "", {}, "sha512-Tz44lKLjxhWRu3GJ38768dc2hW4XhDtTB5aUo5fCMis6YDyFzwQYkrD/B9SuQ1v/ailv6UVR3wSHiujNXSjMCQ=="], + + "@vue/compiler-sfc/postcss/nanoid": ["nanoid@3.3.16", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q=="], "vitepress/vue/@vue/compiler-dom": ["@vue/compiler-dom@3.5.39", "", { "dependencies": { "@vue/compiler-core": "3.5.39", "@vue/shared": "3.5.39" } }, "sha512-oQPigALqYbNxTNPvNgSOe+czwVExfbVF02lz8jP0S3AXJiu3jxYDygNUiqSep4ezzW8XgnubqH63My2A7JR/vg=="], diff --git a/docs/.vitepress/de.ts b/docs/.vitepress/de.ts index a64dbb3..b4244be 100644 --- a/docs/.vitepress/de.ts +++ b/docs/.vitepress/de.ts @@ -20,6 +20,8 @@ export const de = defineConfig({ text: "Über", items: [ { text: "Benchmarks", link: "/de/about/benchmarks" }, + { text: "Helfen & Spenden", link: "/de/about/helping" }, + ], }, { diff --git a/docs/.vitepress/en.ts b/docs/.vitepress/en.ts index 40138ff..d4ea004 100644 --- a/docs/.vitepress/en.ts +++ b/docs/.vitepress/en.ts @@ -18,7 +18,10 @@ export const en = defineConfig({ sidebar: [ { text: "About", - items: [{ text: "Benchmarks", link: "/about/benchmarks" }], + items: [ + { text: "Benchmarks", link: "/about/benchmarks" }, + { text: "Helping & Donating", link: "/about/helping" }, + ], }, { text: "Configuration", diff --git a/docs/.vitepress/ja_jp.ts b/docs/.vitepress/ja_jp.ts index 3477086..bb9228f 100644 --- a/docs/.vitepress/ja_jp.ts +++ b/docs/.vitepress/ja_jp.ts @@ -20,6 +20,8 @@ export const jaJP = defineConfig({ text: "概要", items: [ { text: "ベンチマーク", link: "/ja_jp/about/benchmarks" }, + { text: "ヘルプと寄付", link: "/ja_jp/about/helping" }, + ], }, { diff --git a/docs/.vitepress/nl.ts b/docs/.vitepress/nl.ts index 27d52b7..288d2ad 100644 --- a/docs/.vitepress/nl.ts +++ b/docs/.vitepress/nl.ts @@ -20,6 +20,8 @@ export const nl = defineConfig({ text: "Over", items: [ { text: "Benchmarktests", link: "/nl/about/benchmarks" }, + { text: "Helpen & Doneren", link: "/nl/about/helping" }, + ], }, { diff --git a/docs/.vitepress/pt.ts b/docs/.vitepress/pt.ts index 5c19e04..51feac5 100644 --- a/docs/.vitepress/pt.ts +++ b/docs/.vitepress/pt.ts @@ -20,6 +20,8 @@ export const pt = defineConfig({ text: "Sobre", items: [ { text: "Benchmark", link: "/pt/about/benchmarks" }, + { text: "Ajudar e Doar", link: "/pt/about/helping" }, + ], }, { diff --git a/docs/.vitepress/zh_cn.ts b/docs/.vitepress/zh_cn.ts index 47a2b86..4bcb8f6 100644 --- a/docs/.vitepress/zh_cn.ts +++ b/docs/.vitepress/zh_cn.ts @@ -20,6 +20,8 @@ export const zhCN = defineConfig({ text: "关于", items: [ { text: "性能基准", link: "/zh_cn/about/benchmarks" }, + { text: "帮助与捐赠", link: "/zh_cn/about/helping" }, + ], }, { diff --git a/docs/de/about/helping.md b/docs/de/about/helping.md new file mode 100644 index 0000000..81b4d4a --- /dev/null +++ b/docs/de/about/helping.md @@ -0,0 +1,39 @@ +# Helfen & Spenden an Pumpkin + +Vielen Dank für Ihr Interesse an der Unterstützung von Pumpkin! Egal, ob Sie Entwickler, Serveradministrator oder Minecraft-Enthusiast sind, es gibt viele Möglichkeiten, wie Sie helfen können. + +--- + +## 1. Fehler melden & Funktionsvorschläge + +Wenn Sie Fehler, Abstürze oder unerwartetes Verhalten bei der Verwendung von Pumpkin feststellen, hilft uns das Öffnen eines GitHub-Issues, Probleme schnell zu verfolgen und zu beheben. +- **Bestehende Issues prüfen**: Durchsuchen Sie [Pumpkin GitHub Issues](https://github.com/Pumpkin-MC/Pumpkin/issues), bevor Sie ein neues Ticket eröffnen. +- **Reproduktionsschritte angeben**: Geben Sie klare Schritte, Serverprotokolle und Systemdetails an. +- **Issue-Vorlagen verwenden**: Wählen Sie die entsprechende Issue-Vorlage auf GitHub aus. + +--- + +## 2. Code- & Dokumentations-Pull-Requests + +Wir freuen uns über Code-Beiträge, Dokumentationsaktualisierungen und Fehlerbehebungen! +Für Code-Beiträge lesen Sie bitte unseren [Beitragsleitfaden](/developer/contributing). +> [!IMPORTANT] Code-Richtlinien +> - **Rust-Formatierung & Linting befolgen**: Führen Sie `cargo fmt` und `cargo clippy` aus. +> - **Architekturregeln respektieren**: Befolgen Sie bestehende modulare Strukturen. +> - **Saubere Commits & PRs**: Halten Sie Pull-Requests auf ein einzelnes Thema fokussiert. +> - **Große Änderungen besprechen**: Besprechen Sie sich auf [Discord](https://discord.gg/RNm224ZsDq). + +--- + +## 3. Finanzielle Unterstützung & Spenden + +Die Pflege einer hochleistungsfähigen Minecraft-Server-Software erfordert viel Mühe und Ressourcen. +- **Sponsoring & Spenden**: Sehen Sie sich unsere Finanzierungsoptionen auf [GitHub Sponsors](https://github.com/sponsors/Pumpkin-MC) oder auf unserer offiziellen Website [pumpkinmc.org](https://pumpkinmc.org/) an. +- **Server-Infrastruktur**: Sie können auch durch die Bereitstellung von Testumgebungen helfen. + +--- + +## 4. Community & Support + +- **Discord-Community**: [Treten Sie dem Pumpkin-Discord bei](https://discord.gg/RNm224ZsDq) +- **GitHub-Diskussionen**: Teilen Sie Feedback auf [Pumpkin GitHub Discussions](https://github.com/Pumpkin-MC/Pumpkin/discussions) diff --git a/docs/de/config/authentication.md b/docs/de/config/authentication.md index 65ce4a8..b58b112 100644 --- a/docs/de/config/authentication.md +++ b/docs/de/config/authentication.md @@ -13,8 +13,8 @@ Ob Authentifizierung aktiviert ist oder nicht. :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] enabled = false ``` @@ -26,8 +26,8 @@ Ob Proxy‑Verbindungen blockiert werden. :::code-group -```toml [features.toml] {3} -[authentication] +```toml [pumpkin.toml] {3} +[networking.java.authentication] enabled = true prevent_proxy_connections = true ``` @@ -47,8 +47,8 @@ Die URL, gegen die authentifiziert wird. Nutzt Mojangs Session‑Server, wenn ni :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] auth_url = "[custom auth server here]" ``` @@ -68,8 +68,8 @@ Die URL für Authentifizierung, falls `prevent_proxy_connections` aktiviert ist. :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] prevent_proxy_connection_auth_url = "[custom auth server here]" ``` @@ -83,7 +83,7 @@ Spieler zulassen, die von Mojang markiert sind. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [authentication.player_profile] allow_banned_players = true ``` @@ -96,7 +96,7 @@ Welche Aktionen erlaubt sind, falls `allow_banned_players` aktiviert ist. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.player_profile] allow_banned_players = true allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] @@ -112,7 +112,7 @@ Ob Spielertexturen (z. B. Skins / Capes) gefiltert / validiert werden. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [authentication.textures] enabled = true ``` @@ -125,7 +125,7 @@ Erlaubte URL‑Schemes für Texturen. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures] enabled = true allowed_url_schemes = ["http", "https"] @@ -139,7 +139,7 @@ Erlaubte URL‑Domains für Texturen. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures] enabled = true allowed_url_domains = [".minecraft.net", ".mojang.com"] @@ -155,7 +155,7 @@ Ob Spielerskins genutzt werden. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] skin = true ``` @@ -168,7 +168,7 @@ Ob Spieler‑Capes genutzt werden. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] cape = true ``` @@ -181,7 +181,7 @@ Ob Elytren genutzt werden. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] elytra = true ``` @@ -193,8 +193,8 @@ elytra = true Standardmäßig ist Authentifizierung aktiviert und nutzt Mojangs Server. Hier die Default‑Konfiguration: :::code-group -```toml [features.toml] -[authentication] +```toml [pumpkin.toml] +[networking.java.authentication] enabled = true prevent_proxy_connections = false diff --git a/docs/de/config/basic.md b/docs/de/config/basic.md index 7ba5348..b2d82ee 100644 --- a/docs/de/config/basic.md +++ b/docs/de/config/basic.md @@ -1,6 +1,6 @@ # Grundkonfiguration -Entspricht `configuration.toml` +Entspricht `pumpkin.toml` ## Serveradresse @@ -8,8 +8,184 @@ Die Adresse, an die der Server gebunden wird. :::code-group -```toml [configuration.toml] {2} -server_address = "0.0.0.0:25565" +```toml +seed = "1785537519969227430" +default_difficulty = "Normal" +op_permission_level = 4 +allow_nether = true +allow_end = true +hardcore = false +tps = 20.0 +default_gamemode = "Survival" +force_gamemode = false +scrub_ips = true +use_favicon = true +default_level_name = "world" +allow_chat_reports = false +white_list = false +enforce_whitelist = false + +[logging] +enabled = true +threads = true +color = true +timestamp = true +file = "latest.log" + +[resource_pack.java] +enabled = false +url = "" +sha1 = "" +prompt_message = "" +force = false + +[resource_pack.bedrock] +enabled = false +force = false +packs = [] + +[world] +lighting = "default" +autosave_ticks = 0 + +[world.chunk] +type = "anvil" +write_in_place = false + +[world.chunk.compression] +algorithm = "LZ4" +level = 6 + +[networking.query] +enabled = true +address = "0.0.0.0:25565" + +[networking.rcon] +enabled = false +address = "0.0.0.0:25575" +password = "" +max_connections = 10 + +[networking.rcon.logging] +logged_successfully = true +wrong_password = true +commands = true +quit = true + +[networking.proxy] +enabled = false + +[networking.proxy.velocity] +enabled = false +secret = "" + +[networking.proxy.bungeecord] +enabled = false + +[networking.lan_broadcast] +enabled = false + +[networking.java] +enabled = true +address = "0.0.0.0:25565" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.java.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.java.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 +prevent_proxy_connections = false + +[networking.java.authentication.player_profile] +allow_banned_players = false +allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] + +[networking.java.authentication.textures] +enabled = true +allowed_url_schemes = ["http", "https"] +allowed_url_domains = [".minecraft.net", ".mojang.com"] + +[networking.java.authentication.textures.types] +skin = true +cape = true +elytra = true + +[networking.bedrock] +enabled = true +address = "0.0.0.0:19132" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.bedrock.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.bedrock.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 + +[commands] +use_console = true +use_tty = true +log_console = true +broadcast_console_to_ops = true +default_op_level = 0 + +[chat] +format = "<{DISPLAYNAME}> {MESSAGE}" + +[pvp] +enabled = true +hurt_animation = true +protect_creative = true +knockback = true +swing = true + +[server_links] +enabled = true +bug_report = "https://github.com/Pumpkin-MC/Pumpkin/issues" +support = "" +status = "" +feedback = "" +community = "" +website = "" +forums = "" +news = "" +announcements = "" + +[server_links.custom] + +[player_data] +save_player_data = true +save_player_cron_interval = 300 + +[fun] +april_fools = true + +[recipe] +send_recipes = true + +[plugins] +blocked_permissions = [] + +[advancement] +save_advancements = true ``` ::: @@ -20,7 +196,7 @@ Der Seed für die Weltgenerierung. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} seed = "" ``` @@ -32,7 +208,7 @@ Die maximale Anzahl an Spielern, die gleichzeitig auf dem Server erlaubt sind. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} max_players = 100000 ``` @@ -44,7 +220,7 @@ Die maximale Sichtweite für Spieler. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} view_distance = 10 ``` @@ -56,7 +232,7 @@ Die maximale Simulationsdistanz für Spieler. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} simulation_distance = 10 ``` @@ -68,7 +244,7 @@ Der standardmäßige Schwierigkeitsgrad. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_difficulty = "Normal" ``` @@ -87,7 +263,7 @@ Das Berechtigungslevel, das durch den Befehl `/op` vergeben wird. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} op_permission_level = 4 ``` @@ -99,7 +275,7 @@ Ob die Nether‑Dimension aktiviert ist. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} allow_nether = true ``` @@ -111,7 +287,7 @@ Ob die End‑Dimension aktiviert ist. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} allow_end = true ``` @@ -123,7 +299,7 @@ Ob der Server im Hardcore‑Modus läuft. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} hardcore = false ``` @@ -135,7 +311,7 @@ Ob der Online‑Modus aktiviert ist. Erfordert gültige Minecraft‑Konten. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} online_mode = true ``` @@ -150,7 +326,7 @@ Ob Paket‑Verschlüsselung aktiviert ist. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} encryption = true ``` @@ -162,7 +338,7 @@ encryption = true :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} motd = "A Blazingly fast Pumpkin Server!" ``` @@ -174,7 +350,7 @@ Die Ziel‑Tickrate des Servers. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} tps = 20.0 ``` @@ -186,7 +362,7 @@ Der Standard‑Spielmodus für Spieler. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_gamemode = "Survival" ``` @@ -206,7 +382,7 @@ Ob Spieler‑IP‑Adressen aus Logs entfernt werden. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} scrub_ips = true ``` @@ -218,7 +394,7 @@ Ob ein Server‑Favicon verwendet werden soll. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} use_favicon = true ``` @@ -230,7 +406,7 @@ Der Pfad zum Server‑Favicon. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} favicon_path = "icon.png" ``` diff --git a/docs/de/config/commands.md b/docs/de/config/commands.md index 1ea50e6..5d6fbcd 100644 --- a/docs/de/config/commands.md +++ b/docs/de/config/commands.md @@ -10,7 +10,7 @@ Ob Befehle aus der Konsole akzeptiert werden. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [commands] use_console = false ``` @@ -23,7 +23,7 @@ Ob Spieler‑Befehle in der Konsole protokolliert werden. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [commands] log_console = false ``` @@ -36,7 +36,7 @@ Standard‑Berechtigungslevel für alle Spieler. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_op_level = 0 ``` @@ -48,7 +48,7 @@ Standardmäßig erlaubt Pumpkin Befehle aus der Konsole und protokolliert alle S :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [commands] use_console = true log_console = true diff --git a/docs/de/config/compression.md b/docs/de/config/compression.md index 8da363c..d8123d9 100644 --- a/docs/de/config/compression.md +++ b/docs/de/config/compression.md @@ -13,7 +13,7 @@ Ob Paketkompression aktiviert ist oder nicht. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] enabled = true ``` @@ -29,7 +29,7 @@ Minimale Paketgröße, bei der der Server versucht, das Paket zu komprimieren. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] threshold = 256 ``` @@ -42,7 +42,7 @@ Wert zwischen 0 und 9: 0 deaktiviert die Kompression, 1 ist die schnellste (weni :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] level = 4 ``` @@ -55,7 +55,7 @@ Standardmäßig ist Kompression aktiviert. :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [packet_compression] enabled = true threshold = 256 diff --git a/docs/de/config/introduction.md b/docs/de/config/introduction.md index b3afb69..fabeac3 100644 --- a/docs/de/config/introduction.md +++ b/docs/de/config/introduction.md @@ -6,8 +6,8 @@ Pumpkin bietet ein robustes Konfigurationssystem, mit dem Nutzer verschiedenste Die Pumpkin‑Konfiguration ist in eine „Basic“-Konfiguration für schnelle und wichtige Änderungen und eine „Advanced“-Konfiguration aufgeteilt. -- `configuration.toml`: einfach, vergleichbar mit der Vanilla‑Datei `server.properties`. -- `features.toml`: enthält alle Pumpkin‑Features an einem Ort – eine umfangreiche Konfiguration. +- `pumpkin.toml`: einfach, vergleichbar mit der Vanilla‑Datei `server.properties`. +- `pumpkin.toml`: enthält alle Pumpkin‑Features an einem Ort – eine umfangreiche Konfiguration. ### Server‑Version diff --git a/docs/de/config/lan-broadcast.md b/docs/de/config/lan-broadcast.md index 036fe87..e9fcfe6 100644 --- a/docs/de/config/lan-broadcast.md +++ b/docs/de/config/lan-broadcast.md @@ -10,8 +10,8 @@ Ob LAN Broadcast aktiviert ist. :::code-group -```toml [features.toml] {2} -[lan_broadcast] +```toml [pumpkin.toml] {2} +[networking.lan_broadcast] enabled = true ``` @@ -26,8 +26,8 @@ Die MOTD, die an Clients gesendet wird; standardmäßig die Server‑MOTD. :::code-group -```toml [features.toml] {3} -[lan_broadcast] +```toml [pumpkin.toml] {3} +[networking.lan_broadcast] enabled = true motd = "[dein MOTD hier]" ``` @@ -43,8 +43,8 @@ Port, an den gebunden wird. Wenn nicht angegeben, Port 0 (beliebiger freier Port :::code-group -```toml [features.toml] {3} -[lan_broadcast] +```toml [pumpkin.toml] {3} +[networking.lan_broadcast] enabled = true port = 46733 ``` @@ -57,8 +57,8 @@ Standardmäßig ist LAN Broadcast deaktiviert. :::code-group -```toml [features.toml] -[lan_broadcast] +```toml [pumpkin.toml] +[networking.lan_broadcast] enabled = false motd = "[server MOTD hier]" port = 0 diff --git a/docs/de/config/logging.md b/docs/de/config/logging.md index 0d6ac66..bbb35e4 100644 --- a/docs/de/config/logging.md +++ b/docs/de/config/logging.md @@ -10,7 +10,7 @@ Ob Logging aktiviert ist oder nicht. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [logging] enabled = true ``` @@ -30,7 +30,7 @@ Die Protokoll‑Verbalität (Log‑Level). Mögliche Werte: :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true level = "Debug" @@ -44,7 +44,7 @@ Ob das Log‑Level über die Umgebungsvariable `RUST_LOG` gesteuert werden kann. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true env = true @@ -58,7 +58,7 @@ Ob Threads in Log‑Einträgen ausgegeben werden sollen. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true threads = false @@ -72,7 +72,7 @@ Ob die Konsolenausgabe farbig erfolgen soll. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true color = false @@ -86,7 +86,7 @@ Ob ein Zeitstempel in den Log‑Nachrichten ausgegeben werden soll. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true timestamp = false @@ -100,7 +100,7 @@ Standardmäßig ist Logging auf `Info` gesetzt und gibt farbige Ausgaben inklusi :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [logging] enabled = true level = "Info" diff --git a/docs/de/config/proxy.md b/docs/de/config/proxy.md index 000da65..c36f923 100644 --- a/docs/de/config/proxy.md +++ b/docs/de/config/proxy.md @@ -16,8 +16,8 @@ Aktiviert die Proxy‑Unterstützung. :::code-group -```toml [features.toml]{2} -[proxy] +```toml [pumpkin.toml]{2} +[networking.proxy] enabled = true ``` @@ -31,7 +31,7 @@ Ob Velocity‑Support aktiviert ist. :::code-group -```toml [features.toml]{2} +```toml [pumpkin.toml]{2} [proxy.velocity] enabled = true ``` @@ -44,7 +44,7 @@ Das in Velocity konfigurierte Geheimnis. :::code-group -```toml [features.toml]{3} +```toml [pumpkin.toml]{3} [proxy.velocity] enabled = true secret = "[proxy secret hier]" @@ -60,7 +60,7 @@ Ob BungeeCord‑Support aktiviert ist. :::code-group -```toml [features.toml]{2} +```toml [pumpkin.toml]{2} [proxy.bungeecord] enabled = true ``` @@ -76,8 +76,8 @@ Standardmäßig ist Proxy‑Support deaktiviert. Die Default‑Konfiguration: :::code-group -```toml [features.toml] -[proxy] +```toml [pumpkin.toml] +[networking.proxy] enabled = false [proxy.velocity] diff --git a/docs/de/config/pvp.md b/docs/de/config/pvp.md index 66b4739..dd3ac86 100644 --- a/docs/de/config/pvp.md +++ b/docs/de/config/pvp.md @@ -10,7 +10,7 @@ Ob PVP aktiviert ist. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] enabled = true ``` @@ -23,7 +23,7 @@ Ob die rote Treffer‑Animation und FOV‑Bobbing angezeigt werden. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] hurt_animation = true ``` @@ -36,7 +36,7 @@ Ob Spieler im Kreativmodus vor PVP geschützt werden. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] protect_creative = true ``` @@ -49,7 +49,7 @@ Ob Angriffe Rückstoß haben. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] knockback = true ``` @@ -62,7 +62,7 @@ Ob Spieler beim Angriff die Arm‑Schwung‑Animation ausführen. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] swing = true ``` @@ -75,7 +75,7 @@ Standardmäßig sind alle PVP‑Optionen aktiviert, um das Vanilla‑Verhalten a :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [pvp] enabled = true hurt_animation = true diff --git a/docs/de/config/query.md b/docs/de/config/query.md index 670c388..ce5e64d 100644 --- a/docs/de/config/query.md +++ b/docs/de/config/query.md @@ -11,8 +11,8 @@ Ob auf Query‑Anfragen gehört werden soll oder nicht. :::code-group -```toml [features.toml] {2} -[query] +```toml [pumpkin.toml] {2} +[networking.query] enabled = true ``` @@ -25,8 +25,8 @@ Serverport verwendet. :::code-group -```toml [features.toml] {3} -[query] +```toml [pumpkin.toml] {3} +[networking.query] enabled = true address = "0.0.0.0:12345" ``` @@ -39,8 +39,8 @@ Standardmäßig ist Query deaktiviert. Wenn es aktiviert ist und kein Port angeg :::code-group -```toml [features.toml] -[query] +```toml [pumpkin.toml] +[networking.query] enabled = true address = "0.0.0.0:25565" ``` diff --git a/docs/de/config/rcon.md b/docs/de/config/rcon.md index 3385558..3db2205 100644 --- a/docs/de/config/rcon.md +++ b/docs/de/config/rcon.md @@ -8,8 +8,8 @@ RCON ist ein Protokoll, mit dem du den Server remote von einem anderen Gerät ve :::code-group -```toml [features.toml] {2} -[rcon] +```toml [pumpkin.toml] {2} +[networking.rcon] enabled = true ``` @@ -21,8 +21,8 @@ Adresse und Port, auf denen RCON lauschen soll. :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true address = "0.0.0.0:25575" ``` @@ -35,8 +35,8 @@ Das Passwort für RCON‑Authentifizierung. :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true password = "[dein sicheres passwort hier]" ``` @@ -49,8 +49,8 @@ Maximale Anzahl gleichzeitiger RCON‑Verbindungen. `0` deaktiviert das Limit. :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true max_connections = 5 ``` @@ -65,7 +65,7 @@ Ob erfolgreiche Logins protokolliert werden. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_logged_successfully = true ``` @@ -78,7 +78,7 @@ Ob falsche Passwortversuche protokolliert werden. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_logged_successfully = true ``` @@ -91,7 +91,7 @@ Ob von RCON ausgeführte Befehle protokolliert werden. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_commands = true ``` @@ -104,7 +104,7 @@ Ob das Beenden eines RCON‑Clients protokolliert wird. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_quit = true ``` @@ -117,8 +117,8 @@ Standardmäßig ist RCON deaktiviert. :::code-group -```toml [features.toml] -[rcon] +```toml [pumpkin.toml] +[networking.rcon] enabled = false address = "0.0.0.0:25575" password = "" diff --git a/docs/de/config/resource-pack.md b/docs/de/config/resource-pack.md index d7dc5f7..7a633be 100644 --- a/docs/de/config/resource-pack.md +++ b/docs/de/config/resource-pack.md @@ -13,8 +13,8 @@ Ob ein Ressourcenpaket aktiviert ist. :::code-group -```toml [features.toml] {2} -[resource_pack] +```toml [pumpkin.toml] {2} +[resource_pack.java] enabled = true ``` @@ -29,8 +29,8 @@ Direkte Download‑URL des Ressourcenpakets. :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true resource_pack_url = "[dein download URL hier]" ``` @@ -66,8 +66,8 @@ sha1sum [file] :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true resource_pack_sha1 = "[dein hash hier]" ``` @@ -80,8 +80,8 @@ Die Nachricht, die dem Spieler beim Herunterladen angezeigt wird. :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true prompt_message = "[deine Nachricht hier]" ``` @@ -94,8 +94,8 @@ Ob der Client gezwungen wird, das Ressourcenpaket zu laden. Lehnt der Client ab, :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true force = false ``` @@ -108,8 +108,8 @@ Standardmäßig wird kein Ressourcenpaket an Clients gesendet. :::code-group -```toml [features.toml] -[resource_pack] +```toml [pumpkin.toml] +[resource_pack.java] enabled = false resource_pack_url = "" resource_pack_sha1 = "" diff --git a/docs/de/developer/networking/authentication.md b/docs/de/developer/networking/authentication.md index 2cdd4e0..69174f1 100644 --- a/docs/de/developer/networking/authentication.md +++ b/docs/de/developer/networking/authentication.md @@ -6,7 +6,7 @@ Offline‑Accounts (Accounts, die nur aus dem Spielernamen generiert werden, ohn ## Offline‑Server -Standardmäßig ist `online_mode` in der Konfiguration aktiviert. Das schaltet Authentifizierung ein und verhindert Offline‑Accounts. Um Offline‑Accounts zu erlauben, setze `online_mode` in `configuration.toml` auf `false`. +Standardmäßig ist `online_mode` in der Konfiguration aktiviert. Das schaltet Authentifizierung ein und verhindert Offline‑Accounts. Um Offline‑Accounts zu erlauben, setze `online_mode` in `pumpkin.toml` auf `false`. ## Wie Yggdrasil Auth funktioniert @@ -18,7 +18,7 @@ Standardmäßig ist `online_mode` in der Konfiguration aktiviert. Das schaltet A ## Eigener Authentifizierungsserver -Pumpkin unterstützt eigene Auth‑Server. Die Auth‑URL kann in `features.toml` ersetzt werden. +Pumpkin unterstützt eigene Auth‑Server. Die Auth‑URL kann in `pumpkin.toml` ersetzt werden. ### Pumpkin Auth Ablauf diff --git a/docs/de/troubleshooting/common_issues.md b/docs/de/troubleshooting/common_issues.md index c5ffc44..1cae33b 100644 --- a/docs/de/troubleshooting/common_issues.md +++ b/docs/de/troubleshooting/common_issues.md @@ -6,4 +6,4 @@ **Ursache:** Das hängt mit der Authentifizierung zusammen, häufig mit der Einstellung `prevent_proxy_connections`. - **Lösung:** Deaktiviere `prevent_proxy_connections` in `features.toml`. + **Lösung:** Deaktiviere `prevent_proxy_connections` in `pumpkin.toml`. diff --git a/docs/en/about/helping.md b/docs/en/about/helping.md new file mode 100644 index 0000000..48c0092 --- /dev/null +++ b/docs/en/about/helping.md @@ -0,0 +1,46 @@ +# Helping & Donating to Pumpkin + +Thank you for your interest in supporting Pumpkin! Whether you are a developer, a server administrator, or a Minecraft enthusiast, there are many ways you can help out. + +--- + +## 1. Reporting Issues & Feature Suggestions + +If you encounter bugs, crashes, or unexpected behavior while using Pumpkin, opening a GitHub issue helps us track and resolve problems quickly. + +- **Check existing issues**: Search [Pumpkin GitHub Issues](https://github.com/Pumpkin-MC/Pumpkin/issues) before opening a new ticket to avoid duplicates. +- **Provide reproduction steps**: Include clear steps, server logs, expected vs. actual behavior, and system details. +- **Use issue templates**: Select the appropriate issue template (Bug Report or Feature Request) on GitHub. + +--- + +## 2. Code & Documentation Pull Requests + +We welcome code contributions, documentation updates, and bug fixes! + +For code contributions, please read our dedicated [Contributing Guide](/developer/contributing) for full instructions on setting up your environment, decompiling Minecraft logic, and submitting Pull Requests. + +> [!IMPORTANT] Code Guidelines +> When contributing code to Pumpkin, please adhere to our project guidelines: +> - **Follow Rust Formatting & Linting**: Run `cargo fmt` and `cargo clippy` before submitting your PR. +> - **Respect Architectural Rules**: Follow existing modular structure and async practices. +> - **Clean Commits & PRs**: Keep Pull Requests focused on a single topic with clear commit messages. +> - **Discuss Large Changes**: Before working on major features or architectural rewrites, open a GitHub Discussion/Issue or talk with maintainers in [our Discord server](https://discord.gg/RNm224ZsDq). + +--- + +## 3. Financial Support & Donating + +Maintaining and advancing high-performance Minecraft server software requires dedicated effort and resources. If you would like to financially back the development of Pumpkin: + +- **Sponsorship & Donations**: Check out our funding options on [GitHub Sponsors](https://github.com/sponsors/Pumpkin-MC) or links on our official site [pumpkinmc.org](https://pumpkinmc.org/). +- **Server Infrastructure**: You can also assist by providing benchmark test environments, hardware hosting, or testing infrastructure. + +--- + +## 4. Community & Support + +Join our community to help answer user questions, test pre-release features, and discuss ideas: + +- **Discord Community**: [Join the Pumpkin Discord](https://discord.gg/RNm224ZsDq) +- **GitHub Discussions**: Share feedback and ideas on [Pumpkin GitHub Discussions](https://github.com/Pumpkin-MC/Pumpkin/discussions) diff --git a/docs/en/config/authentication.md b/docs/en/config/authentication.md index c18f77a..aabb43f 100644 --- a/docs/en/config/authentication.md +++ b/docs/en/config/authentication.md @@ -1,216 +1,65 @@ # Authentication -Servers authenthicate with Mojang's session servers in order to ensure the client is playing on a legitimate, paid account. Pumpkin allows you to fully configure authentication. +Pumpkin verifies accounts with Mojang's session servers to ensure players use legitimate accounts. Authentication settings are configured under `[networking.java.authentication]` and `[networking.bedrock.authentication]` in `pumpkin.toml`. -## Configuring Authentication - -> [!WARNING] -> Most servers should not change the default authenthication configuration. Doing so may have unintended consequences. **Only change these settings if you know what you are doing!** - -#### `enabled`: Boolean - -Whether authenthication is enabled or not. +## Java Edition Authentication :::code-group -```toml [features.toml] {2} -[authentication] -enabled = false -``` - -::: - -#### `prevent_proxy_connections`: Boolean - -Whether to block proxy connections or not. - -:::code-group - -```toml [features.toml] {3} -[authentication] -enabled = true -prevent_proxy_connections = true -``` - -::: - -#### `url`: String (optional) - -The URL to authenthicate with. Uses Mojang's session servers to authenthicate if not specified. - -##### Placeholders - -| Placeholder | Description | -| --------------- | ------------------ | -| `{username}` | Player username | -| `{server_hash}` | Hash of the server | - -:::code-group - -```toml [features.toml] {2} -[authentication] -url = "[custom auth server here]" -``` - -::: - -#### `prevent_proxy_connection_auth_url`: String (optional) - -The URL to authenthicate with if `prevent_proxy_connections` is enabled. Uses Mojang's session servers to authenthicate if not specified. - -##### Placeholders - -| Placeholder | Description | -| --------------- | ------------------------ | -| `{username}` | Player username | -| `{server_hash}` | Hash of the server | -| `{ip}` | IP Address of the player | - -:::code-group - -```toml [features.toml] {2} -[authentication] -prevent_proxy_connection_auth_url = "[custom auth server here]" -``` - -::: - -### Player Profile - -#### `allow_banned_players`: Boolean - -Allow players flagged by Mojang. - -:::code-group - -```toml [features.toml] {2} -[authentication.player_profile] -allow_banned_players = true -``` - -::: - -#### `allowed_actions`: String Array - -What actions are allowed if `allow_banned_players` is enabled. - -:::code-group - -```toml [features.toml] {3} -[authentication.player_profile] -allow_banned_players = true -allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] -``` - -::: - -### Textures - -#### `enabled`: Boolean - -Whether to filter/validate player textures (e.g. skins/capes). - -:::code-group - -```toml [features.toml] {2} -[authentication.textures] -enabled = true -``` - -::: - -#### `allowed_url_schemes`: String Array - -Allowed URL schemes for textures. - -:::code-group - -```toml [features.toml] {3} -[authentication.textures] -enabled = true -allowed_url_schemes = ["http", "https"] -``` - -::: - -#### `allowed_url_domains`: String Array - -Allowed URL domains for textures. - -:::code-group - -```toml [features.toml] {3} -[authentication.textures] -enabled = true -allowed_url_domains = [".minecraft.net", ".mojang.com"] -``` - -::: - -### Texture Types - -#### `skin`: Boolean - -Whether to use player skins or not. - -:::code-group - -```toml [features.toml] {3} -[authentication.textures.types] -skin = true -``` - -::: - -#### `cape`: Boolean - -Whether to use player capes or not. - -:::code-group - -```toml [features.toml] {3} -[authentication.textures.types] -cape = true -``` - -::: - -#### `elytra`: Boolean - -Whether to use player elytras or not. - -:::code-group - -```toml [features.toml] {3} -[authentication.textures.types] -elytra = true -``` - -::: - -## Default Config - -By default, authentication is enabled and uses Mojang's servers. Here is the default config: -:::code-group - -```toml [features.toml] -[authentication] +```toml [pumpkin.toml] +[networking.java.authentication] enabled = true +connect_timeout = 5000 +read_timeout = 5000 prevent_proxy_connections = false -[authentication.player_profile] +[networking.java.authentication.player_profile] allow_banned_players = false allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] -[authentication.textures] +[networking.java.authentication.textures] enabled = true allowed_url_schemes = ["http", "https"] allowed_url_domains = [".minecraft.net", ".mojang.com"] -[authentication.textures.types] +[networking.java.authentication.textures.types] skin = true cape = true elytra = true ``` ::: + +### Configuration Options + +- **`enabled`**: Enables online authentication for Java clients. +- **`connect_timeout`**: Connection timeout in milliseconds when contacting auth servers. +- **`read_timeout`**: Read timeout in milliseconds when contacting auth servers. +- **`prevent_proxy_connections`**: Block proxy/VPN connections during authentication. + +### Player Profile Settings + +- **`allow_banned_players`**: Allow players flagged/banned by Mojang to connect. +- **`allowed_actions`**: Allowed actions when banned players connect (`"FORCED_NAME_CHANGE"`, `"USING_BANNED_SKIN"`). + +### Textures Settings + +- **`enabled`**: Enables player texture validation (skins, capes, elytras). +- **`allowed_url_schemes`**: URL schemes permitted for texture downloads (`["http", "https"]`). +- **`allowed_url_domains`**: Domains permitted for texture downloads (`[".minecraft.net", ".mojang.com"]`). +- **`types.skin`**: Enable custom skins. +- **`types.cape`**: Enable capes. +- **`types.elytra`**: Enable elytra textures. + +## Bedrock Edition Authentication + +:::code-group + +```toml [pumpkin.toml] +[networking.bedrock.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 +``` + +::: diff --git a/docs/en/config/basic.md b/docs/en/config/basic.md index aaf90d5..8239e17 100644 --- a/docs/en/config/basic.md +++ b/docs/en/config/basic.md @@ -1,237 +1,205 @@ -# Basic Configuration +# Configuration -Representing `configuration.toml` +Pumpkin uses a single `pumpkin.toml` file to configure all aspects of the server. Below is the complete structure of the configuration file with all available sections and default values. -## Server Address +## Complete Default `pumpkin.toml` -The address to bind the server to. - -:::code-group - -```toml [configuration.toml] {2} -server_address = "0.0.0.0:25565" -``` - -::: - -## Seed - -The seed for world generation. - -:::code-group - -```toml [configuration.toml] {2} -seed = "" -``` - -::: - -## Max players - -The maximum number of players allowed on the server. - -:::code-group - -```toml [configuration.toml] {2} -max_players = 100000 -``` - -::: - -## View distance - -The maximum view distance for players. - -:::code-group - -```toml [configuration.toml] {2} -view_distance = 10 -``` - -::: - -## Simulation distance - -The maximum simulation distance for players. - -:::code-group - -```toml [configuration.toml] {2} -simulation_distance = 10 -``` - -::: - -## Default difficulty - -The default game difficulty. - -:::code-group - -```toml [configuration.toml] {2} +```toml +seed = "1785537519969227430" default_difficulty = "Normal" -``` - -::: - -```toml -Peaceful -Easy -Normal -Hard -``` - -## Operation permission level - -The permission level assigned by the `/op` command. - -:::code-group - -```toml [configuration.toml] {2} op_permission_level = 4 -``` - -::: - -## Allow nether - -Whether the Nether dimension is enabled. - -:::code-group - -```toml [configuration.toml] {2} allow_nether = true -``` - -::: - -## Allow end - -Whether the End dimension is enabled. - -:::code-group - -```toml [configuration.toml] {2} allow_end = true -``` - -::: - -## Hardcore - -Whether the server is in hardcore mode. - -:::code-group - -```toml [configuration.toml] {2} hardcore = false -``` - -::: - -## Online Mode - -Whether online mode is enabled. Requires valid Minecraft accounts. - -:::code-group - -```toml [configuration.toml] {2} -online_mode = true -``` - -::: - -## Encryption - -Whether packet encryption is enabled. - -> [!IMPORTANT] -> Required when online mode is enabled. - -:::code-group - -```toml [configuration.toml] {2} -encryption = true -``` - -::: - -## MOTD - -Message of the Day; the server's description displayed on the status screen. - -:::code-group - -```toml [configuration.toml] {2} -motd = "A Blazingly fast Pumpkin Server!" -``` - -::: - -## TPS - -The server's target tick rate. - -:::code-group - -```toml [configuration.toml] {2} tps = 20.0 -``` - -::: - -## Default gamemode - -The default game mode for players. - -:::code-group - -```toml [configuration.toml] {2} default_gamemode = "Survival" -``` - -::: - -```toml -Undefined -Survival -Creative -Adventure -Spectator -``` - -## IP Scrubbing - -Whether to scrub players' IP addresses from logs. - -:::code-group - -```toml [configuration.toml] {2} +force_gamemode = false scrub_ips = true -``` - -::: - -## Use favicon - -Whether to use a server favicon or not. - -:::code-group - -```toml [configuration.toml] {2} use_favicon = true +default_level_name = "world" +allow_chat_reports = false +white_list = false +enforce_whitelist = false + +[logging] +enabled = true +threads = true +color = true +timestamp = true +file = "latest.log" + +[resource_pack.java] +enabled = false +url = "" +sha1 = "" +prompt_message = "" +force = false + +[resource_pack.bedrock] +enabled = false +force = false +packs = [] + +[world] +lighting = "default" +autosave_ticks = 0 + +[world.chunk] +type = "anvil" +write_in_place = false + +[world.chunk.compression] +algorithm = "LZ4" +level = 6 + +[networking.query] +enabled = true +address = "0.0.0.0:25565" + +[networking.rcon] +enabled = false +address = "0.0.0.0:25575" +password = "" +max_connections = 10 + +[networking.rcon.logging] +logged_successfully = true +wrong_password = true +commands = true +quit = true + +[networking.proxy] +enabled = false + +[networking.proxy.velocity] +enabled = false +secret = "" + +[networking.proxy.bungeecord] +enabled = false + +[networking.lan_broadcast] +enabled = false + +[networking.java] +enabled = true +address = "0.0.0.0:25565" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.java.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.java.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 +prevent_proxy_connections = false + +[networking.java.authentication.player_profile] +allow_banned_players = false +allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] + +[networking.java.authentication.textures] +enabled = true +allowed_url_schemes = ["http", "https"] +allowed_url_domains = [".minecraft.net", ".mojang.com"] + +[networking.java.authentication.textures.types] +skin = true +cape = true +elytra = true + +[networking.bedrock] +enabled = true +address = "0.0.0.0:19132" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.bedrock.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.bedrock.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 + +[commands] +use_console = true +use_tty = true +log_console = true +broadcast_console_to_ops = true +default_op_level = 0 + +[chat] +format = "<{DISPLAYNAME}> {MESSAGE}" + +[pvp] +enabled = true +hurt_animation = true +protect_creative = true +knockback = true +swing = true + +[server_links] +enabled = true +bug_report = "https://github.com/Pumpkin-MC/Pumpkin/issues" +support = "" +status = "" +feedback = "" +community = "" +website = "" +forums = "" +news = "" +announcements = "" + +[server_links.custom] + +[player_data] +save_player_data = true +save_player_cron_interval = 300 + +[fun] +april_fools = true + +[recipe] +send_recipes = true + +[plugins] +blocked_permissions = [] + +[advancement] +save_advancements = true ``` -::: +## Settings Breakdown -## Favicon path +### Top-Level Settings -The path to the server's favicon. - -:::code-group - -```toml [configuration.toml] {2} -favicon_path = "icon.png" -``` - -::: +- **`seed`**: Seed string for world generation. +- **`default_difficulty`**: Default difficulty (`"Peaceful"`, `"Easy"`, `"Normal"`, `"Hard"`). +- **`op_permission_level`**: Default permission level assigned to operators (1-4). +- **`allow_nether`**: Whether the Nether dimension is enabled. +- **`allow_end`**: Whether the End dimension is enabled. +- **`hardcore`**: Enables hardcore mode (players cannot respawn in survival). +- **`tps`**: Target ticks per second (default: `20.0`). +- **`default_gamemode`**: Default game mode (`"Survival"`, `"Creative"`, `"Adventure"`, `"Spectator"`). +- **`force_gamemode`**: Force players to join in the default gamemode. +- **`scrub_ips`**: Anonymize player IP addresses in logs. +- **`use_favicon`**: Enable server icon (`icon.png`). +- **`default_level_name`**: Name of the main world directory (default: `"world"`). +- **`allow_chat_reports`**: Enable signed chat reporting. +- **`white_list`**: Enable server whitelist. +- **`enforce_whitelist`**: Kick non-whitelisted players when whitelist is toggled on. diff --git a/docs/en/config/commands.md b/docs/en/config/commands.md index e4d8b64..ce10f68 100644 --- a/docs/en/config/commands.md +++ b/docs/en/config/commands.md @@ -1,58 +1,26 @@ # Commands -Pumpkin supports Vanilla commands and allows you to configure where they can be ran from. +Pumpkin supports Minecraft commands and allows configuring console, TTY, and permission behaviors in `pumpkin.toml`. -## Configuring Commands - -#### `use_console`: Boolean - -Whether commands from the console are accepted or not. +## Configuration :::code-group -```toml [features.toml] {2} -[commands] -use_console = false -``` - -::: - -#### `log_console`: Boolean - -Whether commands from players should be logged in the console or not. - -:::code-group - -```toml [features.toml] {2} -[commands] -log_console = false -``` - -::: - -## Operation permission level - -The default permission level for all players. - -:::code-group - -```toml [configuration.toml] {2} -default_op_level = 0 -``` - -::: - -## Default Config - -By default, Pumpkin will allow commands from console and log all commands run by players. - -:::code-group - -```toml [features.toml] +```toml [pumpkin.toml] [commands] use_console = true +use_tty = true log_console = true +broadcast_console_to_ops = true default_op_level = 0 ``` ::: + +### Configuration Options + +- **`use_console`**: Whether commands input via console are accepted. +- **`use_tty`**: Whether TTY support is enabled for the interactive console. +- **`log_console`**: Whether commands executed by players are logged to the console. +- **`broadcast_console_to_ops`**: Broadcast console command outputs to server operators. +- **`default_op_level`**: Default OP level assigned (0 to 4). diff --git a/docs/en/config/compression.md b/docs/en/config/compression.md index 56f1944..0fadde8 100644 --- a/docs/en/config/compression.md +++ b/docs/en/config/compression.md @@ -1,65 +1,54 @@ # Compression -Compression is used to reduce the size of packets. This is beneficial to reduce bandwidth server side and also to help players on slower internet connections. +Packet compression reduces bandwidth usage for both Java and Bedrock clients. In `pumpkin.toml`, compression is configured independently for Java and Bedrock networking, as well as world chunk compression. -## Configuring compression +## Network Compression -#### `enabled`: Boolean - -Whether packet compression is enabled or not. - -> [!TIP] -> It might be beneficial to disable compression if the server is behind a proxy. +### Java Edition :::code-group -```toml [features.toml] {2} -[packet_compression] -enabled = true -``` - -::: - -#### `threshold`: Integer (0-1024) - -The minimum packet size before the server attempts to compress the packet. - -> [!CAUTION] -> Increasing this value can hurt players on slower connections. - -:::code-group - -```toml [features.toml] {2} -[packet_compression] -threshold = 256 -``` - -::: - -#### `level`: Integer (0-9) - -A value between 0 to 9: 0 to disable compression, 1 being the fastest compression (at the cost of size), and 9 being maximum compression (at the cost of speed). - -:::code-group - -```toml [features.toml] {2} -[packet_compression] -level = 4 -``` - -::: - -## Default config - -By default, compression is enabled. - -:::code-group - -```toml [features.toml] -[packet_compression] +```toml [pumpkin.toml] +[networking.java.compression] enabled = true threshold = 256 level = 4 ``` ::: + +### Bedrock Edition + +:::code-group + +```toml [pumpkin.toml] +[networking.bedrock.compression] +enabled = true +threshold = 256 +level = 4 +``` + +::: + +### Configuration Options + +- **`enabled`**: Enables network packet compression. +- **`threshold`**: Minimum packet payload size (in bytes) required before triggering compression. +- **`level`**: Compression level (0 to 9, where higher values trade CPU time for smaller packet sizes). + +## World Chunk Compression + +Chunk compression settings control how stored world chunk data is compressed on disk. + +:::code-group + +```toml [pumpkin.toml] +[world.chunk.compression] +algorithm = "LZ4" +level = 6 +``` + +::: + +- **`algorithm`**: Compression algorithm used for chunk data (e.g. `"LZ4"`). +- **`level`**: Compression level for chunk data. diff --git a/docs/en/config/introduction.md b/docs/en/config/introduction.md index edd0e64..dee96b0 100644 --- a/docs/en/config/introduction.md +++ b/docs/en/config/introduction.md @@ -2,14 +2,13 @@ Pumpkin offers a robust configuration system that allows users to customize various aspects of the server's behavior without relying on external plugins. This provides flexibility and control over the server's operation. -### Basic / Advanced +### Configuration File -Pumpkin's configuration is split into a "basic" configuration made for quick changes and important changes, and a more "advanced" configuration +Pumpkin's configuration is stored in a single `pumpkin.toml` file. -- `config/configuration.toml`: simple and can be compared to the vanilla `server.properties`. -- `config/features.toml`: designed to have all features of pumpkin at one place, making it a large configuration +- `pumpkin.toml`: controls all server settings, features, networking, and behavior in one place. -You can create those two files under `config/` folder before running Pumpkin, or edit them after the initial run of Pumpkin. +You can create `pumpkin.toml` before running Pumpkin, or edit it after the initial run of Pumpkin. ### Server Version diff --git a/docs/en/config/lan-broadcast.md b/docs/en/config/lan-broadcast.md index e946248..d12a308 100644 --- a/docs/en/config/lan-broadcast.md +++ b/docs/en/config/lan-broadcast.md @@ -1,67 +1,18 @@ # LAN Broadcast -Pumpkin can advertise the server across the network in order to make it easier for local players to connect to the server easier. +Pumpkin can broadcast server announcements on the local network so LAN clients can easily discover and join the server. -## Configuring LAN Broadcast - -#### `enabled`: Boolean - -Whether LAN broadcast is enabled or not. +## Configuration :::code-group -```toml [features.toml] {2} -[lan_broadcast] -enabled = true -``` - -::: - -#### `motd`: String (optional) - -The MOTD to broadcast out to clients; uses the server's MOTD by default. - -> [!CAUTION] -> LAN broadcast MOTD does not support multiple lines, RGB colors, or gradients. Pumpkin does not verify the MOTD before broadcasting it. If the server MOTD is using these components, consider defining this field so that clients see a proper MOTD. - -:::code-group - -```toml [features.toml] {3} -[lan_broadcast] -enabled = true -motd = "[your MOTD here]" -``` - -::: - -#### `port`: Integer (0-65535) (optional) - -What port to bind to. If not specified, will bind to port 0 (any available port on the system). - -> [!IMPORTANT] -> The protocol defines what port to broadcast to. This option only exists to specify which port to bind to on the host. This option purely exists so that the port can be predictable. - -:::code-group - -```toml [features.toml] {3} -[lan_broadcast] -enabled = true -port = 46733 -``` - -::: - -## Default Config - -By default, LAN broadcast is disabled. - -:::code-group - -```toml [features.toml] -[lan_broadcast] +```toml [pumpkin.toml] +[networking.lan_broadcast] enabled = false -motd = "[server MOTD here]" -port = 0 ``` ::: + +### Configuration Options + +- **`enabled`**: Enables or disables broadcasting to local network clients. diff --git a/docs/en/config/logging.md b/docs/en/config/logging.md index 995ba14..7b9e3bb 100644 --- a/docs/en/config/logging.md +++ b/docs/en/config/logging.md @@ -1,113 +1,26 @@ # Logging -Pumpkin allows you to customize what you want in your logs. +Pumpkin provides customizable logging options in `pumpkin.toml`. -## Configuring Logging - -#### `enabled`: Boolean - -Whether logging is enabled or not. +## Configuration :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] [logging] enabled = true -``` - -::: - -#### `level`: Enum - -The log verbosity level. Possible values are: - -- Off -- Error -- Warn -- Info -- Debug -- Trace - -:::code-group - -```toml [features.toml] {3} -[logging] -enabled = true -level = "Debug" -``` - -::: - -#### `env`: Boolean - -Whether to allow choosing the log level by setting the `RUST_LOG` environment variable or not. - -:::code-group - -```toml [features.toml] {3} -[logging] -enabled = true -env = true -``` - -::: - -#### `threads`: Boolean - -Whether to print threads in the logging message or not. - -:::code-group - -```toml [features.toml] {3} -[logging] -enabled = true -threads = false -``` - -::: - -#### `color`: Boolean - -Whether to print to the console with color or not. - -:::code-group - -```toml [features.toml] {3} -[logging] -enabled = true -color = false -``` - -::: - -#### `timestamp`: Boolean - -Whether to print the timestamp in the message or not. - -:::code-group - -```toml [features.toml] {3} -[logging] -enabled = true -timestamp = false -``` - -::: - -## Default Config - -By default, logging is enabled at the `Info` level and will print with color, threads, and timestamps. - -:::code-group - -```toml [features.toml] -[logging] -enabled = true -level = "Info" -env = false threads = true color = true timestamp = true +file = "latest.log" ``` ::: + +### Configuration Options + +- **`enabled`**: Master switch to enable or disable logging. +- **`threads`**: Include thread names/IDs in log output. +- **`color`**: Enable ANSI color output in console logs. +- **`timestamp`**: Include timestamps in log entries. +- **`file`**: Path to the log file (e.g. `"latest.log"`). diff --git a/docs/en/config/proxy.md b/docs/en/config/proxy.md index e215a55..6173b3c 100644 --- a/docs/en/config/proxy.md +++ b/docs/en/config/proxy.md @@ -1,91 +1,28 @@ # Proxy -Many servers use proxies to manage connections and distribute players across servers. Pumpkin supports the following proxy protocols: +Pumpkin supports proxy protocols for network server setups. Support for Velocity and BungeeCord is configured under `[networking.proxy]` in `pumpkin.toml`. -- [Velocity](https://papermc.io/software/velocity) -- [BungeeCord](https://www.spigotmc.org/wiki/bungeecord-installation/) - -> [!TIP] -> Velocity is recommended for most server networks. Velocity is modern and more performant compared to BungeeCord. - -## Configuring Proxy - -#### `enabled`: Boolean - -Enables support for proxies. +## Configuration :::code-group -```toml [features.toml]{2} -[proxy] -enabled = true -``` - -::: - -### Velocity - -#### `enabled`: Boolean - -Whether Velocity support is enabled or not. - -:::code-group - -```toml [features.toml]{2} -[proxy.velocity] -enabled = true -``` - -::: - -#### `secret`: String - -The secret as configured in Velocity. - -:::code-group - -```toml [features.toml]{3} -[proxy.velocity] -enabled = true -secret = "[proxy secret here]" -``` - -::: - -### BungeeCord - -#### `enabled`: Boolean - -Whether BungeeCord support is enabled or not. - -:::code-group - -```toml [features.toml]{2} -[proxy.bungeecord] -enabled = true -``` - -::: - -> [!CAUTION] -> BungeeCord can't verify if player info is from your proxy or an imposter. Ensure that the server's firewall is correctly configured. - -## Default Config - -By default, proxy support is disabled. Here is the default config: - -:::code-group - -```toml [features.toml] -[proxy] +```toml [pumpkin.toml] +[networking.proxy] enabled = false -[proxy.velocity] +[networking.proxy.velocity] enabled = false secret = "" -[proxy.bungeecord] +[networking.proxy.bungeecord] enabled = false ``` ::: + +### Configuration Options + +- **`[networking.proxy].enabled`**: Master switch to enable proxy support. +- **`[networking.proxy.velocity].enabled`**: Enables Velocity forwarding protocol. +- **`[networking.proxy.velocity].secret`**: Forwarding secret matching Velocity proxy configuration. +- **`[networking.proxy.bungeecord].enabled`**: Enables BungeeCord forwarding protocol. diff --git a/docs/en/config/pvp.md b/docs/en/config/pvp.md index 3d1a7ed..b44937e 100644 --- a/docs/en/config/pvp.md +++ b/docs/en/config/pvp.md @@ -1,81 +1,12 @@ # PVP -PVP is a core part of the Vanilla mechanics, with even the smallest change affecting gameplay. Pumpkin allows you to fully configure PVP. +PVP behavior and combat mechanics are configured under `[pvp]` in `pumpkin.toml`. -## Configuring PVP - -#### `enabled`: Boolean - -Whether PVP is enabled or not. +## Configuration :::code-group -```toml [features.toml] {2} -[pvp] -enabled = true -``` - -::: - -#### `hurt_animation`: Boolean - -Whether to show red hurt animation and FOV bobbing or not. - -:::code-group - -```toml [features.toml] {2} -[pvp] -hurt_animation = true -``` - -::: - -#### `protect_creative`: Boolean - -Whether to protect players in creative against PVP or not. - -:::code-group - -```toml [features.toml] {2} -[pvp] -protect_creative = true -``` - -::: - -#### `knockback`: Boolean - -Whether attacks should have knockback or not. - -:::code-group - -```toml [features.toml] {2} -[pvp] -knockback = true -``` - -::: - -#### `swing`: Boolean - -Whether players should swing when attacking or not. - -:::code-group - -```toml [features.toml] {2} -[pvp] -swing = true -``` - -::: - -## Default Config - -By default, all PVP options are enabled in order to match vanilla behavior. - -:::code-group - -```toml [features.toml] +```toml [pumpkin.toml] [pvp] enabled = true hurt_animation = true @@ -85,3 +16,11 @@ swing = true ``` ::: + +### Configuration Options + +- **`enabled`**: Enables player-versus-player combat. +- **`hurt_animation`**: Shows hurt animations on attack. +- **`protect_creative`**: Prevents players in Creative mode from receiving PVP damage. +- **`knockback`**: Enables knockback effects upon receiving damage. +- **`swing`**: Enables arm swing animations during attacks. diff --git a/docs/en/config/query.md b/docs/en/config/query.md index 144e675..113cd00 100644 --- a/docs/en/config/query.md +++ b/docs/en/config/query.md @@ -1,46 +1,20 @@ # Query -The Query protocol is a simple way to query the server about its status. Pumpkin fully supports the Query protocol. +The Query protocol allows external applications (such as server lists or monitoring systems) to request status details from Pumpkin. -## Configuring Query - -#### `enabled`: Boolean - -Whether to listen for Query protocol requests or not. +## Configuration :::code-group -```toml [features.toml] {2} -[query] -enabled = true -``` - -::: - -#### `port`: Integer (0-65535) (optional) - -Which port to listen to Query protocol requests on. If not specified, it uses the same port as the server. - -:::code-group - -```toml [features.toml] {3} -[query] -enabled = true -address = "0.0.0.0:12345" -``` - -::: - -## Default Config - -By default, Query is disabled. It will run on the server port if enabled unless specified explicitly. - -:::code-group - -```toml [features.toml] -[query] +```toml [pumpkin.toml] +[networking.query] enabled = true address = "0.0.0.0:25565" ``` ::: + +### Configuration Options + +- **`enabled`**: Enables or disables the Query listener. +- **`address`**: Network address and port to bind the Query listener to. diff --git a/docs/en/config/rcon.md b/docs/en/config/rcon.md index a9c72c2..acab29a 100644 --- a/docs/en/config/rcon.md +++ b/docs/en/config/rcon.md @@ -1,134 +1,37 @@ # RCON -RCON is a protocol that allows you to remotely manage the server from a different device. Pumpkin has full support for RCON. +RCON allows remote administration of your Pumpkin server over a network connection. In `pumpkin.toml`, settings are placed under `[networking.rcon]`. -## Configuring RCON - -#### `enabled`: Boolean +## Configuration :::code-group -```toml [features.toml] {2} -[rcon] -enabled = true -``` - -::: - -#### `address`: String - -The address and port that RCON should listen to. - -:::code-group - -```toml [features.toml] {3} -[rcon] -enabled = true -address = "0.0.0.0:25575" -``` - -::: - -#### `password`: String - -The password to use for RCON authentication. - -:::code-group - -```toml [features.toml] {3} -[rcon] -enabled = true -password = "[your safe password here]" -``` - -::: - -#### `max_connections`: Integer - -The max number of RCON connections allowed at a single time. Set this to 0 to disable the limit. - -:::code-group - -```toml [features.toml] {3} -[rcon] -enabled = true -max_connections = 5 -``` - -::: - -### Logging - -#### `log_logged_successfully`: Boolean - -Whether successful logins should be logged to console or not. - -:::code-group - -```toml [features.toml] {2} -[rcon.logging] -log_logged_successfully = true -``` - -::: - -#### `log_wrong_password`: Boolean - -Whether wrong password attempts should be logged to console or not. - -:::code-group - -```toml [features.toml] {2} -[rcon.logging] -log_logged_successfully = true -``` - -::: - -#### `log_commands`: Boolean - -Whether to log commands ran from RCON to console or not. - -:::code-group - -```toml [features.toml] {2} -[rcon.logging] -log_commands = true -``` - -::: - -#### `log_quit`: Boolean - -Whether RCON client quit should be logged or not. - -:::code-group - -```toml [features.toml] {2} -[rcon.logging] -log_quit = true -``` - -::: - -## Default Config - -By default, RCON is disabled. - -:::code-group - -```toml [features.toml] -[rcon] +```toml [pumpkin.toml] +[networking.rcon] enabled = false address = "0.0.0.0:25575" password = "" -max_connections = 0 +max_connections = 10 -[rcon.logging] -log_logged_successfully = true -log_wrong_password = true -log_commands = true -log_quit = true +[networking.rcon.logging] +logged_successfully = true +wrong_password = true +commands = true +quit = true ``` ::: + +### RCON Settings + +- **`enabled`**: Master switch to enable RCON service. +- **`address`**: IP address and port to bind RCON server to. +- **`password`**: Password required for authenticating RCON clients. +- **`max_connections`**: Maximum concurrent RCON client connections allowed. + +### RCON Logging Settings + +- **`logged_successfully`**: Log successful client authentication events. +- **`wrong_password`**: Log failed authentication attempts (wrong password). +- **`commands`**: Log commands executed through RCON. +- **`quit`**: Log client disconnection events. diff --git a/docs/en/config/resource-pack.md b/docs/en/config/resource-pack.md index 2393675..dda8241 100644 --- a/docs/en/config/resource-pack.md +++ b/docs/en/config/resource-pack.md @@ -1,120 +1,45 @@ # Resource Pack -Servers can send resource packs to clients in order to change the appearance of the game on the client. Pumpkin allows you to fully configure the resource pack. +Pumpkin supports serving resource packs to Java and Bedrock clients. Resource pack options are configured under `[resource_pack.java]` and `[resource_pack.bedrock]` in `pumpkin.toml`. -> [!TIP] -> Minify your resource pack using [PackSquash](https://packsquash.aylas.org/)! This can help clients download the resource pack faster. - -## Configuring Resource Pack - -#### `enabled`: Boolean - -Whether a resource pack is enabled or not. +## Java Resource Pack :::code-group -```toml [features.toml] {2} -[resource_pack] -enabled = true -``` - -::: - -#### `resource_pack_url`: String - -The direct download URL to the resource pack. - -> [!TIP] -> You can host the resource pack for free at [MCPacks](https://mc-packs.net/). - -:::code-group - -```toml [features.toml] {3} -[resource_pack] -enabled = true -resource_pack_url = "[your download URL here]" -``` - -::: - -#### `resource_pack_sha1`: String - -The SHA1 hash of the resource pack. - -> [!IMPORTANT] -> Although not required to specify, you should specify this field because the client will otherwise redownload the resource pack every time they join the server, even if there are no changes to the resource pack. - -> [!WARNING] -> Make sure to update this field if the resource pack is modified. - -::: details How do I get the SHA1 hash of my resource pack? -::: code-group - -```powershell [Windows (PowerShell)] -Get-FileHash [file] SHA1 -``` - -```shell [Mac OS] -shasum -a 1 [file] -``` - -```shell [Linux] -sha1sum [file] -``` - -::: - -:::code-group - -```toml [features.toml] {3} -[resource_pack] -enabled = true -resource_pack_sha1 = "[your hash here]" -``` - -::: - -#### `prompt_message`: String - -The message to show to the user when prompted to download the resource pack. - -:::code-group - -```toml [features.toml] {3} -[resource_pack] -enabled = true -prompt_message = "[your message here]" -``` - -::: - -#### `force`: Boolean - -Whether to force the client to download the resource pack or not. If the client declines the download, they will be kicked from the server. - -:::code-group - -```toml [features.toml] {3} -[resource_pack] -enabled = true -force = false -``` - -::: - -## Default Config - -By default, no resource pack is sent to clients. - -:::code-group - -```toml [features.toml] -[resource_pack] +```toml [pumpkin.toml] +[resource_pack.java] enabled = false -resource_pack_url = "" -resource_pack_sha1 = "" +url = "" +sha1 = "" prompt_message = "" force = false ``` ::: + +### Options + +- **`enabled`**: Enable serving resource pack to Java clients. +- **`url`**: Direct download URL for the Java resource pack zip. +- **`sha1`**: SHA-1 checksum of the resource pack zip file. +- **`prompt_message`**: Message shown to players when prompted to download. +- **`force`**: Disconnect players who decline the resource pack download. + +## Bedrock Resource Pack + +:::code-group + +```toml [pumpkin.toml] +[resource_pack.bedrock] +enabled = false +force = false +packs = [] +``` + +::: + +### Options + +- **`enabled`**: Enable resource packs for Bedrock clients. +- **`force`**: Force Bedrock clients to download required packs. +- **`packs`**: Array of Bedrock resource pack definitions. diff --git a/docs/en/developer/networking/authentication.md b/docs/en/developer/networking/authentication.md index ed8758f..6d91597 100644 --- a/docs/en/developer/networking/authentication.md +++ b/docs/en/developer/networking/authentication.md @@ -6,7 +6,7 @@ Offline accounts, that is, accounts generated from a player's username without c ## Offline server -By default, `online_mode` is enabled in the configuration. This enables authentication, disabling offline accounts. If you want to allow offline accounts, you can disable `online_mode` in `configuration.toml`. +By default, `online_mode` is enabled in the configuration (`[networking.java.online_mode]` / `[networking.bedrock.online_mode]`). This enables authentication, disabling offline accounts. If you want to allow offline accounts, you can disable `online_mode` in `pumpkin.toml`. ## How Yggdrasil Auth works diff --git a/docs/en/troubleshooting/common_issues.md b/docs/en/troubleshooting/common_issues.md index 41325cc..81be6ce 100644 --- a/docs/en/troubleshooting/common_issues.md +++ b/docs/en/troubleshooting/common_issues.md @@ -6,4 +6,4 @@ **Cause:** This has to do with authentication, and usually with the `prevent_proxy_connections` setting. - **Fix:** Disable `prevent_proxy_connections` in `features.toml` + **Fix:** Disable `prevent_proxy_connections` under `[networking.java.authentication]` in `pumpkin.toml` diff --git a/docs/ja_jp/about/helping.md b/docs/ja_jp/about/helping.md new file mode 100644 index 0000000..8aee0ec --- /dev/null +++ b/docs/ja_jp/about/helping.md @@ -0,0 +1,39 @@ +# Pumpkinへのヘルプと寄付 + +Pumpkinのサポートにご関心をお寄せいただきありがとうございます!開発者、サーバー管理者、Minecraft愛好家のいずれであっても、役立つ方法はたくさんあります。 + +--- + +## 1. 問題の報告と機能の提案 + +Pumpkinの使用中にバグ、クラッシュ、または予期しない動作が発生した場合は、GitHubのissueを開くと、問題の追跡と解決に役立ちます。 +- **既存のissueを確認する**: 重複を避けるために[Pumpkin GitHub Issues](https://github.com/Pumpkin-MC/Pumpkin/issues)を検索してください。 +- **再現手順を提供する**: 明確な手順、サーバーログ、システム要件を含めてください。 +- **issueテンプレートを使用する**: 適切なテンプレートを選択してください。 + +--- + +## 2. コードとドキュメントのPull Request + +コードへの貢献、ドキュメントの更新、バグ修正を歓迎します! +コードの貢献については、[貢献ガイド](/developer/contributing)をお読みください。 +> [!IMPORTANT] コードのガイドライン +> - **RustのフォーマットとLintに従う**: `cargo fmt`と`cargo clippy`を実行してください。 +> - **アーキテクチャのルールを尊重する**: 既存のモジュール構造に従ってください。 +> - **クリーンなコミットとPR**: PRは1つのトピックに焦点を当ててください。 +> - **大きな変更について議論する**: [Discord](https://discord.gg/RNm224ZsDq)で話し合ってください。 + +--- + +## 3. 財政的支援と寄付 + +高性能なMinecraftサーバーソフトウェアの維持には多大な労力が必要です。 +- **スポンサーと寄付**: [GitHub Sponsors](https://github.com/sponsors/Pumpkin-MC)または[pumpkinmc.org](https://pumpkinmc.org/)の資金提供オプションを確認してください。 +- **サーバーインフラ**: テスト環境を提供することでも貢献できます。 + +--- + +## 4. コミュニティとサポート + +- **Discordコミュニティ**: [Pumpkin Discordに参加](https://discord.gg/RNm224ZsDq) +- **GitHubディスカッション**: [Pumpkin GitHub Discussions](https://github.com/Pumpkin-MC/Pumpkin/discussions)でアイデアを共有してください。 diff --git a/docs/ja_jp/troubleshooting/common_issues.md b/docs/ja_jp/troubleshooting/common_issues.md index 0aaba01..bbe9f0f 100644 --- a/docs/ja_jp/troubleshooting/common_issues.md +++ b/docs/ja_jp/troubleshooting/common_issues.md @@ -6,4 +6,4 @@ **原因:** これは認証に関連しており、通常は `prevent_proxy_connections` 設定に関係しています。 - **修正:** `features.toml` で `prevent_proxy_connections` を無効にしてください。 + **修正:** `pumpkin.toml` で `prevent_proxy_connections` を無効にしてください。 diff --git a/docs/nl/about/helping.md b/docs/nl/about/helping.md new file mode 100644 index 0000000..8534729 --- /dev/null +++ b/docs/nl/about/helping.md @@ -0,0 +1,39 @@ +# Helpen & Doneren aan Pumpkin + +Bedankt voor uw interesse in het ondersteunen van Pumpkin! Of u nu een ontwikkelaar, serverbeheerder of Minecraft-liefhebber bent, er zijn veel manieren waarop u kunt helpen. + +--- + +## 1. Problemen melden & Functiesuggesties + +Als u bugs, crashes of onverwacht gedrag ervaart tijdens het gebruik van Pumpkin, helpt het openen van een GitHub-issue ons om problemen snel op te sporen en op te lossen. +- **Bestaande issues controleren**: Zoek in [Pumpkin GitHub Issues](https://github.com/Pumpkin-MC/Pumpkin/issues). +- **Reproductiestappen opgeven**: Geef duidelijke stappen, serverlogboeken en systeemdetails op. +- **Issue-sjablonen gebruiken**: Selecteer het juiste issue-sjabloon op GitHub. + +--- + +## 2. Code & Documentatie Pull Requests + +We verwelkomen codebijdragen, documentatie-updates en bugfixes! +Lees voor codebijdragen onze [Bijdragegids](/developer/contributing). +> [!IMPORTANT] Code Richtlijnen +> - **Volg Rust Formattering & Linting**: Voer `cargo fmt` en `cargo clippy` uit. +> - **Respecteer Architectuurregels**: Volg de bestaande modulaire structuur. +> - **Schone Commits & PR's**: Houd Pull Requests gericht op één onderwerp. +> - **Grote wijzigingen bespreken**: Overleg op [Discord](https://discord.gg/RNm224ZsDq). + +--- + +## 3. Financiële Ondersteuning & Doneren + +Het onderhouden van krachtige Minecraft-serversoftware vereist veel inzet. +- **Sponsoring & Donaties**: Bekijk onze financieringsopties op [GitHub Sponsors](https://github.com/sponsors/Pumpkin-MC) of op [pumpkinmc.org](https://pumpkinmc.org/). +- **Serverinfrastructuur**: U kunt ook helpen door testomgevingen beschikbaar te stellen. + +--- + +## 4. Community & Ondersteuning + +- **Discord Community**: [Word lid van de Pumpkin Discord](https://discord.gg/RNm224ZsDq) +- **GitHub Discussies**: Deel feedback op [Pumpkin GitHub Discussions](https://github.com/Pumpkin-MC/Pumpkin/discussions) diff --git a/docs/nl/config/authentication.md b/docs/nl/config/authentication.md index 9c0d88d..1df058c 100644 --- a/docs/nl/config/authentication.md +++ b/docs/nl/config/authentication.md @@ -12,8 +12,8 @@ Servers authentiseren met de sessieservers van Mojang om ervoor te zorgen dat de Of authenticatie is ingeschakeld of niet. :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] enabled = false ``` ::: @@ -23,8 +23,8 @@ enabled = false Of proxyverbindingen moeten worden geblokkeerd of niet. :::code-group -```toml [features.toml] {3} -[authentication] +```toml [pumpkin.toml] {3} +[networking.java.authentication] enabled = true prevent_proxy_connections = true ``` @@ -40,8 +40,8 @@ De URL om te authenticeren. Gebruikt de sessieservers van Mojang om te authentic | `{server_hash}` | Hash van de server | :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] auth_url = "[aangepaste auth server hier]" ``` ::: @@ -57,8 +57,8 @@ De URL om te authenticeren als `prevent_proxy_connections` is ingeschakeld. Gebr | `{ip}` | IP-adres van de speler | :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] prevent_proxy_connection_auth_url = "[aangepaste auth server hier]" ``` ::: @@ -69,7 +69,7 @@ prevent_proxy_connection_auth_url = "[aangepaste auth server hier]" Sta spelers toe die door Mojang zijn gemarkeerd. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [authentication.player_profile] allow_banned_players = true ``` @@ -79,7 +79,7 @@ allow_banned_players = true Welke acties zijn toegestaan als `allow_banned_players` is ingeschakeld. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.player_profile] allow_banned_players = true allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] @@ -92,7 +92,7 @@ allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] Of spelertexturen (bijv. Skins/Capes) moeten worden gefilterd/gevalideerd. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [authentication.textures] enabled = true ``` @@ -102,7 +102,7 @@ enabled = true Toegestane URL-schema's voor texturen. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures] enabled = true allowed_url_schemes = ["http", "https"] @@ -113,7 +113,7 @@ allowed_url_schemes = ["http", "https"] Toegestane URL-domeinen voor texturen. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures] enabled = true allowed_url_domains = [".minecraft.net", ".mojang.com"] @@ -126,7 +126,7 @@ allowed_url_domains = [".minecraft.net", ".mojang.com"] Of speler skins moeten worden gebruikt of niet. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] skin = true ``` @@ -136,7 +136,7 @@ skin = true Of speler capes moeten worden gebruikt of niet. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] cape = true ``` @@ -146,7 +146,7 @@ cape = true Of speler elytra's moeten worden gebruikt of niet. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] elytra = true ``` @@ -155,8 +155,8 @@ elytra = true ## Standaardconfiguratie Standaard is authenticatie ingeschakeld en worden de servers van Mojang gebruikt. Hier is de standaardconfiguratie: :::code-group -```toml [features.toml] -[authentication] +```toml [pumpkin.toml] +[networking.java.authentication] enabled = true prevent_proxy_connections = false diff --git a/docs/nl/config/basic.md b/docs/nl/config/basic.md index ea6e479..eae9b32 100644 --- a/docs/nl/config/basic.md +++ b/docs/nl/config/basic.md @@ -1,14 +1,190 @@ # Basisconfiguratie -Vertegenwoordigt `configuration.toml` +Vertegenwoordigt `pumpkin.toml` ## Serveradres Het adres om de server aan te binden. :::code-group -```toml [configuration.toml] {2} -server_address = "0.0.0.0:25565" +```toml +seed = "1785537519969227430" +default_difficulty = "Normal" +op_permission_level = 4 +allow_nether = true +allow_end = true +hardcore = false +tps = 20.0 +default_gamemode = "Survival" +force_gamemode = false +scrub_ips = true +use_favicon = true +default_level_name = "world" +allow_chat_reports = false +white_list = false +enforce_whitelist = false + +[logging] +enabled = true +threads = true +color = true +timestamp = true +file = "latest.log" + +[resource_pack.java] +enabled = false +url = "" +sha1 = "" +prompt_message = "" +force = false + +[resource_pack.bedrock] +enabled = false +force = false +packs = [] + +[world] +lighting = "default" +autosave_ticks = 0 + +[world.chunk] +type = "anvil" +write_in_place = false + +[world.chunk.compression] +algorithm = "LZ4" +level = 6 + +[networking.query] +enabled = true +address = "0.0.0.0:25565" + +[networking.rcon] +enabled = false +address = "0.0.0.0:25575" +password = "" +max_connections = 10 + +[networking.rcon.logging] +logged_successfully = true +wrong_password = true +commands = true +quit = true + +[networking.proxy] +enabled = false + +[networking.proxy.velocity] +enabled = false +secret = "" + +[networking.proxy.bungeecord] +enabled = false + +[networking.lan_broadcast] +enabled = false + +[networking.java] +enabled = true +address = "0.0.0.0:25565" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.java.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.java.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 +prevent_proxy_connections = false + +[networking.java.authentication.player_profile] +allow_banned_players = false +allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] + +[networking.java.authentication.textures] +enabled = true +allowed_url_schemes = ["http", "https"] +allowed_url_domains = [".minecraft.net", ".mojang.com"] + +[networking.java.authentication.textures.types] +skin = true +cape = true +elytra = true + +[networking.bedrock] +enabled = true +address = "0.0.0.0:19132" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.bedrock.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.bedrock.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 + +[commands] +use_console = true +use_tty = true +log_console = true +broadcast_console_to_ops = true +default_op_level = 0 + +[chat] +format = "<{DISPLAYNAME}> {MESSAGE}" + +[pvp] +enabled = true +hurt_animation = true +protect_creative = true +knockback = true +swing = true + +[server_links] +enabled = true +bug_report = "https://github.com/Pumpkin-MC/Pumpkin/issues" +support = "" +status = "" +feedback = "" +community = "" +website = "" +forums = "" +news = "" +announcements = "" + +[server_links.custom] + +[player_data] +save_player_data = true +save_player_cron_interval = 300 + +[fun] +april_fools = true + +[recipe] +send_recipes = true + +[plugins] +blocked_permissions = [] + +[advancement] +save_advancements = true ``` ::: @@ -17,7 +193,7 @@ server_address = "0.0.0.0:25565" De seed voor wereldgeneratie. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} seed = "" ``` ::: @@ -27,7 +203,7 @@ seed = "" Het maximale aantal spelers dat op de server is toegestaan. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} max_players = 100000 ``` ::: @@ -37,7 +213,7 @@ max_players = 100000 De maximale zichtafstand voor spelers. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} view_distance = 10 ``` ::: @@ -47,7 +223,7 @@ view_distance = 10 De maximale simulatieafstand voor spelers. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} simulation_distance = 10 ``` ::: @@ -57,7 +233,7 @@ simulation_distance = 10 De standaard moeilijkheidsgraad van het spel. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_difficulty = "Normal" ``` ::: @@ -75,7 +251,7 @@ Hard Het op-niveau dat wordt toegewezen door het `/op`-commando. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} op_permission_level = 4 ``` ::: @@ -85,7 +261,7 @@ op_permission_level = 4 Of de Nether-dimensie is ingeschakeld. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} allow_nether = true ``` ::: @@ -95,7 +271,7 @@ allow_nether = true Of de End-dimensie is ingeschakeld. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} allow_end = true ``` ::: @@ -105,7 +281,7 @@ allow_end = true Of de server in hardcore modus is. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} hardcore = false ``` ::: @@ -115,7 +291,7 @@ hardcore = false Of de online modus is ingeschakeld. Vereist geldige Minecraft-accounts. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} online_mode = true ``` ::: @@ -128,7 +304,7 @@ Of pakketversleuteling is ingeschakeld. > Vereist wanneer de online modus is ingeschakeld. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} encryption = true ``` ::: @@ -138,7 +314,7 @@ encryption = true De beschrijving van de server die wordt weergegeven op het status scherm. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} motd = "A Blazingly fast Pumpkin Server!" ``` ::: @@ -148,7 +324,7 @@ motd = "A Blazingly fast Pumpkin Server!" De doel-tickrate van de server. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} tps = 20.0 ``` ::: @@ -158,7 +334,7 @@ tps = 20.0 De standaard spelmodus voor spelers. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_gamemode = "Survival" ``` ::: @@ -176,7 +352,7 @@ Spectator Of spelers-IP's uit logs moeten worden verwijderd. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} scrub_ips = true ``` ::: @@ -186,7 +362,7 @@ scrub_ips = true Of een server-favicon moet worden gebruikt of niet. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} use_favicon = true ``` ::: @@ -196,7 +372,7 @@ use_favicon = true Het pad naar de favicon van de server. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} favicon_path = "icon.png" ``` ::: diff --git a/docs/nl/config/commands.md b/docs/nl/config/commands.md index d603e42..217c674 100644 --- a/docs/nl/config/commands.md +++ b/docs/nl/config/commands.md @@ -6,7 +6,7 @@ Pumpkin ondersteunt vanillecommando's en stelt je in staat om te configureren wa Of commando's vanaf de console worden geaccepteerd of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [commands] use_console = false ``` @@ -16,7 +16,7 @@ use_console = false Of commando's van spelers in de console moeten worden gelogd of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [commands] log_console = false ``` @@ -27,7 +27,7 @@ log_console = false Het standaard permissieniveau voor alle spelers. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_op_level = 0 ``` ::: @@ -36,7 +36,7 @@ default_op_level = 0 Standaard staat Pumpkin commando's vanaf de console toe en logt alle commando's die door spelers worden uitgevoerd. :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [commands] use_console = true log_console = true diff --git a/docs/nl/config/compression.md b/docs/nl/config/compression.md index 114bcb6..157ffdf 100644 --- a/docs/nl/config/compression.md +++ b/docs/nl/config/compression.md @@ -10,7 +10,7 @@ Of pakketcompressie is ingeschakeld of niet. > Het kan voordelig zijn om compressie uit te schakelen als de server achter een proxy staat. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] enabled = true ``` @@ -24,7 +24,7 @@ De minimale pakketgrootte voordat de server probeert het pakket te comprimeren. > Het verhogen van deze waarde kan spelers met langzamere verbindingen schaden. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] threshold = 256 ``` @@ -35,7 +35,7 @@ threshold = 256 Een waarde tussen 0 en 9: 0 om compressie uit te schakelen, 1 is de snelste compressie (ten koste van de grootte), en 9 is maximale compressie (ten koste van de snelheid). :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] level = 4 ``` @@ -46,7 +46,7 @@ level = 4 Standaard is compressie ingeschakeld. :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [packet_compression] enabled = true threshold = 256 diff --git a/docs/nl/config/introduction.md b/docs/nl/config/introduction.md index 789314c..b4c938b 100644 --- a/docs/nl/config/introduction.md +++ b/docs/nl/config/introduction.md @@ -6,8 +6,8 @@ Pumpkin biedt een robuust configuratiesysteem waarmee gebruikers verschillende a De configuratie van Pumpkin is opgesplitst in een basisconfiguratie voor snelle en belangrijke wijzigingen en een meer geavanceerde configuratie. -- `configuration.toml`: eenvoudig en kan worden vergeleken met de vanille `server.properties`. -- `features.toml`: ontworpen om alle functies van Pumpkin op één plek te hebben, waardoor het een grote configuratie is. +- `pumpkin.toml`: eenvoudig en kan worden vergeleken met de vanille `server.properties`. +- `pumpkin.toml`: ontworpen om alle functies van Pumpkin op één plek te hebben, waardoor het een grote configuratie is. ### Serverversie diff --git a/docs/nl/config/lan-broadcast.md b/docs/nl/config/lan-broadcast.md index 9ff5f9b..d52547d 100644 --- a/docs/nl/config/lan-broadcast.md +++ b/docs/nl/config/lan-broadcast.md @@ -7,8 +7,8 @@ Pumpkin kan de server over het netwerk uitzenden om het voor lokale spelers gema Of LAN Broadcast is ingeschakeld of niet. :::code-group -```toml [features.toml] {2} -[lan_broadcast] +```toml [pumpkin.toml] {2} +[networking.lan_broadcast] enabled = true ``` ::: @@ -20,8 +20,8 @@ De MOTD om uit te zenden naar clients. Zal standaard de MOTD van de server gebru > LAN broadcast MOTD ondersteunt geen meerdere regels, RGB-kleuren of kleurverlopen. Pumpkin verifieert de MOTD niet voordat deze wordt uitgezonden. Als de server-MOTD deze componenten gebruikt, overweeg dan om dit veld in te vullen zodat clients een juiste MOTD zien. :::code-group -```toml [features.toml] {3} -[lan_broadcast] +```toml [pumpkin.toml] {3} +[networking.lan_broadcast] enabled = true motd = "[jouw MOTD hier]" ``` @@ -34,8 +34,8 @@ Op welke poort moet worden gebonden. Als dit niet is opgegeven, wordt poort 0 (e > Het protocol definieert naar welke poort moet worden uitgezonden. Deze optie bestaat alleen om op te geven op welke poort moet worden gebonden op de host. Deze optie bestaat puur zodat de poort voorspelbaar kan zijn. :::code-group -```toml [features.toml] {3} -[lan_broadcast] +```toml [pumpkin.toml] {3} +[networking.lan_broadcast] enabled = true port = 46733 ``` @@ -45,8 +45,8 @@ port = 46733 Standaard is LAN broadcast uitgeschakeld. :::code-group -```toml [features.toml] -[lan_broadcast] +```toml [pumpkin.toml] +[networking.lan_broadcast] enabled = false motd = "[server MOTD hier]" port = 0 diff --git a/docs/nl/config/logging.md b/docs/nl/config/logging.md index 13c8c6f..2d694b2 100644 --- a/docs/nl/config/logging.md +++ b/docs/nl/config/logging.md @@ -7,7 +7,7 @@ Pumpkin stelt je in staat om aan te passen wat je in je logs wilt hebben. Of logging is ingeschakeld of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [logging] enabled = true ``` @@ -23,7 +23,7 @@ Wat er moet worden gelogd. Mogelijke waarden zijn: - Trace :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true level = "Debug" @@ -34,7 +34,7 @@ level = "Debug" Of het mogelijk is om het logniveau te kiezen door de `RUST_LOG`-omgevingsvariabele in te stellen of niet. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true env = true @@ -45,7 +45,7 @@ env = true Of threads in het logbericht moeten worden weergegeven of niet. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true threads = false @@ -56,7 +56,7 @@ threads = false Of er met kleur naar de console moet worden geprint of niet. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true color = false @@ -67,7 +67,7 @@ color = false Of de tijdstempel in het bericht moet worden weergegeven of niet. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true timestamp = false @@ -78,7 +78,7 @@ timestamp = false Standaard is logging ingeschakeld en wordt er met kleur, threads en tijdstempel op het `Info`-niveau geprint. :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [logging] enabled = true level = "Info" diff --git a/docs/nl/config/proxy.md b/docs/nl/config/proxy.md index 9e9f370..b50b11b 100644 --- a/docs/nl/config/proxy.md +++ b/docs/nl/config/proxy.md @@ -14,8 +14,8 @@ Veel servers gebruiken proxies om verbindingen te beheren en spelers over server Schakelt ondersteuning voor proxies in. :::code-group -```toml [features.toml]{2} -[proxy] +```toml [pumpkin.toml]{2} +[networking.proxy] enabled = true ``` ::: @@ -27,7 +27,7 @@ enabled = true Of Velocity-ondersteuning is ingeschakeld of niet. :::code-group -```toml [features.toml]{2} +```toml [pumpkin.toml]{2} [proxy.velocity] enabled = true ``` @@ -38,7 +38,7 @@ enabled = true Het geheim zoals geconfigureerd in Velocity. :::code-group -```toml [features.toml]{3} +```toml [pumpkin.toml]{3} [proxy.velocity] enabled = true secret = "[proxy secret hier]" @@ -51,7 +51,7 @@ secret = "[proxy secret hier]" Of BungeeCord-ondersteuning is ingeschakeld of niet. :::code-group -```toml [features.toml]{2} +```toml [pumpkin.toml]{2} [proxy.bungeecord] enabled = true ``` @@ -64,8 +64,8 @@ enabled = true Standaard is proxy-ondersteuning uitgeschakeld. Hier is de standaardconfiguratie: :::code-group -```toml [features.toml] -[proxy] +```toml [pumpkin.toml] +[networking.proxy] enabled = false [proxy.velocity] diff --git a/docs/nl/config/pvp.md b/docs/nl/config/pvp.md index 0181987..2bcc077 100644 --- a/docs/nl/config/pvp.md +++ b/docs/nl/config/pvp.md @@ -7,7 +7,7 @@ PVP is een kernonderdeel van de vanillemechanica, waarbij zelfs de kleinste vera Of PVP is ingeschakeld of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] enabled = true ``` @@ -17,7 +17,7 @@ enabled = true Of de rode pijnanimatie en FOV-bobbing moeten worden weergegeven of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] hurt_animation = true ``` @@ -27,7 +27,7 @@ hurt_animation = true Of spelers in creatieve modus beschermd moeten worden tegen PVP of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] protect_creative = true ``` @@ -37,7 +37,7 @@ protect_creative = true Of aanvallen terugslag moeten hebben of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] knockback = true ``` @@ -47,7 +47,7 @@ knockback = true Of spelers moeten zwaaien bij het aanvallen of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] swing = true ``` @@ -57,7 +57,7 @@ swing = true Standaard zijn alle PVP-opties ingeschakeld om het vanillegedrag te evenaren. :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [pvp] enabled = true hurt_animation = true diff --git a/docs/nl/config/query.md b/docs/nl/config/query.md index a67a4b4..c4e37df 100644 --- a/docs/nl/config/query.md +++ b/docs/nl/config/query.md @@ -11,8 +11,8 @@ Of er geluisterd moet worden naar query-protocolverzoeken of niet. :::code-group -```toml [features.toml] {2} -[query] +```toml [pumpkin.toml] {2} +[networking.query] enabled = true ``` @@ -25,8 +25,8 @@ als de server gebruikt. :::code-group -```toml [features.toml] {3} -[query] +```toml [pumpkin.toml] {3} +[networking.query] enabled = true address = "0.0.0.0:12345" ``` @@ -39,8 +39,8 @@ Standaard is query uitgeschakeld. Het zal op de serverpoort draaien als het is i :::code-group -```toml [features.toml] -[query] +```toml [pumpkin.toml] +[networking.query] enabled = true address = "0.0.0.0:25565" ``` diff --git a/docs/nl/config/rcon.md b/docs/nl/config/rcon.md index 1d466af..c3a7bc6 100644 --- a/docs/nl/config/rcon.md +++ b/docs/nl/config/rcon.md @@ -6,8 +6,8 @@ RCON is een protocol waarmee je de server op afstand kunt beheren vanaf een ande #### `enabled`: Boolean :::code-group -```toml [features.toml] {2} -[rcon] +```toml [pumpkin.toml] {2} +[networking.rcon] enabled = true ``` ::: @@ -16,8 +16,8 @@ enabled = true Het adres en de poort waar RCON naar moet luisteren. :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true address = "0.0.0.0:25575" ``` @@ -27,8 +27,8 @@ address = "0.0.0.0:25575" Het wachtwoord dat gebruikt moet worden voor RCON-authenticatie. :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true password = "[je veilig wachtwoord hier]" ``` @@ -38,8 +38,8 @@ password = "[je veilig wachtwoord hier]" Het maximale aantal RCON-verbindingen dat tegelijkertijd is toegestaan. Stel in op 0 om een limiet uit te schakelen. :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true max_connections = 5 ``` @@ -50,7 +50,7 @@ max_connections = 5 Of succesvolle logins naar de console moeten worden gelogd of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_logged_successfully = true ``` @@ -60,7 +60,7 @@ log_logged_successfully = true Of verkeerde wachtwoordpogingen naar de console moeten worden gelogd of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_logged_successfully = true ``` @@ -70,7 +70,7 @@ log_logged_successfully = true Of commando's uitgevoerd vanaf RCON naar de console moeten worden gelogd of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_commands = true ``` @@ -80,7 +80,7 @@ log_commands = true Of het afsluiten van de RCON-client moet worden gelogd of niet. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_quit = true ``` @@ -90,8 +90,8 @@ log_quit = true Standaard is RCON uitgeschakeld. :::code-group -```toml [features.toml] -[rcon] +```toml [pumpkin.toml] +[networking.rcon] enabled = false address = "0.0.0.0:25575" password = "" diff --git a/docs/nl/config/resource-pack.md b/docs/nl/config/resource-pack.md index fcf9db4..c78857c 100644 --- a/docs/nl/config/resource-pack.md +++ b/docs/nl/config/resource-pack.md @@ -10,8 +10,8 @@ Servers kunnen resource packs naar de client sturen om het uiterlijk van het spe Of een resource pack is ingeschakeld of niet. :::code-group -```toml [features.toml] {2} -[resource_pack] +```toml [pumpkin.toml] {2} +[resource_pack.java] enabled = true ``` ::: @@ -23,8 +23,8 @@ De directe download URL naar de resource pack. > Je kunt de resource pack gratis hosten op [MCPacks](https://mc-packs.net/). :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true resource_pack_url = "[je download URL hier]" ``` @@ -53,8 +53,8 @@ sha1sum [bestand] ::: :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true resource_pack_sha1 = "[je hash hier]" ``` @@ -64,8 +64,8 @@ resource_pack_sha1 = "[je hash hier]" Het bericht dat aan de gebruiker wordt getoond wanneer gevraagd wordt om de resource pack te downloaden. :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true prompt_message = "[je bericht hier]" ``` @@ -75,8 +75,8 @@ prompt_message = "[je bericht hier]" Of de client gedwongen moet worden om de resource pack te downloaden of niet. Als de client de download weigert, worden ze van de server gekickt. :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true force = false ``` @@ -86,8 +86,8 @@ force = false Standaard is de resource pack uitgeschakeld. :::code-group -```toml [features.toml] -[resource_pack] +```toml [pumpkin.toml] +[resource_pack.java] enabled = false resource_pack_url = "" resource_pack_sha1 = "" diff --git a/docs/nl/developer/networking/authentication.md b/docs/nl/developer/networking/authentication.md index 1bc4ec3..76fde7d 100644 --- a/docs/nl/developer/networking/authentication.md +++ b/docs/nl/developer/networking/authentication.md @@ -3,7 +3,7 @@ Offline accounts, that is, accounts generated from a player's username without contacting an authorization or authentication server, can have any nickname chosen. This, without additional plugins, means that players can impersonate other players, including those with operator permissions. ### Offline server -By default, online_mode is enabled in the configuration. This enables authentication, disabling Offline Accounts. If you want to allow offline accounts, you can disable online_mode in the configuration.toml. +By default, online_mode is enabled in the configuration. This enables authentication, disabling Offline Accounts. If you want to allow offline accounts, you can disable online_mode in the pumpkin.toml. ### How Yggdrasil Auth works 1. The client gets an authentication token and UUID from the launcher @@ -14,7 +14,7 @@ By default, online_mode is enabled in the configuration. This enables authentica ### Custom Authentication Server -Pumpkin does support custom authentication servers. You can replace the authentication URL in `features.toml`. +Pumpkin does support custom authentication servers. You can replace the authentication URL in `pumpkin.toml`. #### How Pumpkin Authentication Works diff --git a/docs/nl/troubleshooting/common_issues.md b/docs/nl/troubleshooting/common_issues.md index 85f75f1..54248e5 100644 --- a/docs/nl/troubleshooting/common_issues.md +++ b/docs/nl/troubleshooting/common_issues.md @@ -6,4 +6,4 @@ **Oorzaak:** Dit heeft te maken met authenticatie, meestal met de instelling om proxyverbindingen te voorkomen. - **Oplossing:** Schakel `prevent_proxy_connections` uit in `features.toml` + **Oplossing:** Schakel `prevent_proxy_connections` uit in `pumpkin.toml` diff --git a/docs/pt/about/helping.md b/docs/pt/about/helping.md new file mode 100644 index 0000000..00430b2 --- /dev/null +++ b/docs/pt/about/helping.md @@ -0,0 +1,39 @@ +# Ajudar e Doar para Pumpkin + +Obrigado pelo seu interesse em apoiar o Pumpkin! Seja você um desenvolvedor, administrador de servidor ou entusiasta do Minecraft, existem muitas maneiras de ajudar. + +--- + +## 1. Relatando Problemas e Sugestões de Recursos + +Se você encontrar bugs, falhas ou comportamento inesperado ao usar o Pumpkin, abrir uma issue no GitHub nos ajuda a rastrear e resolver problemas rapidamente. +- **Verifique issues existentes**: Pesquise [Pumpkin GitHub Issues](https://github.com/Pumpkin-MC/Pumpkin/issues). +- **Forneça etapas de reprodução**: Inclua etapas claras, logs do servidor e detalhes do sistema. +- **Use modelos de issue**: Selecione o modelo apropriado no GitHub. + +--- + +## 2. Pull Requests de Código e Documentação + +Agradecemos contribuições de código, atualizações de documentação e correções de bugs! +Para contribuições de código, leia nosso [Guia de Contribuição](/developer/contributing). +> [!IMPORTANT] Diretrizes de Código +> - **Siga a Formatação e Linting do Rust**: Execute `cargo fmt` e `cargo clippy`. +> - **Respeite as Regras de Arquitetura**: Siga a estrutura modular existente. +> - **Commits e PRs Limpos**: Mantenha os Pull Requests focados em um único tópico. +> - **Discuta Grandes Mudanças**: Converse no [Discord](https://discord.gg/RNm224ZsDq). + +--- + +## 3. Suporte Financeiro e Doações + +Manter um software de servidor Minecraft de alto desempenho requer muito esforço. +- **Patrocínio e Doações**: Confira nossas opções de financiamento no [GitHub Sponsors](https://github.com/sponsors/Pumpkin-MC) ou [pumpkinmc.org](https://pumpkinmc.org/). +- **Infraestrutura de Servidor**: Você também pode ajudar fornecendo ambientes de teste. + +--- + +## 4. Comunidade e Suporte + +- **Comunidade Discord**: [Junte-se ao Pumpkin Discord](https://discord.gg/RNm224ZsDq) +- **Discussões do GitHub**: Compartilhe ideias no [Pumpkin GitHub Discussions](https://github.com/Pumpkin-MC/Pumpkin/discussions) diff --git a/docs/pt/config/authentication.md b/docs/pt/config/authentication.md index b164b9d..5a4e4c7 100644 --- a/docs/pt/config/authentication.md +++ b/docs/pt/config/authentication.md @@ -13,8 +13,8 @@ Define se a autenticação está habilitada ou não. :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] enabled = false ``` @@ -26,8 +26,8 @@ Define se deve bloquear conexões de proxy ou não. :::code-group -```toml [features.toml] {3} -[authentication] +```toml [pumpkin.toml] {3} +[networking.java.authentication] enabled = true prevent_proxy_connections = true ``` @@ -47,8 +47,8 @@ A URL para autenticar. Usa os servidores de sessão da Mojang para autenticaçã :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] auth_url = "[servidor de autenticação personalizado aqui]" ``` @@ -68,8 +68,8 @@ A URL para autenticar quando `prevent_proxy_connections` está habilitado. Usa o :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] prevent_proxy_connection_auth_url = "[servidor de autenticação personalizado aqui]" ``` @@ -83,7 +83,7 @@ Permitir jogadores banidos pela Mojang. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [authentication.player_profile] allow_banned_players = true ``` @@ -96,7 +96,7 @@ Quais ações são permitidas se `allow_banned_players` estiver habilitado. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.player_profile] allow_banned_players = true allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] @@ -112,7 +112,7 @@ Define se as texturas dos jogadores (por exemplo, skins/capas) devem ser filtrad :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [authentication.textures] enabled = true ``` @@ -125,7 +125,7 @@ Esquemas URL permitidos para texturas. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures] enabled = true allowed_url_schemes = ["http", "https"] @@ -139,7 +139,7 @@ Domínios URL permitidos para texturas. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures] enabled = true allowed_url_domains = [".minecraft.net", ".mojang.com"] @@ -155,7 +155,7 @@ Define se deve usar skins dos jogadores ou não. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] skin = true ``` @@ -168,7 +168,7 @@ Define se deve usar capas dos jogadores ou não. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] cape = true ``` @@ -181,7 +181,7 @@ Define se deve usar elytras dos jogadores ou não. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] elytra = true ``` @@ -193,8 +193,8 @@ elytra = true Por padrão, a autenticação está habilitada e usa os servidores da Mojang. Aqui está a configuração padrão: :::code-group -```toml [features.toml] -[authentication] +```toml [pumpkin.toml] +[networking.java.authentication] enabled = true prevent_proxy_connections = false diff --git a/docs/pt/config/basic.md b/docs/pt/config/basic.md index 293020b..0604aea 100644 --- a/docs/pt/config/basic.md +++ b/docs/pt/config/basic.md @@ -1,6 +1,6 @@ # Configuração Básica -Representando `configuration.toml` +Representando `pumpkin.toml` ## Endereço do Servidor @@ -8,8 +8,184 @@ O endereço para vincular o servidor. :::code-group -```toml [configuration.toml] {2} -server_address = "0.0.0.0:25565" +```toml +seed = "1785537519969227430" +default_difficulty = "Normal" +op_permission_level = 4 +allow_nether = true +allow_end = true +hardcore = false +tps = 20.0 +default_gamemode = "Survival" +force_gamemode = false +scrub_ips = true +use_favicon = true +default_level_name = "world" +allow_chat_reports = false +white_list = false +enforce_whitelist = false + +[logging] +enabled = true +threads = true +color = true +timestamp = true +file = "latest.log" + +[resource_pack.java] +enabled = false +url = "" +sha1 = "" +prompt_message = "" +force = false + +[resource_pack.bedrock] +enabled = false +force = false +packs = [] + +[world] +lighting = "default" +autosave_ticks = 0 + +[world.chunk] +type = "anvil" +write_in_place = false + +[world.chunk.compression] +algorithm = "LZ4" +level = 6 + +[networking.query] +enabled = true +address = "0.0.0.0:25565" + +[networking.rcon] +enabled = false +address = "0.0.0.0:25575" +password = "" +max_connections = 10 + +[networking.rcon.logging] +logged_successfully = true +wrong_password = true +commands = true +quit = true + +[networking.proxy] +enabled = false + +[networking.proxy.velocity] +enabled = false +secret = "" + +[networking.proxy.bungeecord] +enabled = false + +[networking.lan_broadcast] +enabled = false + +[networking.java] +enabled = true +address = "0.0.0.0:25565" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.java.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.java.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 +prevent_proxy_connections = false + +[networking.java.authentication.player_profile] +allow_banned_players = false +allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] + +[networking.java.authentication.textures] +enabled = true +allowed_url_schemes = ["http", "https"] +allowed_url_domains = [".minecraft.net", ".mojang.com"] + +[networking.java.authentication.textures.types] +skin = true +cape = true +elytra = true + +[networking.bedrock] +enabled = true +address = "0.0.0.0:19132" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.bedrock.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.bedrock.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 + +[commands] +use_console = true +use_tty = true +log_console = true +broadcast_console_to_ops = true +default_op_level = 0 + +[chat] +format = "<{DISPLAYNAME}> {MESSAGE}" + +[pvp] +enabled = true +hurt_animation = true +protect_creative = true +knockback = true +swing = true + +[server_links] +enabled = true +bug_report = "https://github.com/Pumpkin-MC/Pumpkin/issues" +support = "" +status = "" +feedback = "" +community = "" +website = "" +forums = "" +news = "" +announcements = "" + +[server_links.custom] + +[player_data] +save_player_data = true +save_player_cron_interval = 300 + +[fun] +april_fools = true + +[recipe] +send_recipes = true + +[plugins] +blocked_permissions = [] + +[advancement] +save_advancements = true ``` ::: @@ -20,7 +196,7 @@ A seed para a geração do mundo. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} seed = "" ``` @@ -32,7 +208,7 @@ O número máximo de jogadores permitidos no servidor. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} max_players = 100000 ``` @@ -44,7 +220,7 @@ A distância máxima de visão para os jogadores. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} view_distance = 10 ``` @@ -56,7 +232,7 @@ A distância máxima de simulação para os jogadores. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} simulation_distance = 10 ``` @@ -68,7 +244,7 @@ A dificuldade padrão do jogo. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_difficulty = "Normal" ``` @@ -87,7 +263,7 @@ O nível de permissão atribuído pelo comando `/op`. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} op_permission_level = 4 ``` @@ -99,7 +275,7 @@ Se a dimensão Nether está habilitada. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} allow_nether = true ``` @@ -111,7 +287,7 @@ Se a dimensão End está habilitada. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} allow_end = true ``` @@ -123,7 +299,7 @@ Se o servidor está no modo hardcore. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} hardcore = false ``` @@ -135,7 +311,7 @@ Se o modo online está habilitado. Requer contas válidas do Minecraft. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} online_mode = true ``` @@ -150,7 +326,7 @@ Se a criptografia de pacotes está habilitada. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} encryption = true ``` @@ -162,7 +338,7 @@ Mensagem do Dia; a descrição do servidor exibida na tela de status. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} motd = "A Blazingly fast Pumpkin Server!" ``` @@ -174,7 +350,7 @@ A taxa de tique (tick rate) alvo do servidor. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} tps = 20.0 ``` @@ -186,7 +362,7 @@ O modo de jogo padrão para os jogadores. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_gamemode = "Survival" ``` @@ -206,7 +382,7 @@ Se os endereços IP dos jogadores devem ser removidos dos logs. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} scrub_ips = true ``` @@ -218,7 +394,7 @@ Se o servidor deve usar um favicon ou não. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} use_favicon = true ``` @@ -230,7 +406,7 @@ O caminho para o favicon do servidor. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} favicon_path = "icon.png" ``` diff --git a/docs/pt/config/commands.md b/docs/pt/config/commands.md index 3703aed..fb4db3f 100644 --- a/docs/pt/config/commands.md +++ b/docs/pt/config/commands.md @@ -10,7 +10,7 @@ Se os comandos do console são aceitos ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [commands] use_console = false ``` @@ -23,7 +23,7 @@ Se os comandos dos jogadores devem ser registrados no console ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [commands] log_console = false ``` @@ -36,7 +36,7 @@ O nível de permissão padrão para todos os jogadores. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_op_level = 0 ``` @@ -48,7 +48,7 @@ Por padrão, Pumpkin permitirá comandos da console e registrará todos os coman :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [commands] use_console = true log_console = true diff --git a/docs/pt/config/compression.md b/docs/pt/config/compression.md index 3e7c884..bac0997 100644 --- a/docs/pt/config/compression.md +++ b/docs/pt/config/compression.md @@ -13,7 +13,7 @@ Se a compressão de pacotes está habilitada ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] enabled = true ``` @@ -29,7 +29,7 @@ O tamanho mínimo do pacote antes que o servidor tente comprimir o pacote. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] threshold = 256 ``` @@ -42,7 +42,7 @@ Um valor entre 0 e 9: 0 para desabilitar a compressão, 1 sendo a compressão ma :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] level = 4 ``` @@ -55,7 +55,7 @@ Por padrão, a compressão está habilitada. :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [packet_compression] enabled = true threshold = 256 diff --git a/docs/pt/config/introduction.md b/docs/pt/config/introduction.md index c23b7a1..d356a72 100644 --- a/docs/pt/config/introduction.md +++ b/docs/pt/config/introduction.md @@ -6,8 +6,8 @@ Pumpkin oferece um sistema de configuração robusto que permite aos usuários p A configuração do Pumpkin é dividida em uma configuração "básica", feita para mudanças rápidas e importantes, e uma configuração mais "avançada". -- `configuration.toml`: simples e pode ser comparado ao `server.properties` do vanilla. -- `features.toml`: projetado para reunir todos os recursos do Pumpkin em um único lugar, tornando-se uma configuração mais abrangente. +- `pumpkin.toml`: simples e pode ser comparado ao `server.properties` do vanilla. +- `pumpkin.toml`: projetado para reunir todos os recursos do Pumpkin em um único lugar, tornando-se uma configuração mais abrangente. ### Versão do Servidor diff --git a/docs/pt/config/lan-broadcast.md b/docs/pt/config/lan-broadcast.md index 1b757c5..47e91b9 100644 --- a/docs/pt/config/lan-broadcast.md +++ b/docs/pt/config/lan-broadcast.md @@ -10,8 +10,8 @@ Se a transmissão LAN está habilitada ou não. :::code-group -```toml [features.toml] {2} -[lan_broadcast] +```toml [pumpkin.toml] {2} +[networking.lan_broadcast] enabled = true ``` @@ -26,8 +26,8 @@ A mensagem de boas-vindas (MOTD) a ser transmitida para os clientes; usa a MOTD :::code-group -```toml [features.toml] {3} -[lan_broadcast] +```toml [pumpkin.toml] {3} +[networking.lan_broadcast] enabled = true motd = "[sua MOTD aqui]" ``` @@ -43,8 +43,8 @@ A porta para a qual o servidor será vinculado. Se não especificado, será vinc :::code-group -```toml [features.toml] {3} -[lan_broadcast] +```toml [pumpkin.toml] {3} +[networking.lan_broadcast] enabled = true port = 46733 ``` @@ -57,8 +57,8 @@ Por padrão, a transmissão LAN está desabilitada. :::code-group -```toml [features.toml] -[lan_broadcast] +```toml [pumpkin.toml] +[networking.lan_broadcast] enabled = false motd = "[MOTD do servidor aqui]" port = 0 diff --git a/docs/pt/config/logging.md b/docs/pt/config/logging.md index 1c4f2ee..20b8e61 100644 --- a/docs/pt/config/logging.md +++ b/docs/pt/config/logging.md @@ -10,7 +10,7 @@ Se o registro de logs está habilitado ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [logging] enabled = true ``` @@ -30,7 +30,7 @@ O nível de verbosidade do log. Os valores possíveis são: :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true level = "Debug" @@ -44,7 +44,7 @@ Se deve permitir escolher o nível de log configurando a variável de ambiente ` :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true env = true @@ -58,7 +58,7 @@ Se deve exibir as threads nas mensagens de log ou não. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true threads = false @@ -72,7 +72,7 @@ Se deve imprimir no console com cores ou não. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true color = false @@ -86,7 +86,7 @@ Se deve imprimir a data e hora na mensagem ou não. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true timestamp = false @@ -100,7 +100,7 @@ Por padrão, o registro de logs está habilitado no nível `Info` e imprimirá c :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [logging] enabled = true level = "Info" diff --git a/docs/pt/config/proxy.md b/docs/pt/config/proxy.md index 428d4d9..779678d 100644 --- a/docs/pt/config/proxy.md +++ b/docs/pt/config/proxy.md @@ -16,8 +16,8 @@ Habilita o suporte para proxies. :::code-group -```toml [features.toml]{2} -[proxy] +```toml [pumpkin.toml]{2} +[networking.proxy] enabled = true ``` @@ -31,7 +31,7 @@ Se o suporte ao Velocity está habilitado ou não. :::code-group -```toml [features.toml]{2} +```toml [pumpkin.toml]{2} [proxy.velocity] enabled = true ``` @@ -44,7 +44,7 @@ O segredo configurado no Velocity. :::code-group -```toml [features.toml]{3} +```toml [pumpkin.toml]{3} [proxy.velocity] enabled = true secret = "[segredo do proxy aqui]" @@ -60,7 +60,7 @@ Se o suporte ao BungeeCord está habilitado ou não. :::code-group -```toml [features.toml]{2} +```toml [pumpkin.toml]{2} [proxy.bungeecord] enabled = true ``` @@ -76,8 +76,8 @@ Por padrão, o suporte a proxies está desativado. Aqui está a configuração p :::code-group -```toml [features.toml] -[proxy] +```toml [pumpkin.toml] +[networking.proxy] enabled = false [proxy.velocity] diff --git a/docs/pt/config/pvp.md b/docs/pt/config/pvp.md index 747a652..cba6ddf 100644 --- a/docs/pt/config/pvp.md +++ b/docs/pt/config/pvp.md @@ -10,7 +10,7 @@ Se o PVP está habilitado ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] enabled = true ``` @@ -23,7 +23,7 @@ Se deve exibir a animação de dano vermelho e o movimento de câmera (FOV) ou n :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] hurt_animation = true ``` @@ -36,7 +36,7 @@ Se deve proteger jogadores no modo criativo contra o PVP ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] protect_creative = true ``` @@ -49,7 +49,7 @@ Se os ataques devem ter repulsão (knockback) ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] knockback = true ``` @@ -62,7 +62,7 @@ Se os jogadores devem balançar a arma ao atacar ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] swing = true ``` @@ -75,7 +75,7 @@ Por padrão, todas as opções de PVP estão habilitadas para coincidir com o co :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [pvp] enabled = true hurt_animation = true diff --git a/docs/pt/config/query.md b/docs/pt/config/query.md index 8febcdc..56594cd 100644 --- a/docs/pt/config/query.md +++ b/docs/pt/config/query.md @@ -11,8 +11,8 @@ Se deve ouvir ou não as requisições do protocolo Query. :::code-group -```toml [features.toml] {2} -[query] +```toml [pumpkin.toml] {2} +[networking.query] enabled = true ``` @@ -25,8 +25,8 @@ porta do servidor. :::code-group -```toml [features.toml] {3} -[query] +```toml [pumpkin.toml] {3} +[networking.query] enabled = true address = "0.0.0.0:12345" ``` @@ -40,8 +40,8 @@ explicitamente. :::code-group -```toml [features.toml] -[query] +```toml [pumpkin.toml] +[networking.query] enabled = true address = "0.0.0.0:25565" ``` diff --git a/docs/pt/config/rcon.md b/docs/pt/config/rcon.md index 41b731c..d626aed 100644 --- a/docs/pt/config/rcon.md +++ b/docs/pt/config/rcon.md @@ -8,8 +8,8 @@ RCON é um protocolo que permite gerenciar o servidor remotamente a partir de ou :::code-group -```toml [features.toml] {2} -[rcon] +```toml [pumpkin.toml] {2} +[networking.rcon] enabled = true ``` @@ -21,8 +21,8 @@ O endereço e a porta que o RCON deve escutar. :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true address = "0.0.0.0:25575" ``` @@ -35,8 +35,8 @@ A senha a ser usada para autenticação RCON. :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true password = "[sua senha segura aqui]" ``` @@ -49,8 +49,8 @@ O número máximo de conexões RCON permitidas ao mesmo tempo. Defina como 0 par :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true max_connections = 5 ``` @@ -65,7 +65,7 @@ Se os logins bem-sucedidos devem ser registrados no console ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_logged_successfully = true ``` @@ -78,7 +78,7 @@ Se as tentativas de senha incorreta devem ser registradas no console ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_wrong_password = true ``` @@ -91,7 +91,7 @@ Se os comandos executados via RCON devem ser registrados no console ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_commands = true ``` @@ -104,7 +104,7 @@ Se a saída do cliente RCON deve ser registrada ou não. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_quit = true ``` @@ -117,8 +117,8 @@ Por padrão, o RCON está desabilitado. :::code-group -```toml [features.toml] -[rcon] +```toml [pumpkin.toml] +[networking.rcon] enabled = false address = "0.0.0.0:25575" password = "" diff --git a/docs/pt/config/resource-pack.md b/docs/pt/config/resource-pack.md index 5e264bc..8b86cd7 100644 --- a/docs/pt/config/resource-pack.md +++ b/docs/pt/config/resource-pack.md @@ -13,8 +13,8 @@ Se o pacote de recursos está habilitado ou não. :::code-group -```toml [features.toml] {2} -[resource_pack] +```toml [pumpkin.toml] {2} +[resource_pack.java] enabled = true ``` @@ -29,8 +29,8 @@ A URL direta de download do pacote de recursos. :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true resource_pack_url = "[sua URL de download aqui]" ``` @@ -66,8 +66,8 @@ sha1sum [arquivo] :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true resource_pack_sha1 = "[seu hash aqui]" ``` @@ -80,8 +80,8 @@ A mensagem a ser exibida para o usuário quando for solicitado o download do pac :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true prompt_message = "[sua mensagem aqui]" ``` @@ -94,8 +94,8 @@ Se deve forçar o cliente a baixar o pacote de recursos ou não. Se o cliente re :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true force = false ``` @@ -108,8 +108,8 @@ Por padrão, nenhum pacote de recursos é enviado para os clientes. :::code-group -```toml [features.toml] -[resource_pack] +```toml [pumpkin.toml] +[resource_pack.java] enabled = false resource_pack_url = "" resource_pack_sha1 = "" diff --git a/docs/pt/developer/networking/authentication.md b/docs/pt/developer/networking/authentication.md index ccc6fae..d889601 100644 --- a/docs/pt/developer/networking/authentication.md +++ b/docs/pt/developer/networking/authentication.md @@ -6,7 +6,7 @@ Contas offline, ou seja, contas geradas a partir do nome de usuário de um jogad ### Servidor Offline -Por padrão, `online_mode` está ativado na configuração. Isso habilita a autenticação, desabilitando contas offline. Se você deseja permitir contas offline, pode desabilitar `online_mode` no arquivo `configuration.toml`. +Por padrão, `online_mode` está ativado na configuração. Isso habilita a autenticação, desabilitando contas offline. Se você deseja permitir contas offline, pode desabilitar `online_mode` no arquivo `pumpkin.toml`. ### Como funciona a autenticação Yggdrasil @@ -18,7 +18,7 @@ Por padrão, `online_mode` está ativado na configuração. Isso habilita a aute ### Servidor de Autenticação Personalizado -Pumpkin suporta servidores de autenticação personalizados. Você pode substituir a URL de autenticação no arquivo `features.toml`. +Pumpkin suporta servidores de autenticação personalizados. Você pode substituir a URL de autenticação no arquivo `pumpkin.toml`. #### Como funciona a autenticação no Pumpkin diff --git a/docs/pt/troubleshooting/common_issues.md b/docs/pt/troubleshooting/common_issues.md index 65c4b38..495b19b 100644 --- a/docs/pt/troubleshooting/common_issues.md +++ b/docs/pt/troubleshooting/common_issues.md @@ -6,4 +6,4 @@ **Causa:** Isso está relacionado à autenticação, geralmente com a configuração `prevent_proxy_connections`. - **Solução:** Desative a opção `prevent_proxy_connections` em `features.toml`. + **Solução:** Desative a opção `prevent_proxy_connections` em `pumpkin.toml`. diff --git a/docs/tr_TR/about/helping.md b/docs/tr_TR/about/helping.md new file mode 100644 index 0000000..bce5bce --- /dev/null +++ b/docs/tr_TR/about/helping.md @@ -0,0 +1,39 @@ +# Pumpkin'e Yardım Etmek ve Bağış Yapmak + +Pumpkin'i desteklemeye gösterdiğiniz ilgi için teşekkür ederiz! İster bir geliştirici, ister bir sunucu yöneticisi veya bir Minecraft meraklısı olun, yardımcı olmanın birçok yolu vardır. + +--- + +## 1. Sorunları Bildirmek ve Özellik Önerileri + +Pumpkin'i kullanırken hatalar, çökmeler veya beklenmeyen davranışlarla karşılaşırsanız, bir GitHub sorunu açmak, sorunları hızlı bir şekilde izlememize ve çözmemize yardımcı olur. +- **Mevcut sorunları kontrol edin**: Yeni bir bilet açmadan önce [Pumpkin GitHub Issues](https://github.com/Pumpkin-MC/Pumpkin/issues)'da arama yapın. +- **Yeniden üretme adımlarını sağlayın**: Net adımlar, sunucu günlükleri ve sistem ayrıntılarını ekleyin. +- **Sorun şablonlarını kullanın**: GitHub'da uygun şablonu seçin. + +--- + +## 2. Kod ve Belgeler için Pull Request'ler + +Kod katkılarını, belge güncellemelerini ve hata düzeltmelerini memnuniyetle karşılıyoruz! +Kod katkıları için lütfen [Katkıda Bulunma Kılavuzumuzu](/developer/contributing) okuyun. +> [!IMPORTANT] Kod Yönergeleri +> - **Rust Biçimlendirmesini ve Linting'i İzleyin**: `cargo fmt` ve `cargo clippy` çalıştırın. +> - **Mimari Kurallara Saygı Gösterin**: Mevcut modüler yapıyı izleyin. +> - **Temiz Taahhütler ve PR'lar**: Pull Request'leri tek bir konuya odaklanmış halde tutun. +> - **Büyük Değişiklikleri Tartışın**: [Discord](https://discord.gg/RNm224ZsDq)'ta konuşun. + +--- + +## 3. Finansal Destek ve Bağış + +Yüksek performanslı Minecraft sunucu yazılımını sürdürmek büyük çaba gerektirir. +- **Sponsorluk ve Bağışlar**: [GitHub Sponsors](https://github.com/sponsors/Pumpkin-MC) veya [pumpkinmc.org](https://pumpkinmc.org/) adresindeki finansman seçeneklerimizi inceleyin. +- **Sunucu Altyapısı**: Test ortamları sağlayarak da yardımcı olabilirsiniz. + +--- + +## 4. Topluluk ve Destek + +- **Discord Topluluğu**: [Pumpkin Discord'a Katılın](https://discord.gg/RNm224ZsDq) +- **GitHub Tartışmaları**: Geri bildirimlerinizi [Pumpkin GitHub Discussions](https://github.com/Pumpkin-MC/Pumpkin/discussions)'ta paylaşın. diff --git a/docs/tr_TR/config/authentication.md b/docs/tr_TR/config/authentication.md index 6368b2c..e34d71a 100644 --- a/docs/tr_TR/config/authentication.md +++ b/docs/tr_TR/config/authentication.md @@ -13,8 +13,8 @@ Kimlik doğrulamanın etkin olup olmadığı. :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] enabled = false ``` @@ -26,8 +26,8 @@ Proxy bağlantılarını engelleyip engellememe. :::code-group -```toml [features.toml] {3} -[authentication] +```toml [pumpkin.toml] {3} +[networking.java.authentication] enabled = true prevent_proxy_connections = true ``` @@ -47,8 +47,8 @@ Kimlik doğrulama için kullanılacak URL. Belirtilmezse Mojang'in oturum sunucu :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] auth_url = "[custom auth server here]" ``` @@ -68,8 +68,8 @@ auth_url = "[custom auth server here]" :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] prevent_proxy_connection_auth_url = "[custom auth server here]" ``` @@ -83,7 +83,7 @@ Mojang tarafından işaretlenen oyunculara izin ver. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [authentication.player_profile] allow_banned_players = true ``` @@ -96,7 +96,7 @@ allow_banned_players = true :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.player_profile] allow_banned_players = true allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] @@ -112,7 +112,7 @@ Oyuncu dokularını (örn. skin/cape) filtrelemeyi/doğrulamayı sağlar. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [authentication.textures] enabled = true ``` @@ -125,7 +125,7 @@ Dokular için izin verilen URL şemaları. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures] enabled = true allowed_url_schemes = ["http", "https"] @@ -139,7 +139,7 @@ Dokular için izin verilen URL alan adları. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures] enabled = true allowed_url_domains = [".minecraft.net", ".mojang.com"] @@ -155,7 +155,7 @@ Oyuncu skinlerini kullanıp kullanmama davranışını düzenler. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] skin = true ``` @@ -168,7 +168,7 @@ Oyuncu capelerini kullanıp kullanmama davranışını düzenler. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] cape = true ``` @@ -181,7 +181,7 @@ Oyuncu elytralarını kullanıp kullanmama davranışını düzenler. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] elytra = true ``` @@ -193,8 +193,8 @@ elytra = true Varsayılan olarak kimlik doğrulama etkindir ve Mojang'in sunucularını kullanır. Varsayılan yapılandırma: :::code-group -```toml [features.toml] -[authentication] +```toml [pumpkin.toml] +[networking.java.authentication] enabled = true prevent_proxy_connections = false diff --git a/docs/tr_TR/config/basic.md b/docs/tr_TR/config/basic.md index 6066f97..6f108eb 100644 --- a/docs/tr_TR/config/basic.md +++ b/docs/tr_TR/config/basic.md @@ -1,6 +1,6 @@ # Temel Yapılandırma -`configuration.toml` dosyasını temsil eder +`pumpkin.toml` dosyasını temsil eder ## Sunucu Adresi @@ -8,8 +8,184 @@ Sunucunun bağlanacağı address. :::code-group -```toml [configuration.toml] {2} -server_address = "0.0.0.0:25565" +```toml +seed = "1785537519969227430" +default_difficulty = "Normal" +op_permission_level = 4 +allow_nether = true +allow_end = true +hardcore = false +tps = 20.0 +default_gamemode = "Survival" +force_gamemode = false +scrub_ips = true +use_favicon = true +default_level_name = "world" +allow_chat_reports = false +white_list = false +enforce_whitelist = false + +[logging] +enabled = true +threads = true +color = true +timestamp = true +file = "latest.log" + +[resource_pack.java] +enabled = false +url = "" +sha1 = "" +prompt_message = "" +force = false + +[resource_pack.bedrock] +enabled = false +force = false +packs = [] + +[world] +lighting = "default" +autosave_ticks = 0 + +[world.chunk] +type = "anvil" +write_in_place = false + +[world.chunk.compression] +algorithm = "LZ4" +level = 6 + +[networking.query] +enabled = true +address = "0.0.0.0:25565" + +[networking.rcon] +enabled = false +address = "0.0.0.0:25575" +password = "" +max_connections = 10 + +[networking.rcon.logging] +logged_successfully = true +wrong_password = true +commands = true +quit = true + +[networking.proxy] +enabled = false + +[networking.proxy.velocity] +enabled = false +secret = "" + +[networking.proxy.bungeecord] +enabled = false + +[networking.lan_broadcast] +enabled = false + +[networking.java] +enabled = true +address = "0.0.0.0:25565" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.java.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.java.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 +prevent_proxy_connections = false + +[networking.java.authentication.player_profile] +allow_banned_players = false +allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] + +[networking.java.authentication.textures] +enabled = true +allowed_url_schemes = ["http", "https"] +allowed_url_domains = [".minecraft.net", ".mojang.com"] + +[networking.java.authentication.textures.types] +skin = true +cape = true +elytra = true + +[networking.bedrock] +enabled = true +address = "0.0.0.0:19132" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.bedrock.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.bedrock.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 + +[commands] +use_console = true +use_tty = true +log_console = true +broadcast_console_to_ops = true +default_op_level = 0 + +[chat] +format = "<{DISPLAYNAME}> {MESSAGE}" + +[pvp] +enabled = true +hurt_animation = true +protect_creative = true +knockback = true +swing = true + +[server_links] +enabled = true +bug_report = "https://github.com/Pumpkin-MC/Pumpkin/issues" +support = "" +status = "" +feedback = "" +community = "" +website = "" +forums = "" +news = "" +announcements = "" + +[server_links.custom] + +[player_data] +save_player_data = true +save_player_cron_interval = 300 + +[fun] +april_fools = true + +[recipe] +send_recipes = true + +[plugins] +blocked_permissions = [] + +[advancement] +save_advancements = true ``` ::: @@ -20,7 +196,7 @@ Dünya üretimi için gereklidir. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} seed = "" ``` @@ -32,7 +208,7 @@ Sunucuda izin verilen maksimum oyuncu sayısını değiştirir. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} max_players = 100000 ``` @@ -44,7 +220,7 @@ Oyuncular için maksimum görüş mesafesini değiştirir. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} view_distance = 10 ``` @@ -56,7 +232,7 @@ Oyuncular için maksimum simülasyon mesafesini değiştirir. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} simulation_distance = 10 ``` @@ -68,7 +244,7 @@ Varsayılan oyun zorluğu değiştirir. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_difficulty = "Normal" ``` @@ -87,7 +263,7 @@ Hard :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} op_permission_level = 4 ``` @@ -99,7 +275,7 @@ Nether boyutunu aktif/deaktif etmek için kullanılır. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} allow_nether = true ``` @@ -111,7 +287,7 @@ Sunucunun hardcore modda olup olmadığını düzenler. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} hardcore = false ``` @@ -123,7 +299,7 @@ hardcore = false :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} online_mode = true ``` @@ -138,7 +314,7 @@ Packet şifrelemesinin etkin olup olmadığını düzenler. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} encryption = true ``` @@ -150,7 +326,7 @@ Günün Mesajı; durum ekranında gösterilen sunucu açıklamasını düzenler. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} motd = "A Blazingly fast Pumpkin Server!" ``` @@ -162,7 +338,7 @@ Sunucunun hedef tick hızını belirtir. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} tps = 20.0 ``` @@ -174,7 +350,7 @@ Oyuncular için varsayılan oyun modunu değiştirir. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_gamemode = "Survival" ``` @@ -194,7 +370,7 @@ Oyuncuların IP adreslerini loglardan temizleyip temizlememek için gerekli bir :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} scrub_ips = true ``` @@ -206,7 +382,7 @@ Sunucu favicon'unu aktifleştirmeye yarayan bir ayar. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} use_favicon = true ``` @@ -218,7 +394,7 @@ Sunucu favicon'unun yolunu belirtir. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} favicon_path = "icon.png" ``` diff --git a/docs/tr_TR/config/commands.md b/docs/tr_TR/config/commands.md index 1b46fea..caed636 100644 --- a/docs/tr_TR/config/commands.md +++ b/docs/tr_TR/config/commands.md @@ -10,7 +10,7 @@ Konsoldan gelen komutların kabul edilip edilmemesini düzenler. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [commands] use_console = false ``` @@ -23,7 +23,7 @@ Oyunculardan gelen komutların konsola loglanıp loglanmama davranışını değ :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [commands] log_console = false ``` @@ -36,7 +36,7 @@ Tüm oyuncular için varsayılan izin seviyesi. :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_op_level = 0 ``` @@ -48,7 +48,7 @@ Varsayılan olarak Pumpkin konsoldan komutlara izin verir ve oyuncuların çalı :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [commands] use_console = true log_console = true diff --git a/docs/tr_TR/config/compression.md b/docs/tr_TR/config/compression.md index 02c7e1b..d58cc6a 100644 --- a/docs/tr_TR/config/compression.md +++ b/docs/tr_TR/config/compression.md @@ -13,7 +13,7 @@ packet sıkıştırmasının etkin olup olmadığını belirler. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] enabled = true ``` @@ -29,7 +29,7 @@ Sunucunun packet sıkıştırmayı denemeden önceki minimum packet boyutu. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] threshold = 256 ``` @@ -42,7 +42,7 @@ threshold = 256 :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] level = 4 ``` @@ -55,7 +55,7 @@ Varsayılan olarak sıkıştırma etkindir. :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [packet_compression] enabled = true threshold = 256 diff --git a/docs/tr_TR/config/introduction.md b/docs/tr_TR/config/introduction.md index 3107b6b..17611a5 100644 --- a/docs/tr_TR/config/introduction.md +++ b/docs/tr_TR/config/introduction.md @@ -6,8 +6,8 @@ Pumpkin, harici eklentilere ihtiyaç duymadan sunucu davranışının çeşitli Pumpkin'in yapılandırması, hızlı ve önemli değişiklikler için tasarlanmış bir "temel" yapılandırma ve daha "gelişmiş" bir yapılandırma olarak ikiye ayrılır. -- `configuration.toml`: basittir ve vanilla `server.properties` ile kıyaslanabilir. -- `features.toml`: Pumpkin'in tüm özelliklerini tek yerde toplamak üzere tasarlanmıştır; bu da onu büyük bir yapılandırma dosyası yapar. +- `pumpkin.toml`: basittir ve vanilla `server.properties` ile kıyaslanabilir. +- `pumpkin.toml`: Pumpkin'in tüm özelliklerini tek yerde toplamak üzere tasarlanmıştır; bu da onu büyük bir yapılandırma dosyası yapar. ### Sunucu Sürümü diff --git a/docs/tr_TR/config/lan-broadcast.md b/docs/tr_TR/config/lan-broadcast.md index 1d8089e..c565407 100644 --- a/docs/tr_TR/config/lan-broadcast.md +++ b/docs/tr_TR/config/lan-broadcast.md @@ -10,8 +10,8 @@ LAN yayınının etkin olup olmadığını düzenler. :::code-group -```toml [features.toml] {2} -[lan_broadcast] +```toml [pumpkin.toml] {2} +[networking.lan_broadcast] enabled = true ``` @@ -26,8 +26,8 @@ Yayınlanacak MOTD; varsayılan olarak sunucunun MOTD'si kullanılır. :::code-group -```toml [features.toml] {3} -[lan_broadcast] +```toml [pumpkin.toml] {3} +[networking.lan_broadcast] enabled = true motd = "[your MOTD here]" ``` @@ -43,8 +43,8 @@ Bağlanılacak port. Belirtilmezse port 0'a (sistemdeki herhangi bir kullanılab :::code-group -```toml [features.toml] {3} -[lan_broadcast] +```toml [pumpkin.toml] {3} +[networking.lan_broadcast] enabled = true port = 46733 ``` @@ -57,8 +57,8 @@ Varsayılan olarak LAN yayını devre dışıdır. :::code-group -```toml [features.toml] -[lan_broadcast] +```toml [pumpkin.toml] +[networking.lan_broadcast] enabled = false motd = "[server MOTD here]" port = 0 diff --git a/docs/tr_TR/config/logging.md b/docs/tr_TR/config/logging.md index 9d06ec8..2cf6d69 100644 --- a/docs/tr_TR/config/logging.md +++ b/docs/tr_TR/config/logging.md @@ -10,7 +10,7 @@ Günlüklemenin etkin olup olmadığını ayarlar. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [logging] enabled = true ``` @@ -30,7 +30,7 @@ Günlük ayrıntı seviyesi. Olası değerler: :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true level = "Debug" @@ -44,7 +44,7 @@ level = "Debug" :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true env = true @@ -58,7 +58,7 @@ Log mesajında iş parçacıklarının yazdırılıp yazdırılmamasını düzen :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true threads = false @@ -72,7 +72,7 @@ Konsola renkli yazdırılıp yazdırılmamasını düzenler. :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true color = false @@ -86,7 +86,7 @@ Mesajda zaman damgasının yazdırılıp yazdırılmama davranışını değişt :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true timestamp = false @@ -100,7 +100,7 @@ Varsayılan olarak günlükleme `Info` seviyesinde etkindir ve renk, iş parçac :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [logging] enabled = true level = "Info" diff --git a/docs/tr_TR/config/proxy.md b/docs/tr_TR/config/proxy.md index 15ad370..1f1ce8a 100644 --- a/docs/tr_TR/config/proxy.md +++ b/docs/tr_TR/config/proxy.md @@ -16,8 +16,8 @@ Proxy desteğini etkinleştirir. :::code-group -```toml [features.toml]{2} -[proxy] +```toml [pumpkin.toml]{2} +[networking.proxy] enabled = true ``` @@ -31,7 +31,7 @@ Velocity desteğinin etkin olup olmadığı davranışını değiştirir. :::code-group -```toml [features.toml]{2} +```toml [pumpkin.toml]{2} [proxy.velocity] enabled = true ``` @@ -44,7 +44,7 @@ Velocity'de yapılandırılan gizli anahtar. :::code-group -```toml [features.toml]{3} +```toml [pumpkin.toml]{3} [proxy.velocity] enabled = true secret = "[proxy secret here]" @@ -60,7 +60,7 @@ BungeeCord desteğinin etkin olup olmadığı ayarını değiştirir. :::code-group -```toml [features.toml]{2} +```toml [pumpkin.toml]{2} [proxy.bungeecord] enabled = true ``` @@ -76,8 +76,8 @@ Varsayılan olarak proxy desteği devre dışıdır. Varsayılan yapılandırma :::code-group -```toml [features.toml] -[proxy] +```toml [pumpkin.toml] +[networking.proxy] enabled = false [proxy.velocity] diff --git a/docs/tr_TR/config/pvp.md b/docs/tr_TR/config/pvp.md index a37d277..7c7a6c0 100644 --- a/docs/tr_TR/config/pvp.md +++ b/docs/tr_TR/config/pvp.md @@ -10,7 +10,7 @@ PVP özelliğini kontrol eder. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] enabled = true ``` @@ -23,7 +23,7 @@ Kırmızı hasar animasyonu ve FOV sallanmasının gösterilip gösterilmemesini :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] hurt_animation = true ``` @@ -36,7 +36,7 @@ Yaratıcı moddaki oyuncuların PVP'ye karşı korunup korunmaması ayarını de :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] protect_creative = true ``` @@ -49,7 +49,7 @@ Saldırıların geri tepme (knockback) uygulayıp uygulamaması ayarını deği :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] knockback = true ``` @@ -62,7 +62,7 @@ Saldırırken oyuncuların sallama animasyonu yapıp yapmaması ayarını deği :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] swing = true ``` @@ -75,7 +75,7 @@ Varsayılan olarak Vanilla davranışına uyması için tüm PVP seçenekleri et :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [pvp] enabled = true hurt_animation = true diff --git a/docs/tr_TR/config/query.md b/docs/tr_TR/config/query.md index d65d11b..171ab83 100644 --- a/docs/tr_TR/config/query.md +++ b/docs/tr_TR/config/query.md @@ -11,8 +11,8 @@ Query protokolü isteklerini dinleyip dinlememesi. :::code-group -```toml [features.toml] {2} -[query] +```toml [pumpkin.toml] {2} +[networking.query] enabled = true ``` @@ -24,8 +24,8 @@ Query protokolü isteklerinin dinleneceği port. Belirtilmezse sunucu portuyla a :::code-group -```toml [features.toml] {3} -[query] +```toml [pumpkin.toml] {3} +[networking.query] enabled = true address = "0.0.0.0:12345" ``` @@ -38,8 +38,8 @@ Varsayılan olarak Query devre dışıdır. Etkinleştirilirse, açıkça belirt :::code-group -```toml [features.toml] -[query] +```toml [pumpkin.toml] +[networking.query] enabled = true address = "0.0.0.0:25565" ``` diff --git a/docs/tr_TR/config/rcon.md b/docs/tr_TR/config/rcon.md index affc928..a57ca2a 100644 --- a/docs/tr_TR/config/rcon.md +++ b/docs/tr_TR/config/rcon.md @@ -8,8 +8,8 @@ RCON, sunucuyu farklı bir cihazdan uzaktan yönetmenizi sağlayan bir protokold :::code-group -```toml [features.toml] {2} -[rcon] +```toml [pumpkin.toml] {2} +[networking.rcon] enabled = true ``` @@ -21,8 +21,8 @@ RCON'un dinleyeceği address ve port. :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true address = "0.0.0.0:25575" ``` @@ -35,8 +35,8 @@ RCON kimlik doğrulaması için kullanılacak parola. :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true password = "[your safe password here]" ``` @@ -49,8 +49,8 @@ Aynı anda izin verilen RCON bağlantı sayısı. Sınırı kaldırmak için bun :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true max_connections = 5 ``` @@ -65,7 +65,7 @@ Başarılı girişlerin konsola loglanıp loglanmaması ayarını değiştirir. :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_logged_successfully = true ``` @@ -78,7 +78,7 @@ Yanlış parola denemelerinin konsola loglanıp loglanmaması ayarını değişt :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_logged_successfully = true ``` @@ -91,7 +91,7 @@ RCON üzerinden çalıştırılan komutların konsola loglanıp loglanmaması ay :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_commands = true ``` @@ -104,7 +104,7 @@ RCON istemcisinin çıkışının loglanıp loglanmaması ayarını değiştirir :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_quit = true ``` @@ -117,8 +117,8 @@ Varsayılan olarak RCON devre dışıdır. :::code-group -```toml [features.toml] -[rcon] +```toml [pumpkin.toml] +[networking.rcon] enabled = false address = "0.0.0.0:25575" password = "" diff --git a/docs/tr_TR/config/resource-pack.md b/docs/tr_TR/config/resource-pack.md index e6f3129..723c1b1 100644 --- a/docs/tr_TR/config/resource-pack.md +++ b/docs/tr_TR/config/resource-pack.md @@ -13,8 +13,8 @@ Kaynak packet etkin olup olmadığı. :::code-group -```toml [features.toml] {2} -[resource_pack] +```toml [pumpkin.toml] {2} +[resource_pack.java] enabled = true ``` @@ -29,8 +29,8 @@ Kaynak packet doğrudan indirme URL'si. :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true resource_pack_url = "[your download URL here]" ``` @@ -66,8 +66,8 @@ sha1sum [file] :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true resource_pack_sha1 = "[your hash here]" ``` @@ -80,8 +80,8 @@ Kullanıcıya kaynak packet indirmesi istendiğinde gösterilecek mesaj. :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true prompt_message = "[your message here]" ``` @@ -94,8 +94,8 @@ prompt_message = "[your message here]" :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true force = false ``` @@ -108,8 +108,8 @@ Varsayılan olarak istemcilere kaynak packet gönderilmez. :::code-group -```toml [features.toml] -[resource_pack] +```toml [pumpkin.toml] +[resource_pack.java] enabled = false resource_pack_url = "" resource_pack_sha1 = "" diff --git a/docs/tr_TR/developer/networking/authentication.md b/docs/tr_TR/developer/networking/authentication.md index cd92848..0a8c9df 100644 --- a/docs/tr_TR/developer/networking/authentication.md +++ b/docs/tr_TR/developer/networking/authentication.md @@ -6,7 +6,7 @@ ## Çevrimdışı sunucu -Varsayılan olarak yapılandırmada `online_mode` etkindir. Bu, kimlik doğrulamayı etkinleştirir ve çevrimdışı hesapları devre dışı bırakır. Çevrimdışı hesaplara izin vermek istiyorsanız `configuration.toml` dosyasında `online_mode` değerini devre dışı bırakabilirsiniz. +Varsayılan olarak yapılandırmada `online_mode` etkindir. Bu, kimlik doğrulamayı etkinleştirir ve çevrimdışı hesapları devre dışı bırakır. Çevrimdışı hesaplara izin vermek istiyorsanız `pumpkin.toml` dosyasında `online_mode` değerini devre dışı bırakabilirsiniz. ## Yggdrasil Kimlik Doğrulama nasıl çalışır @@ -18,7 +18,7 @@ Varsayılan olarak yapılandırmada `online_mode` etkindir. Bu, kimlik doğrulam ## Özel Kimlik Doğrulama Sunucusu -Pumpkin özel kimlik doğrulama sunucularını destekler. `features.toml` dosyasındaki kimlik doğrulama URL'sini değiştirebilirsiniz. +Pumpkin özel kimlik doğrulama sunucularını destekler. `pumpkin.toml` dosyasındaki kimlik doğrulama URL'sini değiştirebilirsiniz. ### Pumpkin Kimlik Doğrulaması Nasıl Çalışır diff --git a/docs/tr_TR/troubleshooting/common_issues.md b/docs/tr_TR/troubleshooting/common_issues.md index e55da7c..67a7234 100644 --- a/docs/tr_TR/troubleshooting/common_issues.md +++ b/docs/tr_TR/troubleshooting/common_issues.md @@ -6,4 +6,4 @@ **Neden:** Bu, kimlik doğrulama ile ve genellikle `prevent_proxy_connections` ayarıyla ilgilidir. - **Çözüm:** `features.toml` dosyasında `prevent_proxy_connections` değerini devre dışı bırakın + **Çözüm:** `pumpkin.toml` dosyasında `prevent_proxy_connections` değerini devre dışı bırakın diff --git a/docs/zh_cn/about/helping.md b/docs/zh_cn/about/helping.md new file mode 100644 index 0000000..be9cabd --- /dev/null +++ b/docs/zh_cn/about/helping.md @@ -0,0 +1,39 @@ +# 帮助与捐赠 Pumpkin + +感谢您对支持 Pumpkin 的兴趣!无论您是开发人员、服务器管理员还是 Minecraft 爱好者,都有很多方法可以提供帮助。 + +--- + +## 1. 报告问题和功能建议 + +如果您在使用 Pumpkin 时遇到错误、崩溃或意外行为,打开 GitHub issue 有助于我们快速跟踪和解决问题。 +- **检查现有 issue**:在打开新工单之前搜索 [Pumpkin GitHub Issues](https://github.com/Pumpkin-MC/Pumpkin/issues)。 +- **提供重现步骤**:包括清晰的步骤、服务器日志和系统详细信息。 +- **使用 issue 模板**:在 GitHub 上选择适当的 issue 模板。 + +--- + +## 2. 代码和文档的 Pull Requests + +我们欢迎代码贡献、文档更新和错误修复! +有关代码贡献,请阅读我们的 [贡献指南](/developer/contributing)。 +> [!IMPORTANT] 代码指南 +> - **遵循 Rust 格式和 Linting**:在提交 PR 之前运行 `cargo fmt` 和 `cargo clippy`。 +> - **尊重架构规则**:遵循现有的模块化结构。 +> - **干净的提交和 PR**:让 Pull Request 专注于单个主题。 +> - **讨论重大更改**:在 [Discord](https://discord.gg/RNm224ZsDq) 上讨论。 + +--- + +## 3. 财务支持与捐赠 + +维护高性能 Minecraft 服务器软件需要大量精力。 +- **赞助与捐赠**:在 [GitHub Sponsors](https://github.com/sponsors/Pumpkin-MC) 或 [pumpkinmc.org](https://pumpkinmc.org/) 查看我们的资金选项。 +- **服务器基础设施**:您也可以通过提供测试环境来提供帮助。 + +--- + +## 4. 社区与支持 + +- **Discord 社区**:[加入 Pumpkin Discord](https://discord.gg/RNm224ZsDq) +- **GitHub 讨论**:在 [Pumpkin GitHub Discussions](https://github.com/Pumpkin-MC/Pumpkin/discussions) 分享反馈。 diff --git a/docs/zh_cn/config/authentication.md b/docs/zh_cn/config/authentication.md index 2a41b18..14081c6 100644 --- a/docs/zh_cn/config/authentication.md +++ b/docs/zh_cn/config/authentication.md @@ -13,8 +13,8 @@ :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] enabled = false ``` @@ -26,8 +26,8 @@ enabled = false :::code-group -```toml [features.toml] {3} -[authentication] +```toml [pumpkin.toml] {3} +[networking.java.authentication] enabled = true prevent_proxy_connections = true ``` @@ -47,8 +47,8 @@ prevent_proxy_connections = true :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] auth_url = "[这里填写自定义身份验证服务器]" ``` @@ -68,8 +68,8 @@ auth_url = "[这里填写自定义身份验证服务器]" :::code-group -```toml [features.toml] {2} -[authentication] +```toml [pumpkin.toml] {2} +[networking.java.authentication] prevent_proxy_connection_auth_url = "[这里填写自定义身份验证服务器]" ``` @@ -83,7 +83,7 @@ prevent_proxy_connection_auth_url = "[这里填写自定义身份验证服务器 :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [authentication.player_profile] allow_banned_players = true ``` @@ -96,7 +96,7 @@ allow_banned_players = true :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.player_profile] allow_banned_players = true allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] @@ -112,7 +112,7 @@ allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [authentication.textures] enabled = true ``` @@ -125,7 +125,7 @@ enabled = true :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures] enabled = true allowed_url_schemes = ["http", "https"] @@ -139,7 +139,7 @@ allowed_url_schemes = ["http", "https"] :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures] enabled = true allowed_url_domains = [".minecraft.net", ".mojang.com"] @@ -155,7 +155,7 @@ allowed_url_domains = [".minecraft.net", ".mojang.com"] :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] skin = true ``` @@ -168,7 +168,7 @@ skin = true :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] cape = true ``` @@ -181,7 +181,7 @@ cape = true :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [authentication.textures.types] elytra = true ``` @@ -193,8 +193,8 @@ elytra = true 默认情况下,身份验证已启用并使用 Mojang 的服务器。以下是默认配置: :::code-group -```toml [features.toml] -[authentication] +```toml [pumpkin.toml] +[networking.java.authentication] enabled = true prevent_proxy_connections = false diff --git a/docs/zh_cn/config/basic.md b/docs/zh_cn/config/basic.md index c613ac5..64cc39b 100644 --- a/docs/zh_cn/config/basic.md +++ b/docs/zh_cn/config/basic.md @@ -1,6 +1,6 @@ # 基础配置 -对应 `configuration.toml` 文件 +对应 `pumpkin.toml` 文件 ## 服务器地址 @@ -8,8 +8,184 @@ :::code-group -```toml [configuration.toml] {2} -server_address = "0.0.0.0:25565" +```toml +seed = "1785537519969227430" +default_difficulty = "Normal" +op_permission_level = 4 +allow_nether = true +allow_end = true +hardcore = false +tps = 20.0 +default_gamemode = "Survival" +force_gamemode = false +scrub_ips = true +use_favicon = true +default_level_name = "world" +allow_chat_reports = false +white_list = false +enforce_whitelist = false + +[logging] +enabled = true +threads = true +color = true +timestamp = true +file = "latest.log" + +[resource_pack.java] +enabled = false +url = "" +sha1 = "" +prompt_message = "" +force = false + +[resource_pack.bedrock] +enabled = false +force = false +packs = [] + +[world] +lighting = "default" +autosave_ticks = 0 + +[world.chunk] +type = "anvil" +write_in_place = false + +[world.chunk.compression] +algorithm = "LZ4" +level = 6 + +[networking.query] +enabled = true +address = "0.0.0.0:25565" + +[networking.rcon] +enabled = false +address = "0.0.0.0:25575" +password = "" +max_connections = 10 + +[networking.rcon.logging] +logged_successfully = true +wrong_password = true +commands = true +quit = true + +[networking.proxy] +enabled = false + +[networking.proxy.velocity] +enabled = false +secret = "" + +[networking.proxy.bungeecord] +enabled = false + +[networking.lan_broadcast] +enabled = false + +[networking.java] +enabled = true +address = "0.0.0.0:25565" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.java.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.java.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 +prevent_proxy_connections = false + +[networking.java.authentication.player_profile] +allow_banned_players = false +allowed_actions = ["FORCED_NAME_CHANGE", "USING_BANNED_SKIN"] + +[networking.java.authentication.textures] +enabled = true +allowed_url_schemes = ["http", "https"] +allowed_url_domains = [".minecraft.net", ".mojang.com"] + +[networking.java.authentication.textures.types] +skin = true +cape = true +elytra = true + +[networking.bedrock] +enabled = true +address = "0.0.0.0:19132" +encryption = true +online_mode = true +max_players = 1000 +view_distance = 16 +simulation_distance = 10 +motd = "A blazingly fast Pumpkin server!" + +[networking.bedrock.compression] +enabled = true +threshold = 256 +level = 4 + +[networking.bedrock.authentication] +enabled = true +connect_timeout = 5000 +read_timeout = 5000 + +[commands] +use_console = true +use_tty = true +log_console = true +broadcast_console_to_ops = true +default_op_level = 0 + +[chat] +format = "<{DISPLAYNAME}> {MESSAGE}" + +[pvp] +enabled = true +hurt_animation = true +protect_creative = true +knockback = true +swing = true + +[server_links] +enabled = true +bug_report = "https://github.com/Pumpkin-MC/Pumpkin/issues" +support = "" +status = "" +feedback = "" +community = "" +website = "" +forums = "" +news = "" +announcements = "" + +[server_links.custom] + +[player_data] +save_player_data = true +save_player_cron_interval = 300 + +[fun] +april_fools = true + +[recipe] +send_recipes = true + +[plugins] +blocked_permissions = [] + +[advancement] +save_advancements = true ``` ::: @@ -20,7 +196,7 @@ server_address = "0.0.0.0:25565" :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} seed = "" ``` @@ -32,7 +208,7 @@ seed = "" :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} max_players = 100000 ``` @@ -44,7 +220,7 @@ max_players = 100000 :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} view_distance = 10 ``` @@ -56,7 +232,7 @@ view_distance = 10 :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} simulation_distance = 10 ``` @@ -68,7 +244,7 @@ simulation_distance = 10 :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_difficulty = "Normal" ``` @@ -87,7 +263,7 @@ Hard # 困难 :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} op_permission_level = 4 ``` @@ -99,7 +275,7 @@ op_permission_level = 4 :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} allow_nether = true ``` @@ -111,7 +287,7 @@ allow_nether = true :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} allow_end = true ``` @@ -123,7 +299,7 @@ allow_end = true :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} hardcore = false ``` @@ -135,7 +311,7 @@ hardcore = false :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} online_mode = true ``` @@ -150,7 +326,7 @@ online_mode = true :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} encryption = true ``` @@ -162,7 +338,7 @@ encryption = true :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} motd = "一款极速的南瓜服务器!" ``` @@ -174,7 +350,7 @@ motd = "一款极速的南瓜服务器!" :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} tps = 20.0 ``` @@ -186,7 +362,7 @@ tps = 20.0 :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_gamemode = "Survival" ``` @@ -206,7 +382,7 @@ Spectator # 观察者模式 :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} scrub_ips = true ``` @@ -218,7 +394,7 @@ scrub_ips = true :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} use_favicon = true ``` @@ -230,7 +406,7 @@ use_favicon = true :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} favicon_path = "icon.png" ``` diff --git a/docs/zh_cn/config/commands.md b/docs/zh_cn/config/commands.md index ca8d89f..12173ed 100644 --- a/docs/zh_cn/config/commands.md +++ b/docs/zh_cn/config/commands.md @@ -10,7 +10,7 @@ Pumpkin 支持原版命令,并允许你配置命令可以从哪里运行。 :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [commands] use_console = false ``` @@ -23,7 +23,7 @@ use_console = false :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [commands] log_console = false ``` @@ -36,7 +36,7 @@ log_console = false :::code-group -```toml [configuration.toml] {2} +```toml [pumpkin.toml] {2} default_op_level = 0 ``` @@ -48,7 +48,7 @@ default_op_level = 0 :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [commands] use_console = true log_console = true diff --git a/docs/zh_cn/config/compression.md b/docs/zh_cn/config/compression.md index 6072cef..4ffffec 100644 --- a/docs/zh_cn/config/compression.md +++ b/docs/zh_cn/config/compression.md @@ -13,7 +13,7 @@ :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] enabled = true ``` @@ -29,7 +29,7 @@ enabled = true :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] threshold = 256 ``` @@ -42,7 +42,7 @@ threshold = 256 :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [packet_compression] level = 4 ``` @@ -55,7 +55,7 @@ level = 4 :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [packet_compression] enabled = true threshold = 256 diff --git a/docs/zh_cn/config/introduction.md b/docs/zh_cn/config/introduction.md index deba3c6..171f6f2 100644 --- a/docs/zh_cn/config/introduction.md +++ b/docs/zh_cn/config/introduction.md @@ -6,8 +6,8 @@ Pumpkin 提供了强大的配置系统,允许用户无需依赖外部插件即 Pumpkin 的配置分为"基础"配置(用于快速更改和重要设置)和更加"高级"的配置: -- `configuration.toml`:简单配置,可以与原版 Minecraft 的 `server.properties` 相比较。 -- `features.toml`:设计为在一个地方包含 Pumpkin 的所有功能,是一个更全面的配置文件。 +- `pumpkin.toml`:简单配置,可以与原版 Minecraft 的 `server.properties` 相比较。 +- `pumpkin.toml`:设计为在一个地方包含 Pumpkin 的所有功能,是一个更全面的配置文件。 ### 服务器版本 diff --git a/docs/zh_cn/config/lan-broadcast.md b/docs/zh_cn/config/lan-broadcast.md index 426a48f..cdddbcd 100644 --- a/docs/zh_cn/config/lan-broadcast.md +++ b/docs/zh_cn/config/lan-broadcast.md @@ -10,8 +10,8 @@ Pumpkin 可以在网络中广播服务器,使本地玩家更容易连接到服 :::code-group -```toml [features.toml] {2} -[lan_broadcast] +```toml [pumpkin.toml] {2} +[networking.lan_broadcast] enabled = true ``` @@ -26,8 +26,8 @@ enabled = true :::code-group -```toml [features.toml] {3} -[lan_broadcast] +```toml [pumpkin.toml] {3} +[networking.lan_broadcast] enabled = true motd = "[你的 MOTD 在这里]" ``` @@ -43,8 +43,8 @@ motd = "[你的 MOTD 在这里]" :::code-group -```toml [features.toml] {3} -[lan_broadcast] +```toml [pumpkin.toml] {3} +[networking.lan_broadcast] enabled = true port = 46733 ``` @@ -57,8 +57,8 @@ port = 46733 :::code-group -```toml [features.toml] -[lan_broadcast] +```toml [pumpkin.toml] +[networking.lan_broadcast] enabled = false motd = "[服务器 MOTD 在这里]" port = 0 diff --git a/docs/zh_cn/config/logging.md b/docs/zh_cn/config/logging.md index bbfb477..6ccebf2 100644 --- a/docs/zh_cn/config/logging.md +++ b/docs/zh_cn/config/logging.md @@ -10,7 +10,7 @@ Pumpkin 允许你自定义日志中想要的内容。 :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [logging] enabled = true ``` @@ -30,7 +30,7 @@ enabled = true :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true level = "Debug" @@ -44,7 +44,7 @@ level = "Debug" :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true env = true @@ -58,7 +58,7 @@ env = true :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true threads = false @@ -72,7 +72,7 @@ threads = false :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true color = false @@ -86,7 +86,7 @@ color = false :::code-group -```toml [features.toml] {3} +```toml [pumpkin.toml] {3} [logging] enabled = true timestamp = false @@ -100,7 +100,7 @@ timestamp = false :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [logging] enabled = true level = "Info" diff --git a/docs/zh_cn/config/proxy.md b/docs/zh_cn/config/proxy.md index 46e9bec..2227422 100644 --- a/docs/zh_cn/config/proxy.md +++ b/docs/zh_cn/config/proxy.md @@ -16,8 +16,8 @@ :::code-group -```toml [features.toml]{2} -[proxy] +```toml [pumpkin.toml]{2} +[networking.proxy] enabled = true ``` @@ -31,7 +31,7 @@ enabled = true :::code-group -```toml [features.toml]{2} +```toml [pumpkin.toml]{2} [proxy.velocity] enabled = true ``` @@ -44,7 +44,7 @@ enabled = true :::code-group -```toml [features.toml]{3} +```toml [pumpkin.toml]{3} [proxy.velocity] enabled = true secret = "[代理密钥]" @@ -60,7 +60,7 @@ secret = "[代理密钥]" :::code-group -```toml [features.toml]{2} +```toml [pumpkin.toml]{2} [proxy.bungeecord] enabled = true ``` @@ -76,8 +76,8 @@ enabled = true :::code-group -```toml [features.toml] -[proxy] +```toml [pumpkin.toml] +[networking.proxy] enabled = false [proxy.velocity] diff --git a/docs/zh_cn/config/pvp.md b/docs/zh_cn/config/pvp.md index 3b572d0..a05344d 100644 --- a/docs/zh_cn/config/pvp.md +++ b/docs/zh_cn/config/pvp.md @@ -10,7 +10,7 @@ PVP 是原版机制的核心部分,即使是最小的变化也会影响游戏 :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] enabled = true ``` @@ -23,7 +23,7 @@ enabled = true :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] hurt_animation = true ``` @@ -36,7 +36,7 @@ hurt_animation = true :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] protect_creative = true ``` @@ -49,7 +49,7 @@ protect_creative = true :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] knockback = true ``` @@ -62,7 +62,7 @@ knockback = true :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [pvp] swing = true ``` @@ -75,7 +75,7 @@ swing = true :::code-group -```toml [features.toml] +```toml [pumpkin.toml] [pvp] enabled = true hurt_animation = true diff --git a/docs/zh_cn/config/query.md b/docs/zh_cn/config/query.md index 465dcd8..c294be7 100644 --- a/docs/zh_cn/config/query.md +++ b/docs/zh_cn/config/query.md @@ -10,8 +10,8 @@ :::code-group -```toml [features.toml] {2} -[query] +```toml [pumpkin.toml] {2} +[networking.query] enabled = true ``` @@ -23,8 +23,8 @@ enabled = true :::code-group -```toml [features.toml] {3} -[query] +```toml [pumpkin.toml] {3} +[networking.query] enabled = true address = "0.0.0.0:12345" ``` @@ -37,8 +37,8 @@ address = "0.0.0.0:12345" :::code-group -```toml [features.toml] -[query] +```toml [pumpkin.toml] +[networking.query] enabled = true address = "0.0.0.0:25565" ``` diff --git a/docs/zh_cn/config/rcon.md b/docs/zh_cn/config/rcon.md index cdf7793..b17c42a 100644 --- a/docs/zh_cn/config/rcon.md +++ b/docs/zh_cn/config/rcon.md @@ -8,8 +8,8 @@ RCON 是一种允许你从不同设备远程管理服务器的协议。Pumpkin :::code-group -```toml [features.toml] {2} -[rcon] +```toml [pumpkin.toml] {2} +[networking.rcon] enabled = true ``` @@ -21,8 +21,8 @@ RCON 应监听的地址和端口。 :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true address = "0.0.0.0:25575" ``` @@ -35,8 +35,8 @@ address = "0.0.0.0:25575" :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true password = "[你的安全密码在这里]" ``` @@ -49,8 +49,8 @@ password = "[你的安全密码在这里]" :::code-group -```toml [features.toml] {3} -[rcon] +```toml [pumpkin.toml] {3} +[networking.rcon] enabled = true max_connections = 5 ``` @@ -65,7 +65,7 @@ max_connections = 5 :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_logged_successfully = true ``` @@ -78,7 +78,7 @@ log_logged_successfully = true :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_logged_successfully = true ``` @@ -91,7 +91,7 @@ log_logged_successfully = true :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_commands = true ``` @@ -104,7 +104,7 @@ RCON 客户端退出是否应被记录。 :::code-group -```toml [features.toml] {2} +```toml [pumpkin.toml] {2} [rcon.logging] log_quit = true ``` @@ -117,8 +117,8 @@ log_quit = true :::code-group -```toml [features.toml] -[rcon] +```toml [pumpkin.toml] +[networking.rcon] enabled = false address = "0.0.0.0:25575" password = "" diff --git a/docs/zh_cn/config/resource-pack.md b/docs/zh_cn/config/resource-pack.md index d4419c4..018d1a1 100644 --- a/docs/zh_cn/config/resource-pack.md +++ b/docs/zh_cn/config/resource-pack.md @@ -13,8 +13,8 @@ :::code-group -```toml [features.toml] {2} -[resource_pack] +```toml [pumpkin.toml] {2} +[resource_pack.java] enabled = true ``` @@ -29,8 +29,8 @@ enabled = true :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true resource_pack_url = "[你的下载 URL 在这里]" ``` @@ -66,8 +66,8 @@ sha1sum [文件] :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true resource_pack_sha1 = "[你的哈希值在这里]" ``` @@ -80,8 +80,8 @@ resource_pack_sha1 = "[你的哈希值在这里]" :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true prompt_message = "[你的消息在这里]" ``` @@ -94,8 +94,8 @@ prompt_message = "[你的消息在这里]" :::code-group -```toml [features.toml] {3} -[resource_pack] +```toml [pumpkin.toml] {3} +[resource_pack.java] enabled = true force = false ``` @@ -108,8 +108,8 @@ force = false :::code-group -```toml [features.toml] -[resource_pack] +```toml [pumpkin.toml] +[resource_pack.java] enabled = false resource_pack_url = "" resource_pack_sha1 = "" diff --git a/docs/zh_cn/developer/networking/authentication.md b/docs/zh_cn/developer/networking/authentication.md index 5ef1db1..a444ce9 100644 --- a/docs/zh_cn/developer/networking/authentication.md +++ b/docs/zh_cn/developer/networking/authentication.md @@ -6,7 +6,7 @@ ## 离线服务器 -默认情况下,配置中启用了 `online_mode`。这启用了身份验证,禁用离线账户。如果您想允许离线账户,可以在 `configuration.toml` 中禁用 `online_mode`。 +默认情况下,配置中启用了 `online_mode`。这启用了身份验证,禁用离线账户。如果您想允许离线账户,可以在 `pumpkin.toml` 中禁用 `online_mode`。 ## Yggdrasil 身份验证的工作原理 @@ -18,7 +18,7 @@ ## 自定义身份验证服务器 -Pumpkin 支持自定义身份验证服务器。您可以在 `features.toml` 中替换身份验证 URL。 +Pumpkin 支持自定义身份验证服务器。您可以在 `pumpkin.toml` 中替换身份验证 URL。 ### Pumpkin 身份验证的工作原理 diff --git a/docs/zh_cn/troubleshooting/common_issues.md b/docs/zh_cn/troubleshooting/common_issues.md index 1c55ffe..2c96447 100644 --- a/docs/zh_cn/troubleshooting/common_issues.md +++ b/docs/zh_cn/troubleshooting/common_issues.md @@ -6,4 +6,4 @@ **原因:** 这与身份验证有关,通常与 `prevent_proxy_connections` 设置有关。 - **解决方法:** 在 `features.toml` 中禁用 `prevent_proxy_connections` + **解决方法:** 在 `pumpkin.toml` 中禁用 `prevent_proxy_connections` diff --git a/package.json b/package.json index e133ce9..d504b85 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "devDependencies": { "@types/bun": "^1.3.14", "vitepress": "^2.0.0-alpha.18", - "vue": "^3.6.0-beta.17" + "vue": "^3.6.0-rc.2" }, "dependencies": { "or": "^0.2.0"