# EconomyJobs
EconomyJobs is a Minecraft Forge mod that introduces a comprehensive job and company system to enhance the gameplay experience. It integrates seamlessly with EconomyMod to provide an economy-driven progression system where players can choose careers, earn money through various activities, and form or join companies for collaborative play.
## Features
### Job System
Players can select from a wide variety of jobs, each offering unique ways to earn money by performing specific in-game actions. Jobs include:
- **Miner**: Earn by mining ores and stone.
- **Quarrier**: Earn by quarrying stone variants.
- **Excavator**: Earn by excavating dirt, gravel, sand, and soul sand.
- **Lumberjack**: Earn by chopping logs and nether stems.
- **Farmer**: Earn by harvesting crops like wheat, carrots, potatoes, beetroot, melons, pumpkins, nether wart, sugarcane, and cactus.
- **Herbalist**: Earn by harvesting flowers, mushrooms, seagrass, kelp, sweet berries, and glow berries.
- **Breeder**: Earn by breeding animals and killing farm animals.
- **Fisher**: Earn by fishing common, treasure, and junk items.
- **Beekeeper**: Earn by harvesting honey and honeycomb.
- **Hunter**: Earn by killing hostile mobs like zombies, skeletons, creepers, spiders, endermen, witches, pillagers, and bosses.
- **Mercenary**: (Note: Specific actions not detailed in config, possibly a variant of Hunter.)
- **Exterminator**: Earn by killing Nether and End mobs like blazes, ghasts, wither skeletons, endermites, shulkers, and phantoms.
- **Blacksmith**: Earn by crafting tools, armor, and repairing items on an anvil.
- **Enchanter**: Earn by enchanting items.
- **Builder**: Earn by placing blocks.
- **Cook**: Earn by cooking food.
- **Alchemist**: Earn by brewing potions.
- **Merchant**: (Note: Specific actions not detailed in config.)
- **Transporter**: (Note: Specific actions not detailed in config.)
- **Explorer**: (Note: Specific actions not detailed in config.)
- **Librarian**: (Note: Specific actions not detailed in config.)
Each job provides periodic salaries based on the configured interval (default 10 minutes), and additional earnings from actions.
### Company System
Players can create or join companies to collaborate:
- **Company Creation**: Founders can establish companies with a name, description, and initial settings.
- **Membership and Ranks**: Companies have hierarchical ranks including Owner, Manager, Employee, and Intern, each with different permissions.
- **Taxation**: Companies can set a tax rate (0-100%) on employee salaries, which goes into the company bank.
- **Quests**: Company owners can assign quests to members, with rewards claimed after a 24-hour cooldown.
- **Banking**: Companies have dedicated bank accounts for managing finances.
### Integration with EconomyMod
This mod requires EconomyMod (version 1.5 or higher) to function, as it relies on its economy system for money handling.
## Installation
1. Ensure you have Minecraft Forge installed for Minecraft 1.20.1 to 1.20.1 (compatible with Forge 47+).
2. Download and install EconomyMod (version 1.5.1 or compatible).
3. Download the EconomyJobs mod JAR file.
4. Place the JAR files into your `mods` folder.
5. Launch the game.
## Configuration
The mod uses a configuration file `economyjobs-common.toml` to customize earnings and salaries. Key settings include:
- Earnings per action for each job (e.g., mining diamond: 50 coins).
- Periodic salary amounts for each job.
- Salary interval in minutes (default: 10).
Edit the config file to adjust values to your server's economy balance.
## Commands
### Job Commands
- `/jobs`: Opens the job selection GUI.
- `/job join <job>`: Joins the specified job.
- `/job leave`: Leaves your current job.
- `/job info [player]`: Displays job information for yourself or another player.
- `/job set <player> <job>`: Sets a player's job (admin command).
- `/job top`: Shows the top 5 highest earners.
- `/job list`: Lists all available jobs with their salaries.
### Company Commands
- `/company create <name> <description>`: Creates a new company.
- `/company gui <name>`: Opens the company management GUI.
- `/company list`: Lists your companies.
- `/company info <name>`: Shows information about a company.
- `/company invite <player> <company>`: Invites a player to join a company.
- `/company accept`: Accepts a pending company invitation.
- `/company decline`: Declines a pending company invitation.
- `/company kick <player> <company>`: Kicks a member from a company.
- `/company leave <name>`: Leaves a company.
- `/company dissolve <name>`: Dissolves a company (owner only).
- `/company deposit <name> <amount>`: Deposits money into a company's bank.
- `/company withdraw <name> <amount>`: Withdraws money from a company's bank (owner only).
- `/company salary <company> <player> <amount>`: Sets a member's salary in a company.
- `/company settax <company> <rate>`: Sets the tax rate for a company (0-100%, owner only).
- `/company top`: Shows the top 5 richest companies.
## Compatibility
- **Minecraft Versions**: 1.20.1
- **Forge Versions**: 47+
- **Required Mods**: EconomyMod 1.5+
- **Other Mods**: Compatible with most economy-related mods, but ensure EconomyMod is present.
## License
This mod is licensed under the MIT License. See the license file for details.