AnvilControl
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
- 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
- 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
- Fixed English translation for
- Version 1.0.0
- Initial release
I guess this plugin can't use unsafe enchantments? Like I make a book with essentials Sharpness 7, and than use it in the anvil.
If a i made a showcase/tut. video of this plugin would you put it here?
Anvil isn't taking xp now with this plugin.
I'm still on the new build for 1.7.2 it has broken some functions for the InventoryClickEvent which I was using for my logic.
@ihasTechno
Could you please give me a hint how you got this so I can reproduce it?
Error with Spigot Build #1222, (1.7.2) http://pastebin.com/AwC5izyL
@Jojo_the_big
Me too man! Thanks for the quick response and continued efforts! Especially if you aren't playing a lot!
@ToasterBorst
Didn't realized that 1.7 bukkit is out because I don't played minecraft in the last three month. I'll work in it over the next days. I hope 1.7 didn't break that much.
Is this project still active? I know 1.6.4 and 1.7 have been a lot to keep up with.., but I'd really love to remove those pesky anvil limits!
@Tritek
probably the lang file isn't copyed right just try to extract it manualy (its inside the jar just open it with 7zip or some similar) and put it in "<server-dir>/plugins/AnvilControl/lang/"
normaly this should be done automated no clue why its not working for you
[Edit:] Fixed it forgot to include the lang files (first time used ant ;-) ) Simply use 1.3.4 if its up or run 1.3.2 ones and then use 1.3.3
i have that error:
Works great on 1.6.2 server. Thanks a lot!
@waremanu
Try Version 1.2.6 version 1.3.0 and 1.3.1 are bugging. but with my exams I'm to busy to fix it at the moment.
[Edit:]
Quick update. Only four days left to go and I'm through with my exams for this semester. Expect the fix for the versions next weekend perhaps earlier.
This not working for me.
@ZeL0
don't now if I can fix it this month (to many things to learn for my exams). But if I have finished this semester I will try to fix it.
I have another problem. I want to restrict rename in anvil but if I do that i can't enchant items. I mean, renaming is required for enchanting.
Could you fix it up?
@ZeL0
fixed with 1.3.1 used some java 7 only syntax in previous versions
Thanks for recompiling but it still doesn't work. I have error like that: org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/gmx/johannes/horn/anvilcontrol/AnvilControlPlugin : Unsupported major.minor version 51.0
Do you know what should I do with that?
@ZeL0
Expect it in the next two days ;-)
Will you build new version for craftbukkit 1.5.2 R0.1 ?
@guerocraft
I'll take a look at it next week after my exam.