diff --git a/.github/release-notes.md b/.github/release-notes.md index 7d22463..1aebb1d 100644 --- a/.github/release-notes.md +++ b/.github/release-notes.md @@ -10,6 +10,6 @@ Download `next-wipe-${VERSION}.pteroext` below, then upload it under **Admin → php artisan p:extension:install /path/to/next-wipe-${VERSION}.pteroext --enable ``` -Requires Pterodactyl Panel 2.0 (2.0-develop or later) and PHP 8.3+. See the README for features and settings. +Requires Pterodactyl Panel v2.0.0-beta.1 or later and PHP 8.3+. See the README for features and settings. This is a community extension and is not affiliated with or endorsed by Pterodactyl. diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c36d5f..915f4eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.2.0 + +- Works with Pterodactyl v2.0.0-beta.1 (SDK beta.6). +- On phones the console card's buttons now wrap below the wipe time instead of squeezing it. + ## 1.1.0 - Works with Wipe & Season Manager. When that extension is installed and the server has an enabled plan, the countdown, the public page and its Discord link preview show that plan's next wipe, name and time zone, so they always match the Wipes tab. Skipping a wipe or changing a plan there updates them too. Without a plan, Next Wipe uses its own schedule as before. diff --git a/README.md b/README.md index 783254d..5749641 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Show a countdown to each server's next wipe on its console page, with an optiona ## Requirements -- Pterodactyl Panel 2.0 (2.0-develop or later) +- Pterodactyl Panel v2.0.0-beta.1 or later - PHP 8.3+ ## Install diff --git a/extension.json b/extension.json index af43a3f..8be0b78 100644 --- a/extension.json +++ b/extension.json @@ -2,13 +2,13 @@ "$schema": "./node_modules/@pterodactyl/sdk/manifest.schema.json", "id": "next-wipe", "name": "Next Wipe", - "version": "1.1.0", + "version": "1.2.0", "description": "Show a countdown to each server's next wipe on its console page, with an optional public page for Discord and websites.", "author": "RustixDev", "icon": "calendar-clock", "requires": { "panel": "^2.0.0-dev", - "sdk": ">=2.0.0-beta.4 <3.0", + "sdk": ">=2.0.0-beta.6 <3.0", "php": "^8.3" }, "provider": "RustixDev\\NextWipe\\NextWipeProvider", diff --git a/package-lock.json b/package-lock.json index 4c5baff..f3c3d24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "next-wipe", - "version": "1.1.0", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "next-wipe", - "version": "1.1.0", + "version": "1.2.0", "devDependencies": { "@base-ui/react": "^1.6.0", - "@pterodactyl/sdk": "file:./sdk/pterodactyl-sdk-2.0.0-beta.4.tgz", + "@pterodactyl/sdk": "file:./sdk/pterodactyl-sdk-2.0.0-beta.6.tgz", "@tailwindcss/postcss": "^4", "@tanstack/form-core": "^1.33.0", "@tanstack/react-form": "^1.33.0", @@ -372,11 +372,14 @@ } }, "node_modules/@pterodactyl/sdk": { - "version": "2.0.0-beta.4", - "resolved": "file:sdk/pterodactyl-sdk-2.0.0-beta.4.tgz", - "integrity": "sha512-y+TzpLNngphgOkSvWW9u8b9TF8e83zhyzLOmgIF/KJiyy+gtYk6Kr0cIUgL1T43ezbYfZSTwBrDMGb440uAHig==", + "version": "2.0.0-beta.6", + "resolved": "file:sdk/pterodactyl-sdk-2.0.0-beta.6.tgz", + "integrity": "sha512-tatI71EZd71b1HPIKwwxV+30OgkoqyjiCNBM2xTSGPgdxFHbrvH8fi4EBYSSjgalsmj0etsVA/mBZuKU2CG1qg==", "dev": true, "license": "MIT", + "bin": { + "pterodactyl-theme": "bin/pterodactyl-theme.mjs" + }, "peerDependencies": { "@base-ui/react": "^1.6.0", "@tanstack/form-core": "^1.33.0", diff --git a/package.json b/package.json index 5e153fe..38aeb6e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "next-wipe", "private": true, - "version": "1.1.0", + "version": "1.2.0", "type": "module", "scripts": { "build": "vite build", @@ -11,7 +11,7 @@ "test:watch": "vitest" }, "devDependencies": { - "@pterodactyl/sdk": "file:./sdk/pterodactyl-sdk-2.0.0-beta.4.tgz", + "@pterodactyl/sdk": "file:./sdk/pterodactyl-sdk-2.0.0-beta.6.tgz", "@tanstack/react-query": "^5", "@base-ui/react": "^1.6.0", "@tanstack/form-core": "^1.33.0", diff --git a/sdk/README.md b/sdk/README.md index ea235c5..37ebc17 100644 --- a/sdk/README.md +++ b/sdk/README.md @@ -1,5 +1,5 @@ # Pterodactyl SDK -`@pterodactyl/sdk` is not published to npm yet. This tarball was built with `npm pack` in `packages/sdk` of [pterodactyl/panel](https://github.com/pterodactyl/panel) on the `2.0-develop` branch, commit `a86da61` (2026-10-09). The SDK is MIT licensed by Pterodactyl. +`@pterodactyl/sdk` is not published to npm yet. This tarball was built with `npm pack` in `packages/sdk` of [pterodactyl/panel](https://github.com/pterodactyl/panel) on the `2.0-develop` branch, commit `ba6ab9b` (2026-10-13), version `2.0.0-beta.6`. The SDK is MIT licensed by Pterodactyl. To update it, run `npm pack` in a newer panel checkout's `packages/sdk`, replace the tarball here and update the path in `package.json`. diff --git a/sdk/pterodactyl-sdk-2.0.0-beta.4.tgz b/sdk/pterodactyl-sdk-2.0.0-beta.4.tgz deleted file mode 100644 index 78dd503..0000000 Binary files a/sdk/pterodactyl-sdk-2.0.0-beta.4.tgz and /dev/null differ diff --git a/sdk/pterodactyl-sdk-2.0.0-beta.6.tgz b/sdk/pterodactyl-sdk-2.0.0-beta.6.tgz new file mode 100644 index 0000000..64f4555 Binary files /dev/null and b/sdk/pterodactyl-sdk-2.0.0-beta.6.tgz differ diff --git a/src/client/components/NextWipeCard.tsx b/src/client/components/NextWipeCard.tsx index 0da912f..f771700 100644 --- a/src/client/components/NextWipeCard.tsx +++ b/src/client/components/NextWipeCard.tsx @@ -74,7 +74,7 @@ export default function NextWipeCard({ data: server }: { data: Server }) { return (