Plotty
Outdated!
Plotty v1.x is now outdated as Plotty v2 is finished and available on BukkitDev. You can find it here. Please update to this version for much more features, a better way of storing data, less bugs and much, much more!
Plotty
Plotty is a plot management plugin for the world generator, InfinitePlots. It uses WorldEdit and WorldGuard to protect the plots, and there is also options to customize how many plots people can have, etc.
This plugin requires WorldEdit, WorldGuard, Vault and InfinitePlots.. Without them, it will not work.
WorldGuard
I have been notified that WorldGuard will soon update (if it hasn't already) to a later version (6.x) which WILL BREAK PLOTTY until I update it with support for WorldGuard 6.x. This is not my fault, and I will do what I can to fix it.
Features
- Automatically finds and creates new plot upon /plot new.
- Configurable limit of plots.
- Plots are protected from TNT and creepers.
- Requires very little configuration.
- Plot friend functionality!
- Go to anyone's plot!
Commands
- /plot - Show Plotty help.
- /plot new - Find and claim a new plot.
- /plot friend <id> <player> - Add a friend to your plot.
- /plot unfriend <id> <player> - Remove a friend from your plot.
- /plot tp <id> - Teleport to one of your plots.
- /plot tpf <id> - Teleport to a plot you are 'friended' in.
- /plot list - List your plots - GID is the global ID (new in 1.2), this can be used for other players to teleport to your plot.
- /plot info - Get the info of the plot you're standing in.
- /plot del <id> <f> - Delete one of your plots. (add f to remove yourself from a friended plot). Note - this will change IDs of plots.
- /plot admin listall - List all plots in the world. (alias /plot a listall)
- /plot admin del <player> <pid> - Delete a player's plot. PID is the ID specific to the player. Find this with /plot a listall. (alias /plot a del)
- /plot goto <gid> - Goto a plot in the world - GID is the Global ID for the plot.
- /plot admin migrate - Migrate the plots to v1.2. You must do this if you have/had version 1.1 or below!
- /plot admin corrupted - Delete the corrupted plots from v1.1. (some plots are corrupted due to a glitch in v1.1 - sorry!)
Setup
1. If you haven't already, make the world - it must generate with InfinitePlots.
2. Set the size of the plots in the Plotty config to the size of the plots you set for InfinitePlots. (default is 64).
3. Set the world name in the Plotty config to the name of the world generated with InfinitePlots.
4. Customize the remaining parts of the Plotty config at will.
5. If you want to protect the pathways, type /region flag __global__
build deny.
6. Plotty is now setup! Have fun!
Permissions
The permissions are just "plotty.commandname", commandname being the first part of the command, eg: plotty.new. The permissions are SuperPerms/the default Bukkit permissions, the reason being that most permissions managers support this anyway. Use "plotty.*" as a wildcard for ALL commands - ops also have all the commands. For admin command, the permission is "plotty.admin.commandnamehere", ex. plotty.admin.del. Plotty depends on Vault for permissions.
Max plots specific to players/groups
Setting max plots for groups
To set maximum plots for certain groups, go into the config file and under "groupmaxplots", add "groupname: maxplots", groupname being the name and maxplots being the number of plots you want to give them.
Setting max plots for users
To set maximum plots for certain users, go into the config file and find "playermaxplots". Under this, add "playername: maxplots", playername being the name of the player and maxplots being the number of plots you want to give them.
Example config:
plotty: plotSize: 64 plotHeight: 20 maxPlots: 5 world: Creative groupmaxplots: guest: 1 builder: 5 moderator: 15 playermaxplots: Notch: 1000 bob: 10
Signs on Plots
Signs are placed on the bottom right corner of plots. For versions below 1.2, existing plots will NOT have signs placed on them.
Currently there is no config option for this, but in the future I will add one.
IMPORTANT (only do these bugfixes if you have ran/used Plotty v1.1 or below!)
Note - I have tried to make the process of fixing bugs as simple as it can be, I am very sorry for any inconvenience.
To fix all of the bugs, do the following commands.
1. - /plot a fixcaps - This will fix the file names to make them all lowercase. In versions prior to v1.2.1, files would be created with lowercase and uppercase versions of player names, this caused the players to lose plots and Plotty will think they're corrupted. It is crucial that you do this first.
2. - /plot a migrate - This will migrate all the plots to v1.2.
3. - /plot a corrupted - This will delete the corrupted plots. This is optional but recommended.
It is also STRONGLY RECOMMENDED that you use the command '/region flag __global__
deny-spawn wither' to stop spawning of the wither in 1.4. There are no protections built into Plotty against the wither. It will explode if you don't add the flag above to the world.
Links
Note - some features in the description may not exist if you are not running v1.2/1.2 has not been accepted by BukkitDev.
my name in the picture
@xXSshadowXx
@TheOros
@RustyDagger
Plotty v2 is completed and you can find it here. Sorry to everyone for the massive wait, but it will have been worth it ;)
@Tcvs
/plotty is an alias for /plot, but if you need more you can go into the jar and add an alias to the plot command by adding the indented line "alias: myalias" underneath
"commands:
plot:"
Hey,
could u add another command other than plot so like add plotty becuase this plugin does not work with towny..
Thanks
tcvs
@Daviga404
Do you have an estimate of when this(2.0) may be released? Just curious and not rushing at all.
/plot new = internal errorr acoured when issueing this command
@Daviga404
thanks for the fast answer and its good to hear v2 will be out soon. but for now enjoy the christmas time
so Merry Christmas to everyone
@TheOros
@xXSshadowXx
I promise, Plotty v2 is nearly done. I have already implemented a claim command and a better plot finding algorithm so plots will be made in a square around the center shape. I'm very sorry for any inconvenience, but most of the problems will be fixed in Plotty v2. I cannot say that it will come out today or tomorrow with it being Christmas but it will be out very soon.
i got the same issue like xXSshadowXx
somehoe people that claim plots end up at locations like 99500 65 5 or 5 65 100000 is there any way that people claim plots closer to the middle... where i created a spawnbuilding
@Scrandre
open the jar with winrar, delete meta-inf, extract plugin.yml and modify the file to add in an alias.
Can you add another alias? It conflicts with Towny
I'll waiting for v2.0... Hope it'll be soon(
Is there anyway to make Plotty use spots closer to the center? It seems now it's branching out in a large "plus shaped area" and encroaching in the world border I have set.
@dmb1107
Plotty v2 will come out soon when I have the time to make it. If you're config isn't being made, make a folder called "Plotty" in /plugins/ and then make a file called config.yml. Reload and Plotty will make the defaults from there. Sorry for the inconvenience.
My plotty isn't creating a config. I reloaded my server and also restarted it but it will not make a config.
@Telal123
/region flag
__global__
build denyIt is two underscores on either side of global.
How do you freaking protect the roads I said that exact command GOD DAMN!
@RustyDagger
I did consider a claim command, but you would have to put all of the possible flaws into perspective, for example, what if the generator used a different material other than grass? What if the walls were different? Even then, it would be hard to do the math to work out whether the player is actually on a path or not. The starting point of a plot would be divisible by a number or something, and then you would still have to get the corner.
Soon, I will be releasing a Plotty v2 with a much better system and less crappy ways of storing plots, etc. It will not be half as buggy and will be much cleaner, along with a function to import old configs from Plotty v1.x. It will be a total remake of Plotty since I am not happy with the coding at all, its very messy and unorganized and can easily throw errors. In the Plotty v2, I will probably add a new algorithm for finding plots and a plot claim command if possible. I am sorry that you are having trouble with the plugin, and I am doing what I can to resolve bugs and errors in Plotty.
even some Claim here type command would fix alot of my current issues with big empty spaces we all know players are lazy and dont like to walk far so they would fill in the gaps if there was a command to claim the area they are standing in you might be able to do that by searching on a 2d plane at head hight for the block id that is the Top of the wall then finding working out the Loop getting the 2 corners contracting 1 block then expanding vert ect
I needed to claim the 4 plots near spawn so i could make a bigger building Because of your ""Random"" I claimed 44 plots and still did not have all 4 near spawn I was unable to claim the plot -4 -4 -131 -131 my plots are 128 at height 20.
further more I think your region checking is flawed because it is skipping many many empty plots with no regions it never seems to go to a deleted plot maybe just maybe that is an issue cause by worldguard running in mysql mode have you tested it with that? Any large use of regions by worldguard should be using mysql else worldguard tends to chew HDD space from saving region data. I have seen first hand this happen with over 30,000 unique players a day logging in on just a 400 slot server. I think there is some how some thing remaining after the del command is ran that is letting your plugin think there is a Claim there so it skips it.
Also what about instead of random you used idk maybe an ADD like 0,1,2,3 then back to 0? that way it would claim in a spiral type fashion I'm not a math guy so if you say that won't work I believe you.
@RustyDagger
Read the permission section;
New plot picking picks a nearest plot on a random of 0-3, if its 0, it goes North of the starting point (x4,z4), if its 1, it goes East from the starting point, if its 2 it goes South, and 3 it goes West. The plot picking system continues this algorithm until it finds an empty plot by checking if regions are defined there. If you can come up with a better way of finding plots that is actually possible, then feel free.
Don't expect the plugin to be perfect. I do this for free and no charge using my time, you can't expect no bugs or errors.