LWC Tweaks
LWC Tweaks
Version: 3.2.8
Ever looked for an automated way to delete LWC protections after X days that user didn't login? Well look no more; this plugin does just that! It will delete player chests even if the server goes offline past the X in the config! Now supporting players that joined even before you installed this plugin.
Pages: Configuration
Features
- Unlock LWC protections after X days the player hasn't logged in
- Lightweight!
- No database support required!
- Add players from even before you downloaded this plugin!
- Remove the block
- Remove protection based on:
- Chance
- World
- Old player
- WorldEdit Selection
- Radius
- Permissions
Permissions
Permission | Description |
LWCTweaks.Ignore | Players with this permission will be ignored by this plugin |
LWCTweaks.Find | Allows access to the /lt find command |
LWCTweaks.Info | Access to the /lt info command |
LWCTweaks.Remove | Allows access to the /lt remove command |
LWCTweaks.Reload | Players with this permission will be able to reload the config. |
LWCTweaks.PurgeData | Players with this permission will be able to delete all player data. |
Commands
Command | Description |
/LWCTweaks | Info about the plugin |
/LWCTweaks Info | See information about the permissions LWC has. |
/LWCTweaks Find [Radius:WE] | Find all protections in a radius, or in your WE region |
/LWCTweaks Remove [Radius:WE] | Remove all protections in a radius, or in your WE region |
/LWCTweaks Reload | Reload the config file. |
/LWCTweaksPurgeData | Delete all player data, not protections |
/LWCTweaks ResetProtections | Deletes ALL PROTECTIONS and ALL DATA |
Note: /LWCTweaks ResetProtections will delete all protections. Only Ops or the console can execute this command.
Download
- Like every single plugin out there, download the latest jar here: (Click)
- Put it right into your plugins folder!
- Reload/Restart your server!
- Edit configurations to your liking!
- Type /LWCTweaks reload or restart your server
Add previous players
- Open up the configuration file.
- Put your main world's name in "Main World Name" (can be found in your server properties file)
- Set "Check All Protections" to TRUE
- Set "Debug" to FALSE -> Will send you MANY messages (in thousands if you have a large server)
- Start your server
- Wait for all the files to transfer. (Will be written something like transfer complete or server ready)
- Stop your server
- Set "Check All Protections" to FALSE ! EXTREMELY Important! !
- Start your server.
- This will create a file for everyone who has ever joined your server, and that has atleast 1 LWC protection.
- Their protections will be removed if they do not join after "Time before unlock"
- Do not forget step 8!!
Coming Soon
- Green = done |
Red = Cancelled| Orange = planned - Code cleanup
- Suggestions? Open up a ticket or write it as a comment!
Disclaimer
Please use at your own risk! Protections WILL be deleted and Chests and other protected items will be available to anyone after X amount of days passed, as defined in the configuration.yml file. By downloading this plugin, you acknowledge that Zacky1 is not responsible for mishap while using this plugin. If there are any bugs, feel free to talk to Zacky1, leave a comment, or submit a ticket to get them repaired. I do not own LWC. It's developed and owned by Hidendra, click here to go to his dev page. This plugin is merely an addition to LWC.
My plugins:
The Tweaks suite: ChatTweaks | LWCTweaks | PluginTweaks | BanTweaks
Please submit a ticket if you found a bug or an error. Never paste full errors in the comments. Use pastebin instead
@user_83
Are you sure you're putting in the right main world name? And using Spigot wouldn,t change anything :)
Yeah I'm also following steps 1-9 exactly but the Players do not transfer, I'm using Spigot, would that effect anything?
Also is there a way to manually add them in?
@SonarBeserk
I'll see what I can do :) Since I do have a lot to do at the moment.. it might not be done imideately
Will you make a version of this tweak for http://forums.bukkit.org/threads/sec-mech-simplechestlock-1-2-2-simplified-chest-locking-1-5-1-r0-2.17557/ ?
MC 1.4.7 LwcTweaks 3.2 lwc version 4.3.1
2013-04-12 16:04:56 [INFO] [LWCTweaks] Enabling LWCTweaks v3.2 2013-04-12 16:04:56 [SEVERE] [LWCTweaks]Metrics is opted-out in it's config file! Not sending data! 2013-04-12 16:04:56 [INFO] [LWCTweaks]Successfully hooked into LWC. 2013-04-12 16:04:56 [INFO] [LWCTweaks]Reloaded the config file! 2013-04-12 16:04:56 [SEVERE]
#
#
#
#
#
#
#
2013-04-12 16:04:56 [SEVERE] [LWCTweaks]LWC is not connected to it's database! Aborting 2013-04-12 16:04:56 [SEVERE]
#
#
#
#
#
#
#
##@treestompz
This will cause minimal lag :) and the amount of protections shouldn't matter too much since it checks each player one by one, and not 1000 at the same time... And yes, all types of blocks gets removed now, be it chests, furnaces, doors, signs or any other lockable blocks defined in the LWC config, they will be changed to air blocks. :)
:O The chest gets removed now!? Gonna have to add this-hope it doesn't cause too much lag as I got a ridiculous amount of protections! Think you could add support for other blocks like furnaces and doors etc too?
Thanks so much man!
Yeah, I've removed the login message in v3.0.4. It will be back in a later version :)
Hi,
login notice is not displayed. It doesn't matter if I use german Umlauts or not! My Configuration.yml:
@NordicBlue
Did you follow steps 1 through 9? Exactly?
My configuration is like this:
Main World Name: world
Check All Protections: true
But its not adding the old players.
Just an empty data file on each restart.
What do i do?
@SonarBeserk
There is only one lock owner (as far as I know), although there can be multiple members linked to it. Now, as for the removal, it will only check for the owner of the lock (the one which the chest belongs to). There is no way around this, the LWC API is extremely hard to work with, thus not very "function" friendly . :S Sorry
does this check for multiple lock owners? i wouldnt want to lose the protection cause someone else owns the lock as well and was gone.
@psychic94
Each time you restart the server, every players who have joined the server will be re-added to the list, thus having two entries of the same person... Which is bad... If this happens, just delete the data file, and go through step 1-9again
What happens if you skip #8?
@Zacky1 Alright! Awesome! Let me know when you get news-this would really take this plugin to a whole new level :D
@treestompz
Yup! I think that's a great idea Ill see if LWC offers this and well yeah :)
@Lostferret13 The bukkit team has finally finished reviewing the file ;) It's now downloadable.
where is the download?
This is awesome! I have 120,000+ protections and was looking for something like this.
The only unfortunate thing is that there will be chests full of free stuff. For a Towny Survival server like mine this is not a good thing. Is it possible you could have the contents of the chests cleared/the chest itself entirely deleted?
(This could be configurable.)
@broluigi
This is where LWC Tweaks comes in :)