Position
About 412 wordsAbout 1 min
Each company has a number of maximum positions, which can be changed in the config.yml (company-settings.maximum-positions).
The default value of it is 5 (excluding employer and employee).
Create a custom position
For the players who have position permission POSITION_ADD can add custom position for the company.
They can create in company menu or typing /myc position add [position id] [label] to create custom position.
Example: /myc position add manager GOAT_Manager
In this case, the new position id should be manager with labelled GOAT Manager
If you want to remove the position, do it in menu also or typing /myc position remove [position id]
Set player's position
In MyCompany, there is no defined promote/demote for the employee as the permissions of the positions are customizable.
If the players want to set position of other employee, they should have permission SET_POSITION before setting.
Note that the position of target player should not also have the permission SET_POSITION. Otherwise, the setting will be considered failure.
They can do it in menu or typing /myc position set [player] [position id] to set [player]'s position.
Position label
In MyCompany, you can completely change the name of the position.
Players who have permission POSITION_SETLABEL can do it.
Do it in menu or type /myc position setlabel [position id] [label]
Position permissions
MyCompany has allowed each company to manage the permissions for its positions.
The employer can give or remove permission to the position.
Default permissions for new position
For new created position, you can set up the permissions that it has for default.
You can find the list in config.yml
company-settings:
employee-default-permission:
- 'CHESTSHOP_CREATE'
- 'CHESTSHOP_DELETE'How to set the permission of position
In Commands:
- To add permission for the position, try /myc position permission add [position id] [permission]
- To remove for the position, try /myc position permission remove [position id] [permission]
- To see the list of permissions, try /myc position permission list
- If you want to see all permissions of the position, try /myc position permission list [position id]
In Menu:
- Type /myc open to open the menu of your company.
- You can find anything you want!
Permission list
ALL: 'All permissions'
EMPLOY: 'Employ'
FIRE: 'Fire'
CHESTSHOP_CREATE: 'Chestshop Creation'
CHESTSHOP_DELETE: 'Chestshop Deleting'
AREA_CREATE: 'Company Area Creation'
AREA_DELETE: 'Company Area Deleting'
AREA_SETLOC: 'Location Set of Company Area'
AREA_MARKET_RENT: 'Pushing Area to Rent Market'
AREA_MARKET_SELL: 'Pushing Area to Sale Market'
AREA_RENT: 'Area Rent'
AREA_SELL: 'Area Purchase'