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.
@imilkywayz Ohmm,if someone leave a minecart on a rail system you can check who used last it. I did this for request,so i don't really know.
Good question... Anyway, on my server - minecarts are free and infinite from dispensers (there are items limiters to prevent some moron making millions) - it was just soo much nice to do rails and rollercoasters that way.
How exactly does this prevent grief? If someone briefed a house next to a railroad and instead of griefing the railroad they used the cart to get away? lol
I forgot to mention it needs Vault for permissions :S Sorry,updating description.
The plugin kinda functions. When I type /acart a message pops up but when I right click the cart, it won't work. I just hop on board the cart like usual.
I had tested it on 1.2.3 beta as well as the latest 1.2.4 dev build but ain't working.
23:22:16 [GRAVE] Error occurred while enabling AC v1.0 (Is it up to date?) java.lang.NoClassDefFoundError: net/milkbowl/vault/permission/Permission at me.newboy.AbandonedCarts.AbandonedCarts.setupPermissions(AbandonedCarts.java:46) at me.newboy.AbandonedCarts.AbandonedCarts.onEnable(AbandonedCarts.java:40) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.permission.Permission at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 12 more