Company Area
About 362 wordsAbout 1 min
Introduction
Players with permission AREA_CREATE can create area for the company.
The area is protected by the plugin, preventing unpermitted players to access with protection modules.
Players with permission AREA_MARKET_SELL and AREA_MARKET_BUY can push the area to Area Trade Market,
where other companies can buy/rent the certain area.
Protection Module
Currently, MyCompany will protect company areas with belowing modules:
- destroy: Block destroying
- place: Block placing
- mob-damage: Damage to the mob
- pvp: Player damaging player
- container: Right clicking container block You can set whether protect or not, even disable the entire proection module function in config.yml
company-area:
protection:
enable: true # Set to false can entirely disable the function
module:
destroy: true
place: true
mob-damage: true
pvp: true
container: trueCreate Area
First, you need to have the Area Selection Tool, which is configured in config.yml.
company-area:
selection-tool:
material: golden_hoe
display_name: '&bCompany Area Selection Tool'
lore:
- ''
- '&aLeft Click &7the first block;'
- '&aRight Click &7the second block.'
- ''
- '&7/myc area create <name>'
- '&7Execute the command to complete creating the area.'
- ''Admin can execute command /myc givetool <player> to get the tool.
Then, left click and right click the each corner block to select the area. (It's like the use of WorldEdit)
Next, execute command /myc area create <area> to confirm creation. (or do it in menu)
Don't forget to set the teleport location for the area through menu or executing command /myc area setloc <area>
Limitation
company-area:
maximum-area: 3
area:
size:
minX: 16
maxX: 128
minY: 3
maxY: 128
minZ: 16
maxZ: 128You can set the maximum area that each company can have. (not including the rent area)
Size of area is also configured and limited.
Set the value of maxY shorter if you don't want skyscraper.
Area Trade Market
Companies can buy or rent areas from other companies on Area Trade Market, which can be found in menu of company area.
For renting area, there is a default value of day(s) configured in file.
company-area:
trade-market:
rent:
# Default rent time
# Day(s)
default-rent-time: 1