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
Cool. I'm mostly looking for the town rankings part. The players really enjoy their "top" lists - mcmmo, islands, balances, etc. Would be one more thing for them to be competitive about.
I'll load up the plugin tomorrow and see if our players like it. Pretty disappointed tonight after finding a huge exploit that would ruin our economy with what we were using :(
edit: after playing around with it a bit tonight, could you maybe do the top list off of how many blocks the person owns? couldn't really do a point value like you do with skyblock just due to it being an open survival world, but maybe the "value" of how much you've purchased could be used.
@eudaemonia
You are correct in your observations - there's no ranking or challenges al-la-aSkyblock - what a fascinating idea! I'll look into adding that, but it may be a different plugin because it could bloat Districts.
@aaa99
Going to your primary need - you want players to only be able to build if they claim an area - correct? That's actually a good feature.
Apart from that is there any other reason why you'd want Districts to hook into WorldGuard? My aim is to be independent from WorldGuard and not have to hook into it.
I have a few questions for you about this plugin. I'm considering swapping over to this from another plugin we use. I don't see in the documentation that you have any type of District Top list (like you do for skyblock). This is something our current plugin has and our players love it. The second thing I'd like to know is if you'd be willing to put in challenges for this one also so it would give the towns goals to work on together.
tastybento as an asset the effects of potions droppable within the district ? :c
Hi tastybento,
I'm new to bukkit servers, so maybe I'm just doing something wrong.
I really like it how easy users can claim their own land, that's why I want to get your plugin running. And it works well if I ONLY use this plugin.
But of course I've got some other plugins, WorldGuard most important.
It seems your plugin and WorldGuard compete for building rights, and unfortunately your plugin isn't winning.
In my world nobody is allowed to build but me, only in districts users shall be allowed to build.
Do you think, you can hook into WorldGuard and make your districts a region of WorldGuard if WorldGuard is present? I'm sure, I'm not the only one using WorldGuard.
I know there are tons of other plugins for landclaiming that are compatible with WorldGuard, but your plugin seems to me the most user-friendly, so please consider making it compatible.
@isaske
@timsavage
Understood. Let me think about how to add this kind of functionality.
This looks like an interesting plugin, and something I've contemplated doing myself. GriefPrevention is great, but some would rather have an emphasis on plots, without all the other anti-grief features of GP.
There is one feature that seemingly all plot management plugins lack, and you should consider, and that is to have limits on the number of plots a player can own, but also for an admin to be able to create plot groups, with per group limits.
The reason for this is an issue that I continually run into on my server. When I create towns with plots for sale, financially successful players (and even staff members!) invariably buy up every single piece of property available, leaving none available for new players. By having plot groups with individual limits (and possibly different limits for different player groups), it would be possible to enforce rules such as '2 house plots and 1 farm plot in town A, 1 house plot and 2 farm plots in town B' and 'no staff owned plots in Town A'.
Having a global or world limit does not address the issue sufficiently, as players will just use their allotment in one town, and also be prevented from creating their own plots outside of towns when their limit is reached, if player created plots are allowed.
Also, having abandoned or expired plots revert to admin ownership, rather than reverting to unclaimed land, prevents the further subdividing or claiming of expired town plots. Wilderness plots that should revert to unclaimed land can be differentiated by having no group, or there could be a per group setting to revert to unclaimed or admin ownership.
Finally, and you may have already done this, but allowing admin plots to be put up for sale, and having sale proceeds go to a configured server account, is another feature that would be useful for town management.
sorry for my bad English, I use google translate. trying to say that there is no limit districts. I have a limit of 200 blocks. but when I use it. then I can gather 200 more. then I go back to use. and I can put together another 200 more. I can have many districts. should make a limit of districts created for each user. no matter the size of the district
@isaske
Do you mean a lifetime or world limit? Like user A can only have a maximum of 10,000 blocks in the world ever?I'll look into that.
You can stop players from earning blocks - just change the config. But I think you want a world-limit right?
works perfect, just bothers me 1 detail, users can create districts forever, should put a limit to set, users when they use the maximum claim block, and the blocks are removed him, but then continue by adding more blocks, should put a limit
Hey! This plugin is actually really cool and I'm glad I came across it. I made a showcase/tutorial for it here http://youtu.be/CYHDM9XT088 . I think that this plugin will make a very nice addition to my public server once it's out. Feel free to use the video on your plugin page :)
I made a plugin tutorial/spotlight! Consider adding it!
https://www.youtube.com/watch?v=Hn5zBMYE_Vc&feature=youtu.be
@krowvin
Thanks for the report - it was a left-over debug check.
Please try V0.7, which removes it.
TB
Districts Version 0.6
1.7.9-R0.1
I'm having an issue with my server log.
The log is being filled up with
From my log:
It seems to only happen when trusted players place blocks in a zone they have been trusted to? I'm uncertain.
I've done a bit of research on the subject and have been unable to come up with a solution.
@mai2002
難しいですね。1.7.2は古いとDistrictsはUUIDのAPIを使うから1.7.9がいる。でも見てみよう。 一番最後のBukkitのJARを渡したら?それは一番簡単だと思います。したかったら僕にPMしてください。
同一文の日本語文も投稿します
私は日本人ですので、グーグル翻訳で話します 今bukkitが閉鎖されていてminecraft1.7.9のbukkitの入手が困難です ぜひ、このプラグインをminecraft1.7.2bukkit用に出してもらえないでしょうか?
Because I am Japanese, I speak with Google Translate Obtaining bukkit of minecraft1.7.9 is difficult bukkit has been closed now By all means, will not get out to minecraft1.7.2bukkit for this plug-in?
@JesterDemi
Sorry, I just updated the Permissions section on this page. You need to make sure your players have the districts.advancedplayer permissions. See above for other permissions.
Can anyone help me? I'm not sure why the "/district trust" won't work for my server.