PropertyGuard Reloaded
Player controlled property protection, purchasing, and sales!
Allows players to select an area (using the WorldEdit two point cuboid selection method), check the price to protect it, purchase the protection, which creates a WorldGuard Protected Region. Then they can cash it out to remove it, or offer it for sale to another player.
Properties are created with the following WorldGuard Region Protection Flags set:
Flags.use deny
Flags.greeting Entering %player%'s protected area
Flags.farewell Leaving %player%'s protected area
Commands
To select an area:
Hold a wooden ax, and left click to set the first point, then go to the opposite corner of the 3D Cuboid Area and select the second point.
This requires giving players the WorldEdit "worldedit.selection.pos "
To check the price before you buy a new property (first select an area):
/pg price
To buy a new property (first select an area):
/pg buy {new_property}
To see information about a property:
/pg info {property}
The property parameter is not needed if you are in a WorldGuard Region that has no overlapping regions.
To cash a property (sell for a faction of the price back to the server):
/pg cash {property}
To sell a property to another player (this sends and offer for the sale):
/pg sell {property} {player} {price}
To accept a sale offer (this is done by the receiving player:
/pg yes
NOTE: Both players must be online and in the world where the property is located to complete the sales transaction.
To add a member to your property:
/pg add {property} {player}
To remove a member from your property:
/pg remove {property} {player}
To set WorldGuard Protection Flags on your property:
/pg flag {property} {flag_name} {setting}
List of Permissions:
propertyguard.price:
Check a new property's price
default: true
propertyguard.buy:
Buy a new property
default: true
propertyguard.sell:
Sell your property
default: true
propertyguard.cash:
Cash your property
default: true
propertyguard.buyer:
Buy someone else's property
default: true
propertyguard.info:
Get property information
default: true
propertyguard.members:
Add or remove a members from your property
default: true
propertyguard.flags:
Allowed to set flags
default: true
propertyguard.admin:
Allow admin commands
default: op
propertyguard.flag.passthrough:
Allows Setting of Region PASSTHROUGH Flag
default: true
propertyguard.flag.build:
Allows Setting of Region BUILD Flag
default: false
propertyguard.flag.pvp:
Allows Setting of Region PVP Flag
default: true
propertyguard.flag.chest-access:
Allows Setting of Region CHEST-ACCESS Flag
default: true
propertyguard.flag.pistons:
Allows Setting of Region PISTONS Flag
default: true
propertyguard.flag.tnt:
Allows Setting of Region TNT Flag
default: true
propertyguard.flag.lighter:
Allows Setting of Region LIGHTER Flag
default: true
propertyguard.flag.use:
Allows Setting of Region USE Flag
default: true
propertyguard.flag.vehicle-place:
Allows Setting of Region VEHICLE-PLACE Flag
default: true
propertyguard.flag.vehicle-destroy:
Allows Setting of Region VEHICLE-DESTROY Flag
default: true
propertyguard.flag.sleep:
Allows Setting of Region SLEEP Flag
default: true
propertyguard.flag.mob-damage:
Allows Setting of Region MOB-DAMAGE Flag
default: true
propertyguard.flag.mob-spawning:
Allows Setting of Region MOB-SPAWNING Flag
default: true
propertyguard.flag.deny-spawn:
Allows Setting of Region DENY-SPAWN Flag
default: true
propertyguard.flag.invincible:
Allows Setting of Region INVINCIBLE Flag
default: true
propertyguard.flag.creeper-explosion:
Allows Setting of Region CREEPER-EXPLOSION Flag
default: true
propertyguard.flag.ghast-fireball:
Allows Setting of Region GHAST-FIREBALL Flag
default: true
propertyguard.flag.enderman-grief:
Allows Setting of Region ENDERMAN-GRIEF Flag
default: true
propertyguard.flag.greeting:
Allows Setting of Region GREETING Flag
default: true
propertyguard.flag.farewell:
Allows Setting of Region FAREWELL Flag
default: true
propertyguard.flag.notify-enter:
Allows Setting of Region NOTIFY-ENTER Flag
default: true
propertyguard.flag.notify-leave:
Allows Setting of Region NOTIFY-LEAVE Flag
default: true
propertyguard.flag.exit:
Allows Setting of Region EXIT Flag
default: true
propertyguard.flag.exit-group:
Allows Setting of Region EXIT-GROUP Flag
default: true
propertyguard.flag.entry:
Allows Setting of Region ENTRY Flag
default: true
propertyguard.flag.entry-group:
Allows Setting of Region ENTRY-GROUP Flag
default: true
propertyguard.flag.heal-amount:
Allows Setting of Region HEAL-AMOUNT Flag
default: true
propertyguard.flag.heal-delay:
Allows Setting of Region HEAL-DELAY Flag
default: true
propertyguard.flag.heal-min-health:
Allows Setting of Region HEAL-MIN-HEALTH Flag
default: true
propertyguard.flag.heal-max-health:
Allows Setting of Region HEAL-MAX-HEALTH Flag
default: true
propertyguard.flag.feed-delay:
Allows Setting of Region FEED-DELAY Flag
default: true
propertyguard.flag.feed-amount:
Allows Setting of Region FEED-AMOUNT Flag
default: true
propertyguard.flag.feed-min-hunger:
Allows Setting of Region FEED-MIN-HUNGER Flag
default: true
propertyguard.flag.feed-max-hunger:
Allows Setting of Region FEED-MAX-HUNGER Flag
default: true
propertyguard.flag.snow-fall:
description: Allows Setting of Region SNOW-FALL Flag
default: true
propertyguard.flag.snow-melt:
Allows Setting of Region SNOW-MELT Flag
default: true
propertyguard.flag.ice-form:
Allows Setting of Region ICE-FORM Flag
default: true
propertyguard.flag.ice-melt:
Allows Setting of Region ICE-MELT Flag
default: true
propertyguard.flag.mushroom-growth:
Allows Setting of Region MUSHROOM-GROWTH Flag
default: true
propertyguard.flag.leaf-decay:
Allows Setting of Region LEAF-DECAY Flag
default: true
propertyguard.flag.grass-growth:
Allows Setting of Region GRASS-GROWTH Flag
default: true
propertyguard.flag.fire-spread:
Allows Setting of Region FIRE-SPREAD Flag
default: true
propertyguard.flag.lava-fire:
Allows Setting of Region LAVA-FIRE Flag
default: true
propertyguard.flag.lava-flow:
Allows Setting of Region LAVA-FLOW Flag
default: true
propertyguard.flag.water-flow:
Allows Setting of Region WATER-FLOW Flag
default: true
propertyguard.flag.teleport:
Allows Setting of Region TELEPORT Flag
default: true
propertyguard.flag.teleport-group:
Allows Setting of Region TELEPORT-GROUP Flag
default: true
propertyguard.flag.spawn:
Allows Setting of Region SPAWN Flag
default: true
propertyguard.flag.spawn-group:
Allows Setting of Region SPAWN-GROUP Flag
default: true
propertyguard.flag.blocked-cmds:
Allows Setting of Region BLOCKED-CMDS Flag
default: true
propertyguard.flag.allowed-cmds:
Allows Setting of Region ALLOWED-CMDS Flag
default: true
propertyguard.flag.price:
Allows Setting of Region PRICE Flag
default: true
propertyguard.flag.buyable:
Allows Setting of Region BUYABLE Flag
default: true
Notes
All transactions assign the players to and remove from any properties (WorldGuard Regions) involved, and also add or deduct any money from the economy.
The lowest price a new property sells for is $1, the lowest price a property can be cashed out is $0.
Requires WorldGuard, WorldEdit, Vault, and an economy for Vault to connect to.
This plugin is based on PropertyGuard by AxelDios