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 Dec 4, 2014Hello Mr. Developer! This plugin of yours look Amazing! and it is the one of the only business related plugins on Minecraft. I have tried to use it before, however I do not understand MongoDB nor do I have the money to create a cloud host for the MongoDB... is there a possible way to go without the mongodb? or maybe use a MySQL database instead?
ThankYou for your time!
-
View User Profile
-
Send Message
Posted Aug 7, 2014@Lozonr
I haven't had much time lately to do any development, and there have been some internal minecraft changes that has discouraged me from making any changes anytime very soon. However, whenever I get the chance and motivation to do it, it will take a while.
-
View User Profile
-
Send Message
Posted Aug 6, 2014Hi i'm creating a server and i was curious when you would be switching the databases? will it be taking more than a week or so?
-
View User Profile
-
Send Message
Posted Aug 5, 2014@TekkitCommando
I've fixed the link, but will be changing the database soon, see this issue.
-
View User Profile
-
Send Message
Posted Aug 4, 2014Whats MongoDB for and the "These Libraries" link doesnt work but i do love the plugin if i can figure it out i will try to use it on my server
-
View User Profile
-
Send Message
Posted Aug 3, 2014@omnompancakes98 http://www.mongodb.org/downloads will work.
-
View User Profile
-
Send Message
Posted Aug 3, 2014Where do you get MongoDB from?
-
View User Profile
-
Send Message
Posted Jun 27, 2014The 2 required Plugins are not possibel to download... -.-
Can somebody send them to me?
i this error in the console
[Server thread/ERROR]: Could not load 'plugins/Incorporate.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException java.lang.UnsupportedClassVersionError com/stephenmac/incorporate/Incorporate : Unsupported major.minor version 52.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:313) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:236) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:350) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.reload(CraftServer.java:771) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.Bukkit.reload(Bukkit.java:279) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
Caused by: java.lang.UnsupportedClassVersionError com/stephenmac/incorporate/Incorporate : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_55]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.7.0_55]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.7.0_55]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.7.0_55]
at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.7.0_55]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_55]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_55]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_55]
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_55]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_55]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_55]
at java.lang.Class.forName0(Native Method) ~[?:1.7.0_55]
at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_55]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
... 19 more
-
View User Profile
-
Send Message
Posted May 6, 2014Oh my god, that's the plugin I searched fpr months.. ya.. it's actually the alpha, as it is, of the plugin I need :/ I hope you keep working! Here some feautures ai'd like to see in this company plugin: - automatic wage even if a company member is offline on the other hand the company could become indepted... but try to found a solution because this is a very important feauture - company taxes, it IS a good idea :D
-
View User Profile
-
Send Message
Posted Apr 9, 2014@Unriashol
Hey, thank you for your interest in this plugin. I understand the plugin is slightly complicated and yes, it does require an installation of mongodb which is running. You can set the database and authentication in the config if you would like. You can find more info about installation in the installation section of the main page (which is above the comments you're reading)
-
View User Profile
-
Send Message
Posted Apr 8, 2014Hi there, I find this plugin very interesting, especially for the project I am working on. But I dont really understand the installation of this plugin. Does this mean I have to have MongoDB running on my computer and only then the server with the plugin will work ? I just dont get it and I have not yet found any installation guides.
I would really appreciate some help.
Thanks !
-
View User Profile
-
Send Message
Posted Apr 8, 2014@MGbeenieboy
I know, as that's the only one I really see a good way to implement. Buider and Newspaper -> could you provide more details? Animal -> Do you mean selling animals or meat or something else? If it's meat, then it would be easy just to sell the product itself.
-
View User Profile
-
Send Message
Posted Apr 8, 2014Hmm... you put your focus only shop companies although there are builder-, newspaper-, animal- etc. companies. Know what I mean?
-
View User Profile
-
Send Message
Posted Apr 6, 2014Thank you for continuing the plugin! KEEP WORKING!
-
View User Profile
-
Send Message
Posted Mar 19, 2014@temros2000
Thank you! I'm glad you like it. I have not had much time to work on it since January, however in the next few weeks I will definitely have time to update the plugin, fix any security issues in it, and add new features.
Keep in mind, however, that the plugin is still in alpha so future updates may break current databases (though I'll try to provide some type of migration script).
-
View User Profile
-
Send Message
Posted Mar 18, 2014This plugin looks epic. I have been searching for a good plugin to do business and the such. Might I as that you keep the work up on this and get that stock market feature added. I will definitely be using this on my server.
-
View User Profile
-
Send Message
Posted Jan 18, 2014@invinciblenick
Whenever it is the recommended CraftBukkit build.
-
View User Profile
-
Send Message
Posted Jan 18, 2014When will a 1.7.2 update be available if I may ask?
-
View User Profile
-
Send Message
Posted Jan 11, 2014@Twinki14
Can you please post your server logs and your mongo logs?
-
View User Profile
-
Send Message
Posted Jan 11, 2014@stephenmac7
I have that part down, do I just have to run it and the Plugin will do everything? I finally got MCPC to load the plugin, but when I try an do commands nothing pops up (As in it can't connect to the database)