Districts
Districts
Districts is like GriefPrevention, but players can sell/buy, lease/rent their claims!
Claims are made by command, or using a golden hoe. Once a district is claimed, the district is protected from griefing. District owners can rent out a district for a weekly fee, or sell the district for a price. District owners or renters can add trusted players to a district who then have most of the same rights as the owner or renter.
Video Tutorial on the Plugin (Portuguese)
Credits Video: (AbsintoJ/Districts)
Features
- District are made easily by using /d claim <radius>, which will make a square claim around you
- Districts can also be made using a golden hoe - hit one corner of the claim and the other corner
- Players are notified when they enter a district and exit a district
- Districts are automatically protected once made - admins can change the settings via config.yml
- Districts can be freely traded or rented out. This enables houses or buildings to be rented or sold
- Admins can give or take blocks away from players
Required Plugins
- Vault - make sure you use the latest version!
- Some kind of Economy Plugin, like Essentials
Installation and Configuration
- Download and install Vault and an Economy Plugin like Essentials if you haven't done so
- Download the plugin
- Place into your plugins folder
- Restart your server (or reload plugins)
- The plugin will make a folder called Districts. Open that folder.
- Check config.yml and edit to be what you want.
- Type /dadmin reload in the game to reload the config or restart the server.
- Done! To make your first district, type /d claim 2 to make a small claim.
Player Commands
- /district or /dist or /d can be used for short.
- /district help - lists these commands
- /district claim <radius>: Claims a square district with you in the middle of it
- /district view: Toggles the red district visualization off and on
- /district trust <player>: Gives another player full access to your district
- /district trust: Shows who is trusted in this district
- /district untrust <player>: Revokes trust of a player for this district
- /district untrustall : Removes all players from the trusted list
- /district pos: sets the corners of a district
- /district balance: Shows you how many blocks you have to use for districts
- /district remove: Removes a district that you are standing in if you are the owner
- /district info: Shows info on the district you are in (Same as /district trust)
- /district buy: Attempts to buy the district you are in if it is for sale
- /district rent: Attempts to rent the district you are in if is it for rent for 1 week
- /district rent <price>: Puts the district you are in up for rent for a weekly rent
- /district sell <price>: Puts the district you are in up for sale
- /district cancel: Cancels any For Sale or For Rent sign or terminates the rent lease at the next renewal date (notifies renters of eviction)
Admin Commands
- /dadmin reload
- /dadmin balance <player>: shows how many blocks player has
- /dadmin info <player>: provides info on the player
- /dadmin give <player> <blocks>: give player some blocks
- /dadmin take <player> <blocks>: remove blocks from player
- /dadmin set <player> <blocks>: set the number of blocks a player has
Permissions
permissions: districts.player: description: Gives access to basic player commands default: true districts.trustplayer: description: Basic commands plus player trusting default: false districts.advancedplayer: description: Gives access to advanced player commands (buy, sell, rent) default: false districts.buyblocks: description: Enable block purchasing default: false districts.admin: description: Gives access to admin commands default: op
To Do
- Allow customization of the rental period (currently 1 week)
- Enable owners to see a list of their districts
- Import GriefPrevention files
- Import Residence files
Source Code
Source code can be found here.
Stats Disclosure
This plugin utilizes a plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Visit mcstats.org if you would like to learn more about the stats collected. Go into /plugins/PluginMetrics/config.yml to disable stat collecting if you wish.
@tastybento
How would the GUI work?
@TJW28
Interesting! Okay I'll add that. Next version has a GUI.
@tastybento
Sorry for late reply.
Using a stick ( or other tool ), when click the ground, would show a player info on the claim, whether owned, or not. GP had a nice feature where it would show the last time a player logged in, making it really easy to determine if a claim was still active or not.
Great news about the additions for v0.6, :)
Video Tutorial on the Plugin
http://youtu.be/2bzVKdr5gmo
Credits Video: (AbsintoJ/Districts)
@SahilCrazy
Yes definitely - in the next version. There will be a control panel for all the various settings and the ability to customize the messages. Also, control of water/lava flow in/out of districts has been added. :-)
Hi,
Will it in a future update be possible to change all messages? Such as the welcome messages etc..
I really like this plugin, it's simple, lightweight and easy to use.
@CraftYourWay
V0.6 will support this - thanks for your input!
Hello, Nice plugin but is it possible to use it for more worlds, i have multiverse but when i add for example world,world2 then it wont work
how can i fix this
@TJW28
Bukkit's approval system seems to have ground to a halt, so 0.5 can be found here.
@TJW28
So, just to clarify, you hit the ground with a stick and what happens?
How on earth did I miss this.
Like your other plugins sir, this looks great sofar.
Looking forward to seeing the to do list shortening ;) But, adding to it, could you possibly add a way of checking an area by clicking with an item ( stick perhaps ), its what my players are accustomed to.
Thanks.
@NinjarakuPwnz
Thanks! I'm testing the lastest version now that has options for auto block allocation by permission and time.
I see on your "to do list" your going to add block allocation permission node, When this is implemented it'll save me and my staff time, one less thing to worry about when promoting & setting ranks for players, Great plugin & highly configurable, Can't Wait to see block allocation added,
Currently running on my 1.7.9 r0.2 server EcoVentureCraft & the players main complement is how straight forward it is and that they can either select a area centered on them or mark it out with a specified tool.
And I wanted to let you know me and my members appreciate your plugin, Thanks!
@Gizmo567 @SpaceDiamonds
Okay - tracking in ticket here.
Hi there, is it possible for you to add a setting where users are only able to view claims with right clicking on a stick rather than everytime they walk into a claim? Also, could you add a setting so that users are able to keep the claim notifier/viewer off upon every log-in and in order to re-enabled they have to issue the command again.
@tastybento
1. Adding choice in config to enable/disable redstone blocks around district. 2. Change block instead of redstone blocks in district.
Thanks! =)
@SpaceDiamonds
Hi - you can help me by listing in priority order the features you want to see because then I can focus on the most important ones. I am working on another plugin right now so I'm quite busy but it would be good to improve this one. Thanks!
@tastybento
Awesome!
Is it possible for you to make it a choice for the redstone blocks to appear as entering the District, or change the type of block instead of the toggle view? Also, does redstone work across districts if the redstone signal was somehow next to another district?
I am really looking forward for this plugin to advance! I am actually using this plugins for a creative sort of thing, because I didn't really like the normal Creative Plot system. But as stated above, looking forward! =)
@tastybento
Okay cool! Looking forward to this! I hate the new griefprevention!!
@farkros
Thanks for the ideas - I've added them to the To Do list!
I'm finishing up another plugin right now, but I'll get on these when I can.