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.
@baksovic111
Please try V0.8 - it has the ability for Ops/admins to remove claims.
@SpaceDiamonds
This is done in V0.8 from a PVP perspective - please try it.
Players are making TNT cannons to shoot inside player districts, is there a way for players to allow and disallow explosions to grief there property like creepers do? Basically: Player would have the command in his district to allow TNT explosion or to have it turned off.
Would make this plugin perfect to have this in!
How to remove a foreign privat if I'm an admin? 1. Bug If claim near other private user you can claim 1 block other player
You will be able to realize the purchase of private blocks per game items? I have a no ordinary server and my game currency is the emeralds with display.Name = "Emerald Coin" Something like /district iset name "&2Name Money" /district ibuy 20 block
Mentioned a decent amount of times within the comments, is it possible for Districts to detect whether WorldGuard is loaded in the server plugins, and then link up with it, creating "Districts" within a plugin-created region in WorldGuard? By doing this, this would fix the PvP occasion mentioned earlier, and allows more plugin compatibility/integration with other plugins. Thanks!
@xXXxWarFacexXXx
It's really not that hard to do if you have a permission manager (GroupManager, PermissionsEX...)
PM me if you would like to test V0.8 that has compatibility with Server V1.8 items and blocks.
@tastybento
They do have districts.player i wish that trust player would be in districts.player permissions though your plugin. Thay can place districts but cants rent sell or trust players remove players untrust players. Thats all under your districts.advancedplayer perssisions. Cant you put those under regular districts.player
@xXXxWarFacexXXx
Sounds like a permissions issue. If admins can do something, but not regular players then 99% of the time that's the problem. Make sure that players have at least districts.player as a permissions.
I downloaded Vault and essentials but i cant get my normal players to add a trusted player to there claimed land. Only the admins have this ability. Any help would be greatly accepted.
Anyone care to help please?
Thank you
I downloaded Vault and essentials but i cant get my normal players to add a trusted player to there claimed land. Only the admins have this ability. Any help would be greatly accepted.
Thank you
@isaske
http://dev.bukkit.org/bukkit-plugins/districts/tickets/10-need-admin-controls-for-adding-removing-in-districts/
he's already working on some admin controls =)
@princesssearra
Vault is mandatory (it's used for permissions) but an economy is not if you just use the basic player settings (no buying of stuff). You'll see an error on start up saying it cannot find an economy.
/dadmin remove player will add that command ???
@princesssearra If you're using permissions of some type, you can set it up per rank so that they get x amount of blocks per tick while playing. It's been a while since I looked at that section but look for blockgroups setting in config and that would be what you're looking for if i remember correctly.
Also, if you have them voting every day, you can set up a certain amount of blocks per vote with the /dadmin give <player> <blocks> command as another way to give them blocks.
Quick question: I am starting a server with no economy, would it cause a problem with the plugins use if I had no economy? We just wouldn't use those commands and such. Thanks!
@eudaemonia
Oops, the to do list is old - I just updated it.
Players can fully customize the entrance/exit notices and disable them - just type "none" when setting the name.
Overriding WorldGuard's PVP may be a bit tricky. It looks like there may be a way to do it though. If you could make a ticket request I'll look into adding it.
Expanding district - understood - please make a ticket request. Could be done, but quite a bit of work.
Put the plugin back in tonight. Here's some of the things players are asking for
- Ability to disable entrance/exit messages (see that you have customizing in your to do list but wasn't sure if this would be included in that)
- Have an issue with pvp flag. We have pvp deny through world guard. Would be nice for the district to have a higher priority so that it could allow pvp in that area. (or some explanation on how this is intended to work when world guard is present)
- Expand existing district
@eudaemonia
A top list based off how many blocks the player owns would be relatively easy, and not so intensive. How are you allocating blocks? Calculating levels like aSykblock/AcidIsland could really lag the server.