A powerful web-based editor for DayZ TraderPlus mod configuration files - simplify your trader setup and management!
TraderPlus Editor is a specialized web application designed for DayZ server administrators and mod enthusiasts who use the popular TraderPlus mod. This tool makes it easy to create, edit, and manage your trader configurations without the hassle of manual JSON editing.
- User-friendly Interface: Intuitive design that makes trader configuration accessible to everyone
- Visual Category Management: Easily organize and structure your trader categories
- Item Database Integration: Quick search and add items from the DayZ item database
- Price Management: Set and adjust prices for individual items or in bulk
- Import/Export: Seamlessly import existing TraderPlus configurations and export your changes
- Error Validation: Automatic checking for common configuration errors
- Backup System: Create backups of your configurations before making changes
- Modern web browser (Chrome, Firefox, Edge, etc.)
- Internet connection for accessing the online version
- Basic understanding of DayZ server administration and the TraderPlus mod
The easiest way to use TraderPlus Editor is through our hosted online version:
- Visit traderpluseditor.com (or your actual hosted URL)
- Upload your existing TraderPlus configuration files or start from scratch
- Make your changes and download the updated configuration
If you prefer to run the editor locally or on your own server:
- Clone this repository:
git clone https://github.com/TheDmitri/traderpluseditor.git - Install dependencies:
npm install - Start the development server:
npm start - Access the editor at
http://localhost:4200
For production deployment, see the Deployment Guide below.
- Import Configuration: Upload your existing TraderPlus JSON files
- Edit Categories: Organize your trader categories and subcategories
- Manage Items: Add, remove, or modify items in each category
- Set Prices: Adjust buy/sell prices for all items
- Export Configuration: Download your updated configuration files
- Apply to Server: Replace your server's TraderPlus configuration files
- To be added
This project is built with Angular 18 and uses Angular Material for UI components.
# Start development server
ng serve
# Build for production
ng build
# Run linting checks
npm run lint
# Run unit tests
ng testTechnical Details (click to expand)
The application follows standard Angular architecture with these key components:
- Core Services: Configuration parsing, validation, and file handling
- UI Components: Modular interface elements for different editor functions
- State Management: Reactive state handling for configuration data
- Angular 18
- Angular Material
- RxJS
- JSZip (for handling configuration archives)
The easiest way to deploy TraderPlus Editor is using Docker:
# Clone the repository
git clone https://github.com/TheDmitri/traderpluseditor.git
cd traderpluseditor
# Build and run with Docker Compose
docker-compose up -dFor manual deployment to a web server:
- Build the application:
ng build --configuration=production - Copy the contents of the
dist/traderpluseditor/browserdirectory to your web server - Configure your web server to serve the application (sample configurations for Nginx/Apache available in the
docsfolder)
Contributions are welcome! Whether it's bug reports, feature requests, or code contributions, please feel free to help make this tool better for the DayZ community.
- Fork the repository
- Create your feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add some amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License (CC BY-NC-ND 4.0 DEED).
This means:
- Attribution โ You must give appropriate credit, provide a link to the license, and indicate if changes were made.
- NonCommercial โ You may not use the material for commercial purposes.
- NoDerivatives โ If you remix, transform, or build upon the material, you may not distribute the modified material.
See the LICENSE file for full details.
- xscr33m - Developer of the editor
- TheDmitri - Lead Developer of the TraderPlus Editor & Creator of the TraderPlus mod
- The DayZ modding community for their continued support and feedback
- All contributors who have helped improve this tool
Made with โค๏ธ for the DayZ community
GitHub |
Discord |
Support Dmitri
Support xscr33m
Click to expand developer documentation
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run npm run lint to execute the linting checks on the project.
Run ng test to execute the unit tests via Karma.
This project includes a Continuous Integration and Continuous Deployment (CI/CD) pipeline using GitHub Actions. The pipeline:
- Runs linting checks on the codebase
- Builds the Angular application for production
- Deploys the built application to a VPS via SSH (only on main/master branch)
To enable the automatic deployment to your VPS, you need to set up the following secrets in your GitHub repository:
SSH_PRIVATE_KEY: Your private SSH key for accessing the VPSSSH_KNOWN_HOSTS: The SSH known hosts entry for your VPSSSH_USER: The username for SSH login to your VPSSSH_HOST: The hostname or IP address of your VPSDEPLOY_PATH: The path on your VPS where the application should be deployed
For detailed instructions on setting up SSH keys for deployment, see the SSH Setup Guide.
If you encounter npm package version issues during installation or CI/CD:
- Make sure all Angular package versions are aligned (all should use the same major.minor version)
- Create or update
.npmrcfile with:registry=https://registry.npmjs.org/ legacy-peer-deps=true - Try clearing npm cache:
npm cache clean --force - Delete
node_modulesandpackage-lock.json, then runnpm install
If deployment fails:
- Verify SSH keys are correctly set up in GitHub Secrets
- Check that the target directory on the VPS exists and has correct permissions
- Ensure the SSH user has write permissions to the deploy path
- Test the SSH connection locally:
ssh <ssh_user>@<ssh_host>
