AbandonedCarts
AbandonedCarts v2.6
With this anti-griefing tool you can check who placed and used last the selected vehicle.
If enabled,the vehicles goes away after x seconds.
Usage
Search an abandoned vehicle.
Type "/acart".
Right click on vehicle.
Type again "/acart" to set it off.
Commands
/acart >>> Selection on/off.
/acart reload >>> Reload config.
Permissions
AbandonedCarts.admin >>> Permission for command: /acart
AbandonedCarts.reload >>> Permission for command: /acart reload
Config
secondsAfterRemove: 30 # The vehicles last used 30 seconds or more get removed. Set it to 0 if you want to disable this feature. checkSeconds: 5 # How much seconds check for the vehicles that used secondsAfterRemove seconds ago. removeEmptyStorageMinecart: true # Remove empty storage minecart (true = remove,false = do not remove) removeNonEmptyStorageMinecart: false # NOT WORKING Remove non empty storage minecart (true = remove,false = do not remove) removeEmptyFurnaceMinecart: true # Remove empty furnace minecart (true = remove,false = do not remove) removeNonEmptyFurnaceMinecart: false # Remove non empty furnace minecart (true = remove,false = do not remove) ignorePlayers: p1,p2,p3 # Players' vehicles to ignore from removing,seperated with comma ignoreWorlds: worldx,worldx2 # Worlds' vehicles to ignore from removing,seperated with comma saveVehicleDatas: true # Save vehicle datas saveOnlyIgnoredPlayersVehicleDatas: true # Save only vehicle datas only for ignored players. ( requires saveVehicleDatas: true)
READ ME 2.6
Before version 2.6,the datas of vehicles didn't saved,just stored because of perfomance.
What this mean: when the server got restarted,the datas lost and you were unable to track back who placed the vehicle.
From now saving vehicle datas to remember it when the server restarted,because of the ignorePlayers.
If you don't want to remove your admin staff's vehicles then enable 'saveVehicleDatas' and 'saveOnlyIgnoredPlayersVehicleDatas' and their username to the 'ingorePlayers' config node.
Installation
Download latest file and put it to your 'plugins/' folder.
Then restart your server or load it with PlugMan or with other plugin manager.
Does this work in 1.5.2 ?
@ohJey
That helps a lot .. XD
Any error message?
@newboyhun
v2.5 worked... new one doesn't.
@lukecfairchild
It's done,doesn't requires vault from now.
@GrandRiver
Read the READ ME 2.6 and please update to 2.6 if the new version is approved!!!!
@lukecfairchild
Working on it.
@joshwenke
Like nothing.
With higher checkSeconds it reduces the lagg.
multi world config? Cause I have a survival style world and a creative world that I have, and I dont want peoples carts disappearing in the survival world. But i do want them disappearing in the creative world.
Also, does this really need vault? Cause I would rather not install vault.
How much lag would this plugin cause?
@GrandRiver
Updated,Uploaded,Approved ;)
@GrandRiver
Okay ;)
If you are able to track who placed each Minecraft would it be possible to add a feature/option that would not remove minecarts placed by placers with the .admin permission node or something similar?
Reason being is that although we have a railway transit system we need to keep clear of empty Minecarts we also have some redstone systems that are kept active by Minecarts running over detector rails that are typically built by server staff.
@lukecfairchild
I made it,so late =(
Sorry.
I have a suggested feature. Make it so carts go away after not being interacted for so long. On my server i have been having the problem of people just making a ton of carts and doing nothing with them.
@newboyhun
I think you just about nailed it. I'll be doing more testing though so stay tuned for new bugs (hopefully there aren't any).
@secchio
Checking it.
@newboyhun
New bug:
When someone places the cart and I check it, it says that nobody used the cart.
@secchio
Added to my today's to-do list ;)
@newboyhun
It's almost perfect :D
Bugs:
I would also suggest some minor tweaks:
Other than that, it's all perfect, good job dude :-)
@secchio Updated to 2.0 read chancelog ;)
I requested it. My server has a policy saying not to leave carts on the rails because they are obstacles for other players who are travelling on those tracks (this is griefing). So with this tool I can find out who leaves them there, and ban them.
Problem: I can't get on minecarts anymore. You will need to make a command that disables the /acart function. /acart off ?
You should also make it so you can find out who placed the cart.