Donation Link: ---------------------- Paypal
Allows you to create tridimensional region with WorldEdit selection that can be buyed or rented. The plugin works with all Vault supported economy systems, requires Vault and WorldEdit to work.
With this plugin you can sell or rent different Region that can be one above the other like the flors of a skyscraper.
Installation
- Put RegionRent.jar in your plugins directory.
- Do a /reload to reload your plugin or restart the server.
- Configure your permissions if needed.
Permissions
- regionrent.region.edit - allow to create and edit Regions and Offers, default for OPs
- regionrent.region.buy - allow to rent/buy a Region, default true
- regionrent.command.buy - allow to rent/buy a Region with the command "/RegionRent buy" , default false
- regionrent.sign - allow to create and destroy plugin's signs, default for OPs
- regionrent.NPC - allow to create and remove plugin's NPC, default for OPs
Create a Region
- Select an area with WorldEdit selection than use /RegionRent region create <RegionName>
- Select a spawn for the region with /RegionRent region setSpawn <RegionName> (it use your position as spawn)
- Save the Region with /RegionRent region save <RegionName>
Change editable blocks
By default in the owned Region a player is allowed only to edit block that at first were AIR, you can add more editable block with
/RegionRent region setEditable <regionName> <BlockType/BlockId> <true/false>
For example
/RegionRent region setEditable region1 DIRT true
make the dirt block editable in the region " region1", and
/RegionRent region setEditable region2 12 false
make the sand block (with id #0012) uneditable in the region "region2"
(Note: a player can always remove a block that he has placed, and place all blocks where at first there was AIR so in a normal use you don't have to use this function)
This change have to be saved with /RegionRent region save <RegionName>
(Note: in a normal use you don't have to use this function)
Insert new offers for the Region
For the same Region there can be a maximum amount of 8 purchase/rent options, you can add a new one with
/RegionRent region addOffer
<regionName> <cost> <Days/Minutes/Hours/Unlimited> [duration]
For example
/RegionRent region addOffer region1 500 Days 3
add an offer to rent the Region "region1" for 3 days with a cost of 500$, and
/RegionRent region addOffer region2 3000 Unlimited
add an offer to buy the Region "region2" with a cost of 3000$,
Insert the region group
You can insert the Region in a group with
/RegionRent region setGroup <regionName> <groupName>
groups can be used with sign and NPCs to see all the offers for more Regions together, a group can't have the same name of a Region.
Create a RegionRent sign
- : [RegionRent]
- : <regionName/groupName>
- : unused/any
- : unused/any
Right click on the sign show all the offers for the Region or region group, only with "regionrent.sign" permission you can remove it.
You can use color codes on lines 3 and 4.
Create a NPC
Right click on a NPC show all the offers for the Region or region group, only with "regionrent.NPC" permission you can remove it.
To create a new one:
/RegionRent NPC create <RegionName/GroupName> <entityType> [NPCName]
For example
/RegionRent NPC create region1 villager Uno
create a Villager NPC named "Uno" that, with right click on it, show the Offers for the Region "region1". The created NPC has same location, item in hand and armor (if the entity can wear an armor) that the player wear when he created it.
The supported entityType are
- zombie
- skeleton
- pigzombie
- villager
- blaze
- creeper
- witch
Config Options
- Prefix: prefix of all plugin messages and it is showed in the sign's first line.
- TimeFormat: by default "Dd Hh Mm", "D" is replaced with the amount of days, "H" with hours and "M" with minutes.
- ResetExpiredRegion: if "true" after the rent is expired the Region reset itself.
- OverriteCommands: by default contains the subsection
home: rent home
then when a player run the command "/home" the command processed by the server is "/rent home". You can add more subsection or remove it.
Message Configuration
- All messages that are sent to a player can be changed by editing your "config.yml" in the 'Messages' section.
- Between the name of the field and the contents you should be able to figure out which is which.
- Sentences that seem to just end will probably have the value placed there.
Change Language
- Get a the translated "config.yml" here
- Sobstitute the "config.yml" in the RegionRent folder in plugins folder with the downloaded one.
- Do a /reload to reload your plugin or restart the server.
Commands
- /RegionRent: see your rent options
- /RegionRent buy <regionName> [offerID]: rent/buy a Region (without offerID show all the offers)
- /RegionRent home: teleport to your Region spawn
- /RegionRent autorenew <true/false>: enable or disable the autorenew when the rent expired
- /RegionRent leave: leave your Region
- /RegionRent info,help [page]: list of all commands (show only those the player can use)
- /RegionRent region create,createRegion <regionName>: create a new Region with a WorldEdit selection
- /RegionRent region spawn,setSpawn <regionName>: set your position as Region spawn
- /RegionRent region deleteRegion,delete <regionName>: delete the Region
- /RegionRent region save: save the Region, all the changes in the Region's configuration have to be saved
- /RegionRent region setGroup <regionName> <groupName>: set a Group for a Region
- /RegionRent region removeGroup <regionName>: remove the Region's group
- /RegionRent region setArea <regionName>: set the area of the Region with the WorldEdit selection, need to save next the Region
- /RegionRent region setEditable <regionName> <BlockType/BlockId> <true/false>: set a block editable in the Region, AIR is by default true, need to save next the Region
- /RegionRent region addOffer <regionName> <Days/Minutes/Hours/Unlimited> <cost> [duration]: add a offer for the Region
- /RegionRent region offers <regionName>: see and manage all offers for the Region
- /RegionRent NPC removeNPC: remove nearest NPC
- /RegionRent NPC create,createNPC <RegionName/GroupName> <entityType> [NPCname]: create an NPC
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta