AnvilControl

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

AnvilControl

AnvilControl blocks stacks that are stacked over the standard stack size created by using stack plugins or the give command. Additionally it offers some features to block the placing, using or breaking of anvils and the ability to disable the transferring of enchantments to other tools/weapons/armor or to cap the transferred enchantments to an strength.

Lore

To use this features the player needs the appropriate permission (refer to "2.3. Permissions").

Add Lore to an item

In order to add a line of text as lore to an item simply write "@loreadd text" in the name field. If you wan't too add another line just repeat it.

Clear Lore of an item

If you wan't to clear it's lore just use "@loreclear" in the name field

Configuration

On the first run of this Plugin it will create the AnvilControl directory containing an config.cfg

Language

Set the language field field in the config.cfg to your preferred language possible are

  • Version 1.1.0 and above
    • 'de_DE' for german
    • 'en_US' for english
    • 'ko_KR' for Korean (thanks to ZwingGX for the translation)
    • 'fr_FR' for French (thanks to llebo for the translation)
    • 'pt_PT' for Portuguese (thanks to llebo for the translation)
  • Version 1.0.2 and lower
    • 'de' for german
    • 'en' for english
    • 'kr' for Korean (thanks to ZwingGX for the translation)

If you want to add additional languages just copy a file in the AnvilControl/lang/ directory translate the content and rename it. If you want that minecraft uses the localized enchantment names use as file name the same as it uses in the lang directory inside of the craftbukkit.jar.

I'd add additional languages if some one could translate one of the files and post its content in a ticket.

If you find some spelling mistakes feel free to leave a comment or create a ticket.

Manage Enchantments

Version 1.2.0 and above
Version 1.1.0 and lower

Permissions

anvilcontrol.use
controls if you can open an anvil
anvilcontrol.place
controls if you are able to place an anvil
anvilcontrol.break
controls if you are able to destroy an anvil it can still be broken by using it
anvilcontrol.allowrename
controls if you are able to rename items
anvilcontrol.allowlore
allows you to add lore to an item or clear it


Version 1.2.0 and above:

anvilcontrol.check
allows you to use the command to check disabled and caped enchantments
anvilcontrol.config
allows you to use the config command


Version 1.2.3 and above:

anvilcontrol.repair
allows you to repair items (enables second anvil-slot for items beside the enchantment-book)

Change-log

  • Version 1.3.5
    • Fixed two spelling mistakes in the en_US.lang file
    • Changed the method for getting the translated enchantment names (now the are in the AnvilControl lang-files).
    • Added French translation (thanks to llebo for the translation)
    • Added Portuguese translation (thanks to llebo for the translation)
  • Version 1.3.4
    • Some code improvements
    • Fixed missing language files in Version 1.3.3
  • Version 1.3.3
    • Fixed some problems which caused the disabling of dragging items in workbenches etc. (but it is still disabled on anvils on purpose until I found time to make modifications to get dragging to work and it isn't passing the limitations).
  • Version 1.3.2
    • Pls use version 1.2.6 or 1.3.1 if you are still using 1.5.X (last one only if you don't want to restrict renaming)
    • Fixed the rename bug from version 1.3.0 and 1.3.1
    • Updated code for 1.6.2
  • Version 1.3.1
    • Changed some code for Java 6 support
  • Version 1.3.0
    • Recompiled for 1.5.2
    • Some code improvements
  • Version 1.2.6
    • Another bugfix
  • Version 1.2.5
    • Fixed a problem related to right clicks
  • Version 1.2.4
    • Fixed a problem with the repair permission
  • Version 1.2.3.1
    • Added new ko_KR.lang file (ZwingGX thx again ^.^)
  • Version 1.2.3
    • Added repair permission "anvilcontrol.repair"
  • Version 1.2.2
    • Added check if combining two items result in an enchantment level over the max-level
  • Version 1.2.1
    • Fixed config command for enchantment names containing spaces just surround it with ' " '
  • Version 1.2.0
    • Added config command
    • Added command to test deactivated and caped enchants
    • Had to change the format of the config file sorry :-(
    • Fixed a bug with Shift-Click
  • Version 1.1.0
    • Lang-System rewritten
  • Version 1.0.2
    • Added Korean translation
  • Version 1.0.1
    • Fixed English translation for
      • use
      • place
      • break
  • Version 1.0.0
    • Initial release

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    50571
  • Created
    Jan 26, 2013
  • Last Released File
    Oct 6, 2013
  • Total Downloads
    5,800
  • License

Categories

Members

Recent Files