This plugin adds companies to Minecraft. Each company has employees, ranks, and stock. More features coming soon!
Features
- Ranks
- Command-based Buying/Selling from Companies
- Applications
- Fine Permission Management
- Salaries
- Linked Chests (Restock, Recall, Buy, Sell)
Installation
Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
You can either download a released version or a development build. To use this plugin you'll need:
Start your Mongo server, unzip those libraries into lib/ (create it if you have not done so yet), setup your economy plugin, and you'll be ready to have an intricate economy!
Commands
Permission Commands
| Name |
Description |
Usage |
Alias |
Permission |
| grantPerm |
Grants a permission to a rank |
/inc grantPerm <company> <rank> <permission> |
gp |
MANAGERANKS |
| revokePerm |
Revokes a permission from a rank |
/inc revokePerm <company> <rank> <permission> |
rp |
MANAGERANKS |
| listPerms |
Lists a rank's permissions |
/inc listPerms <company> <rank> |
lp |
BASIC |
Applicant Commands
| Name |
Description |
Usage |
Alias |
Permission |
| apply |
Applies to a company |
/inc apply <company> <console: player> |
None |
None |
| reject |
Rejects an applicant |
/inc reject <company> <applicant> |
None |
HIRE |
| hire |
Hires an applicant |
/inc hire <company> <applicant> |
None |
HIRE |
| applicants |
Lists applicants |
/inc applicants <company> |
appl |
HIRE |
General Commands
| Name |
Description |
Usage |
Alias |
Permission |
| list |
Lists all the companies currently in the game |
/inc list |
None |
None |
| create |
Creates a new company |
/inc create <company> <console: player> |
None |
None |
| delete |
Deletes a company |
/inc delete <company> |
None |
DELETE |
| rename |
Renames a company |
/inc rename <company> <newName> |
None |
RENAME |
| select |
Selects a company, allowing player to omit company argument |
/inc select <company> <console: player> |
None |
None |
| deselect |
Deselects a company |
/inc deselect <console: player> |
None |
None |
Employee Commands
| Name |
Description |
Usage |
Alias |
Permission |
| getRank |
Gets an employee's rank |
/inc getRank <company> <employee> |
gr |
MANAGEEMPLOYEES |
| setRank |
Sets an employee's rank |
/inc setRank <company> <employee> <rank> |
sr |
MANAGEEMPLOYEES |
| fire |
Fires an employee |
/inc fire <company> <employee> |
None |
FIRE |
| resign |
Leaves a company |
/inc resign <company> <console: player> |
None |
None |
| employees |
Lists employees |
/inc employees <company> |
empl |
None |
| payEmployees |
Pays all employees |
/inc payEmployees <company> |
pe |
WITHDRAW, MANAGEEMPLOYEES |
Product Commands
| Name |
Description |
Usage |
Alias |
Permission |
| restock |
Adds product(s) to stock |
/inc restock <company> <console: player> |
None |
None |
| recall |
Removes products(s) from stock |
/inc recall <company> <console: player> <itemNumber> <quantity> |
None |
RECALL |
| price |
Sets price a product can be bought/sold for |
/inc price <company> <itemNumber> buy/sell <price> |
None |
SETPRICE |
| buy |
Buys an item |
/inc buy <company> <console: player> <itemNumber> <quantity> |
None |
None |
| sell |
Sells an item |
/inc sell <company> <console: player> |
None |
None |
| browse |
Lists a company's products |
/inc browse <company> |
br |
None |
| productInfo |
Displays information about the product, including the item number and the price |
/inc productInfo <company> <itemNumber> |
pi |
None |
| link |
Links a chest |
/inc link <company> <console: player> <linkType> <buy/sell: targetCorp> <recall/buy: item> <recall/buy: amount> |
None |
BASIC |
| unlink |
Uninks a chest |
/inc unlink <console: player> |
None |
None |
| cancel |
Cancels a linking/unlinking operation |
/inc cancel <console: player> |
None |
None |
Console Commands
| Name |
Description |
Usage |
Alias |
Permission |
| clean |
Cleans up the database2 |
/inc clean <optional: y> |
None |
None |
Rank Commands
| Name |
Description |
Usage |
Alias |
Permission |
| listRanks |
Lists the ranks in a company |
/inc listRanks <company> |
lr |
BASIC |
| addRank |
Adds a rank to a company |
/inc addRank <company> <rank> <wage> |
ar |
MANAGERANKS |
| removeRank |
Removes an existing rank from a company |
/inc removeRank <company> <rank> |
rr |
MANAGERANKS |
| getWage |
Gets the wage of a rank |
/inc getWage <company> <rank> |
gw |
BASIC |
| setWage |
Sets the wage of a rank |
/inc setWage <company> <rank> <wage> |
sw |
MANAGERANKS |
| getDRank |
Gets the default rank of a company1 |
/inc getDRank <company> |
gdr |
None |
| setDRank |
Sets the default rank of a company |
/inc setDRank <company> |
sdr |
MANAGERANKS |
Money Commands
| Name |
Description |
Usage |
Alias |
Permission |
| deposit |
Deposits money |
/inc deposit <company> <console: player> <amount> |
dp |
None |
| withdraw |
Withdraws money |
/inc withdraw <company> <console: player> <amount> |
wd |
WITHDRAW |
| balance |
Gets a company's balance |
/inc balance <company> |
b |
GETBALANCE |
<small>
1The default rank is the rank of new employees and of employees whose rank has been removed.</small>
<small>
2Adding a 'y' argument makes the cleanup more aggressive</small>
Configuration
Information about the configuration file can be found in the file itself.
Future Plans
These are things that I may add, although not necessarily in the near future.
- Semi-Realistic Stock Market
- Optional Automatic Pricing (Using the laws of supply and demand)
- Alerts (New applicant, Price change, You've been fired, etc)
- Taxes (probably not a good idea)
- Using strings instead of IDs, probably by the 1.7.4 release
-
View User Profile
-
Send Message
Posted Jan 11, 2014@Twinki14
Sure, I should have provided a link to mongo's site.
Download the software here: http://www.mongodb.org/downloads Make sure it's running. Run your server.
-
View User Profile
-
Send Message
Posted Jan 11, 2014I'm really confused on the MongoDB part. Could you elaborate on how to set one up for this plugin?