SupprInactiveLockette
InactiveLockette - Simply authorize your player to remove lockette of inactive players.
Last Update: 14/01/2013
As SupprInactiveLockette use only few simple Bukkit-API functions, it will probably dont need more than 1 update/year.
SupprInactiveLockette is now on github, feel free to fork/commit! https://github.com/Amrac/SupprInactiveLockette
On big issue with Lockette is handling the lockette let by inactive players.
If you too are sick to see your moderator losing their time with player who ask to remove old lockette, this plugin is for you.
SupprInactiveLockette is simple, it's authorize your player to suppr a Lockette of an inactive player.
Current features:
-Check if the owner of the Lockette is inactive (default: >30 days of inactivity)
-Clear the inventory of the chest
-Handle double chest/furnace/dispenser/door
-Of course, remove the Lockette.
-On GitHub https://github.com/Amrac/SupprInactiveLockette
Next features:
-Nothing
How to install:
Simply put the .jar in your plugin folder and reload your serveur.
Config file:
- default config.yml
DaysLimit: 30
clearAllItem: true
debug: false
You can choose the number of days for inactivity and if you want to clear/delete item in chest/furnace/dispenser.
How it works:
You user simply click on a lockette, if the lockette belongs to an inactive player it will be remove.
Backup your world first!
Warning: My player only use 1 lockette per player, so this plugin only look for the first player on the sign!
-
View User Profile
-
Send Message
Posted Aug 13, 2015Does this work for 1.8.7?
-
View User Profile
-
Send Message
Posted May 6, 2013@rasnyderiii
@ManBeastPigDev
@TheFarmerNL
@domorecrank
InactiveLockette is finally a plugin. Get it here: http://dev.bukkit.org/server-mods/inactivelockette2/
-
View User Profile
-
Send Message
Posted Feb 22, 2013If anyone wants to continue using Lockette, (perhaps for the reasons mentioned in the notes or issues sections on the DeadBolt page,) below is my recompiled SupprInactiveLockette JAR with the offending special character removed.
Put simply, the error was being thrown by a hard-coded accented "e." I will slap an English translation together when I find some more time, but for now I just got rid of the accent and disabled the "debug: true" default.
If you're the cautious type, feel free to crack open my JAR with JD or similar, and compare it to the SupprInactiveLockette GitHub source.
Dropbox link (provided as-is): http:db.tt/yznqNKUT
(Note: This JAR was compiled against JavaSE 1.7 and CB 1.2.5-R5.0)
-
View User Profile
-
Send Message
Posted Feb 20, 2013I tried Version 2 but I think it is not really complete. It would be nice when you:
1. Add messages that the player is still active to players who punch a lock sign, if the owner of the chest is still active of course.
2. Fix the message which you can configure in the config, since this message does not show up when a chest is cleared (so when clearAllItems = true)
3. Add a message when the player of the chest is inactive and the lock sign is being removed (so when clearAllItems = false).
4. Add a configurable item list for blocks where to check for lockette (since lockette has this too), for example diamond block / trapdoors etc.
Would be best if all messages are configurable too.
Do you think you can do that? :D
-
View User Profile
-
Send Message
Posted Jan 23, 2013@rasnyderiii
Finally someone who agrees with me.
I have the same problem.
But the config is empty so definitely no ?
-
View User Profile
-
Send Message
Posted Jan 22, 2013This plugin will not load properly. Something is wrong with the default config.
22.01 09:57:43 [Server] INFO org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed
22.01 09:57:43 [Server] SEVERE Cannot load configuration from stream
Fix please.
-
View User Profile
-
Send Message
Posted Jan 21, 2013@StevasaurousREX
There is no config, its empty.
I tried pasting your default config in afterwards and that didn't work either.
The config file is not being generated.
-
View User Profile
-
Send Message
Posted Jan 19, 2013@ManBeastPigDev
Thats just saying there is an error in the config file look for a '?' and delete it and try again
-
View User Profile
-
Send Message
Posted Jan 19, 2013I also tried 1.4.6 R3 got this error.
------------------------------------------------------
2013-01-19 16:34:03 [SEVERE] Cannot load configuration from stream
org.bukkit.configuration.InvalidConfigurationException unacceptable character '?' (0xFFFD) special characters are not allowed
in "<string>", position 114
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:202)
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:121)
at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111)
at fr.hellominecraft.Amrac.SupprInactiveLockette.SupprInactiveLockette.onEnable(SupprInactiveLockette.java:14)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:321)
at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:300)
at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed
in "<string>", position 114
at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
... 16 more
-
View User Profile
-
Send Message
Posted Jan 19, 2013ERROR ON STARTUP.
Using Latest Dev Build of 1.4.7
Also the config file is empty.
======================
2013-01-19 16:18:33 [INFO] [SupprInactiveLockette] Enabling SupprInactiveLockette v1.0
2013-01-19 16:18:33 [SEVERE] Cannot load configuration from stream
org.bukkit.configuration.InvalidConfigurationException unacceptable character '?' (0xFFFD) special characters are not allowed
in "<string>", position 114
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:202)
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:121)
at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111)
at fr.hellominecraft.Amrac.SupprInactiveLockette.SupprInactiveLockette.onEnable(SupprInactiveLockette.java:14)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:264)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.reload(CraftServer.java:593)
at org.bukkit.Bukkit.reload(Bukkit.java:184)
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:514)
at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:979)
at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:897)
at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:852)
at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed
in "<string>", position 114
at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
... 28 more
2013-01-19 16:18:33 [INFO] [SupprInactiveLockette] SupprInactiveLockette had been enabled.0
-
View User Profile
-
Send Message
Posted Jan 16, 2013Can you also make it have a customizable visual effect for when someone removes a lockette please?
-
View User Profile
-
Send Message
Posted Jan 15, 2013@Amrac59
1.2.5... is a long way back
I dont know if the plugin works, i just putted into my server
-
View User Profile
-
Send Message
Posted Jan 15, 2013great plugin, thanks :D
-
View User Profile
-
Send Message
Posted Jan 14, 2013Very useful! I always wanted something to remove chests of inactive users.
Could you please give the option to only make it work on specified worlds?
-
View User Profile
-
Send Message
Posted Jan 14, 2013Work fine with CB 1.2.5-R4.0 As SupprInactiveLockette use only few simple Bukkit-API functions, it will probably dont need more than 1 update/year.
Their is one french sentence ""[InactifLockette] Le coffre est vidé" I can add this to the config file if you want
-
View User Profile
-
Send Message
Posted Jan 11, 2013@rasnyderiii
I dont know if it works,
I think it does because lockette isnt getting updated anyway
-
View User Profile
-
Send Message
Posted Dec 14, 2012can anyone confirm if this does or does not work with what CB versions?
-
View User Profile
-
Send Message
Posted Dec 14, 2012Please update
-
View User Profile
-
Send Message
Posted Nov 1, 2012Update to 1.4.2? please :)
This would be awesome because my server has a lot random players & griefing is allowed if player just finds a spot where stuff aint protected. So if player stops playing, their chests would became loot-able.
-
View User Profile
-
Send Message
Posted Oct 2, 2012Update? Its in a diferent langauge than english to sometimes when i click on signs i can see the preffix of this plugin pop with something but idk what it is