01-22-2014, 01:29 AM
(This post was last modified: 01-22-2014, 01:58 AM by daniel0916.)
Thanks. You mean i should only add hooks and not the whole enchantment system?
And have you an answer to me question before?
"How can i make something for all players?"
Edit: Than i can use IsEnchantable() or? because when it is for older protocols where only enchantable items can be enchanted it should return me if it's normally enchantable or not?
My idea was that i add the whole enchanting system to MCServer. Then i will add hooks like your examples.
And when someone won't use enchanting, he can disable enchanting with the hooks.
I don't think the enchanting system need really many performance when the enchantment window is disabled with a hook.
And have you an answer to me question before?
"How can i make something for all players?"
Edit: Than i can use IsEnchantable() or? because when it is for older protocols where only enchantable items can be enchanted it should return me if it's normally enchantable or not?
My idea was that i add the whole enchanting system to MCServer. Then i will add hooks like your examples.
And when someone won't use enchanting, he can disable enchanting with the hooks.
I don't think the enchanting system need really many performance when the enchantment window is disabled with a hook.