poi-plugin-leveling-plan
v0.0.5
Published
Leveling plan plugin for poi
Maintainers
Readme
poi-plugin-leveling-plan
Ship leveling plan management plugin for poi.
Features
- Create and manage ship leveling plans
- Track experience requirements and progress
- Support multiple maps and experience calculations
- Auto-complete plans when ships reach target level
- Personal stats tracking for map experience
- Fuzzy search for ship selection
- Multi-language support (EN, JA, ZH-CN, ZH-TW)
Installation
Method 1: npm Package (Recommended)
# Download the .tgz file, then install it in poi directory
cd /path/to/poi
npm install /path/to/poi-plugin-leveling-plan-x.x.x.tgzMethod 2: Manual Installation (ZIP)
- Download and extract the
.zipfile - Copy the contents of
dist/directory to poi plugins directory:
# macOS / Linux
cp -r dist/* /path/to/poi/node_modules/poi-plugin-leveling-plan/
# Windows
xcopy dist\* \path\to\poi\node_modules\poi-plugin-leveling-plan\ /E /I- Restart poi
Method 3: Development (Source)
# Clone or copy this repository to poi plugins directory
cp -r poi-plugin-leveling-plan /path/to/poi/node_modules/
# Install dependencies
cd /path/to/poi/node_modules/poi-plugin-leveling-plan
npm installDevelopment
Prerequisites
- Node.js >= 14
- npm >= 6
- poi development environment
Setup
# Install dependencies
npm install
# Build the plugin
npm run build
# Or build everything (transpile + dist + packages)
npm run build:allBuild Scripts
npm run build- Full build (transpile + dist)npm run build:transpile- Transpile .es files to .jsnpm run build:dist- Create dist/ directorynpm run build:npm- Create .tgz packagenpm run build:zip- Create .zip packagenpm run build:all- Build everythingnpm run clean- Remove build artifacts
Project Structure
poi-plugin-leveling-plan/
├── index.es # Plugin entry point
├── views/ # React components
│ ├── leveling-plan-area.es
│ └── components/
├── utils/ # Utility functions
├── services/ # Business logic
├── i18n/ # Translations
├── assets/ # Static assets
└── scripts/ # Build scriptsBuilding for Distribution
To create distribution packages:
# Install build dependencies
npm install
# Create both .tgz and .zip packages
npm run build:allThis will generate:
poi-plugin-leveling-plan-x.x.x.tgz- npm packagepoi-plugin-leveling-plan-x.x.x.zip- Manual installation packagedist/- Transpiled files ready for use
Dependencies
This plugin uses the following dependencies provided by poi:
@blueprintjs/core- UI componentsreact/react-dom- UI frameworkredux/react-redux- State managementredux-observers- Redux observersstyled-components- CSS-in-JSclassnames- Class name utilitiesfuse.js- Fuzzy searchreact-fontawesome- Icons
These dependencies are marked as peerDependencies and will not be bundled with the plugin.
License
MIT
