Companies
X#X If you like my plugins why not buy me a beer and keep me coding X#X
X#X donate at the top of the page X#X
Companies
NOTE REQUIRES VAULT PLUGIN
What is it?
Companies is a trading plugin, allowing players to create their own company, employ other players in the company, settings wages for them, employees can then either do jobs for other companies who can pay the working company, or they can produce items to stock company chest shops to earn the company money.
How does it work
A player creates a company, they can then deposit money into the company to get started or withdraw it from the company bank. The player as owner can then set their own wages to be paid automatically, and if they wish they can employ another player. The player can work and see their own rank and wages, they can also stock the company shops up, but the initial company creator as owner can sack the employee, change wages, change rank (making them owner as well if they wish) and disband the company. Companies can also pay out all profits as dividends shared between the employees.
Features
- Company creation and management
- Company chest shops
- Employee hiring
- Payment from companies to players and other companies
- Wages & dividends paid to employees
ChestShops
One way of the company making money is by selling goods, to create a chest shop first place a chest down, then above the chest place a wall sign with the following on it:
1st line - [company] 2nd line - The company name ( putting not your company name will break the sign) 3rd line - The amount all products in the chest will be sold at (must be integer) 4th line - Anything you like
The top line should turn gold and provide you with a success message. Company employees can open the chests and take and deposit goods as a normal chest.
If a non employee opens the chest they will see the products but clicking on them will purchase the item, sending the money to the company bank.
Employees
The owner of a company can hire employees to help with their company. The owner has the option to hire, sack, change wages, or change rank of player to owner, accountant or manager.
- Owner: can do anything to company hire fire disband or access bank
- Manager: Can hire or fire employees and create company shop signs
- Accountant: Can access the bank details and pay companies and players from the company bank
The employee can choose to leave a company at any time
Wages
Each employee has a wage from their company, this is set per player by the owner and paid automatically each Minecraft week ( 7 MC days - configurable in config), an owner can also choose to set his wagetype to percentage, where at payday the amount in the company bank (after wages) is then divided up between all the players (encouraging more work :) )
If a company cannot pay its employees then the employee and owner are notified.
Commands
In most cases /company can be shortened to /co
Players
All
- /company help - display commands
- /company info - display your company and employee info
- /company accept - accept a job offer
- /company decline - decline a job offer
- /company list - List all companies
- /company tp <company> - check teleport cost for that company
- /company tp <company> confirm - teleport to company HQ
Company owners
- /company start <name> - start a new company
- /company disband - Disband your company and sack all employees
- /company leave - Resign from your company
- /company set - Set company settings
- /company set wagetype <fixed/percentage>- set company wages to just fixed or shared between employees
- /company set trading <true/false>- Set company trading or not currently trading
- /company employee - Change employee settings, hire and sack, employees
- /company employee hire <player> <wage> - Offer a job to a player with a set wage
- /company employee wage <amount> - Set a players fixed wage
- /company employee rank <employee/owner> - set an employee's rank within the company
- /company employee list - List all your company's employees
- /company employee sack <player> <pay> - Sack an employee with redundancy pay (0 = nothing)
- /company pay <player/company> <name> <amount> - Pay another company or player
- /company bank - show bank and wage info
- /company bank withdraw <amount> - withdraw money from company bank
- /company bank deposit <amount> - deposit money into company bank
Admins
- /company reload - Reload config
- /company version - display version
- /company debug - toggle console debugger
- /company edit - edit another companies settings
- /company edit <company> wagetype <fixed/percentage>- set another companys wages to just fixed or shared between employees
- /company edit <company> trading <true/false>- Set another company trading or not currently trading
Permissions
- company.admin - use all commands including admin commands
- company.reload - allow reloading plugin
- company.debug - allow toggle debug mode
- company.tp - allow use of teleport to HQ
- company.audit - allow user to see other company accounts details
- company.use - use all normal player commands listed below
- company.start - allow starting companies
- company.disband - allow disbanding companies
- company.set - allow setting company details
- company.bank- allow using company bank bank
- company.pay - allow paying from company bank
- company.pay - allow paying from company
- company.leave - allowed to leave company
- company.employee - allow managing company employees
- company.shop.create - allow creating company shop sign
*NOTE some of the above commands even though players may have perm they still need to be company owner.*
x feels like Ill probably post here a lot cause I really like this plugin x Hello! If possible, could you please make it so server admins can make signs for other companies?
@doomlordking
Sorted :)
Is there a way to buy more then 1 item at a time, like shift+click = buy 64 or something? I would be a big help when buying items like dirt/cobble/stone.
@Hmmcrunchy
Thank you!
@AinzSama
Should now be resolved
@AinzSama
Hi thanks I'll try and replicate this and fix
I'm not sure where we are supposed to post bugs, but if you open your company chest at the same time somebody is buying items and you take items out of the chest (as the owner) by holding shift and clicking the items, the items will duplicate in your inventory while still remaining in the chest, allowing company owners to get infinite amounts of said item.
@BirdiesFrijoles
can you try 0.5
@BirdiesFrijoles
No worries :)
I'm just looking at rewriting the way the plugin stores employee names within the company o hope to have a new version out soon that's more reliable
@Hmmcrunchy
No I didn't have spigot 1.8.8 installed, but I did test it out on spigot just now. I'm still getting errors when trying to deposit to company bank. Thanks so much for the replies!
http://pastebin.com/YnyZMwjj
@BirdiesFrijoles
Thanks I'll check this out so you create then disband then create it again and try to deposit money
Are you on 1.8.8 spigot
@Hmmcrunchy
Decided to test the plugin on a fresh server, with no other plugins installed. when you use the command /company bank deposit # it sends out the errors. hopefully this new pastebin will help. http://pastebin.com/cFMXKJxH
@BirdiesFrijoles
I'll see if I can replicate that series of events and get the same error
@Hmmcrunchy
Saw your plugin and thought it would be a nice addition to my business server. I was testing out the plugin when i noticed I couldn't deposit money into the company bank. Instead, it would give me errors in the console. Here is the main part of the log with all the errors: http://pastebin.com/Amvc80BY
@LiamUnitedMc
No worries will see what i can do
Have to add perhaps somethings in the 4th line of sign
Have to be careful we don't interfere with other chests in a market area
@Hmmcrunchy Thanks for your help so far and getting back to me so fast. Anyone reading this he is a great active developer and responds fast.
Yes that's what I mean because when people go to the company and if They don't have some sort of claim there they are able to destroy the area. If you could do it. That would be awesome.
@LiamUnitedMc
Hey glad you like it
You can employ people using the /co employee command
So /co employee hire <player> <wage>
Do you mean breaking blocks around a company chest? At the moment it only protects the cheat and sign but claiming a larger area may be helpful if you think it would be good
I already love this plugin and am using it. I am having some issues though with it I can't find the invite command for inviting players to the company also players not in the company are able to break blocks around companies if it's not claimed with towny but other then those two problems this is a great plugin. Developer what are some upcoming features for this plugin that I can look forward to. Also do you think it's possible to eventually add some type of claiming system into companies so only player of the company can break in it.
@trickey445
Well I always start at 0.1 XD not to say it doesn't work till 1.0
Some of my plugins don't get to 1.0 as they work on release without any fixes
Not had any bugs come back on this one yet and we use it in our server play.byte.org.uk
good idea ..... but i mite wait for like 1.0 for server relrblti sakes