This is a plugin which allows you to protect item frames and paintings.
Thanks for over 18000 downloads!
There is a bug in 1.6 / 1.7 that causes a doubling of the data on each save.
Unfortunately, the whole MySql database have to be cleared because it may take hours to load the data and see which entries are identical (the databases may have a size of multiple millions of entries).
you’ve used version 1.6 or 1.7 and you’re storing your data in a MySql database, the plugin will automatically reset your database on first start.
you have to protect all the frames and paintings again
sorry for that, it’s my fault
|frameProtect.autoprotect.*||none||The plugin will automatically protect the frames/paintings the player places.|
|frameProtect.protect.*||/fp protect||Protect an item frame/painting.|
|frameProtect.protect.*||/fp remove||Remove the protection from an item frame/painting.|
|frameProtect.place.*||none||Allows the player to place/destroy item frames/paintings.|
|frameProtect.info.*||/fp info||Allows the player to get infos about an item frame/painting.|
|frameProtect.ignorecreative||none||The player CAN add Items to frames in GM creative.|
|frameProtect.admin||none||All other permissions.|
|frameProtect.admin||none||Allows the player to destroy any item frame/painting.|
|frameProtect.admin||/fp lang||Change the language.|
|frameProtect.admin||/fp owner||Allows the player to define the owner of a protected frame/painting.|
|frameProtect.admin||/fp reload||Reload the config.yml|
instead of /fp you can also use /frameprotect
Notice: instead of .*, which means it’s for frames and pictures, you can put .frame or .painting
if you for example want to allow your players to get infos about paintings but not item frames, you can give them the permission frameProtect.info.painting
#set the language (de/en/nl/hu/custom) language: de #disable [FrameProtect] Saving data to disk... in the console disable_consoleMessages: false #disable the messages when you create/destroy a private frame/painting disable_create_and_destroy_messages: false #if false, frames/paintings will die when there's no block behind them. disable_natural_breaking: false #if false frames/paintings will be destroyed if a creeper explodes near them disable_breaking_by_mobs: true #if true you can't place blocks at the same place as frames stop_block_placing_over_frames: true #if true blocks with frames/paintings on them can only be destroyed by their owners and admins protect_blocks: true #false = use files / true = try to use MySql use_MySql: false #some MySql configurations mysql_host: localhost mysql_port: '3306' mysql_database: database mysql_username: username mysql_password: password #Don't change this! It's to see if FrameProtect has to import files from an older FrameProtect version. do_not_change_this: false #true = reset the MySql database on reload (deletes all protections; doesn't do anything when you don't use MySql) resetDataBase: false
FrameProtect is available in six languages (German, English, Dutch, Hungarian, French and Turkish). If you want to change the language type in /cfour lang <DE|EN|NL|HU|FR|TR|custom>
|custom||custom||loads the texts from the languagefile||by you|
If you find a bug, please write me a comment or a PM.