Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show icon kits #73

Open
elpedriyo opened this issue Aug 21, 2013 · 12 comments
Open

Show icon kits #73

elpedriyo opened this issue Aug 21, 2013 · 12 comments

Comments

@elpedriyo
Copy link

kit-select-mode: 'SHOW_ICON'

It does not work, It continues showing all

@hitech95
Copy link

Kits are WIP.

@elpedriyo
Copy link
Author

What do you mean?

@hitech95
Copy link

The kits are not enabled by default because not all features have been introduced.

An example is the choice of display that has not yet been implemented.

This is the my point of view. It's probably just an oversight...

@elpedriyo
Copy link
Author

Do you know if showing only the icon will be implemented and when?
Another question, where can I find the name of the enchantments.
What I mean Is that I have tried this: - '276,1, 0, fireprotect:2, fireprotect'
And It does not work

@hitech95
Copy link

I'm sorry I Don't know.
Some enchantments aren't in the code so aren't supported.

@elpedriyo
Copy link
Author

Could you please tell me which enchantments are supported or how to program them in the plugin code, I need more than 2 enchatments, also it could be great if you notify this to the developer, and if you could tell when the new enchantments could be integrated

@elpedriyo
Copy link
Author

This is a very good plugin but you need to fix te enchantments problems

@hitech95
Copy link

I have read the code. Enchantments are implemented but use other names.

You can find it hire (filed summary section).
The enchat name is the lowercase of names and remove the "_" http://jd.bukkit.org/rb/apidocs/org/bukkit/enchantments/Enchantment.html

An example is: silktouch -> SILK_TOUCH -> silktouch (lowercase and without underscore)

@elpedriyo
Copy link
Author

I am using this code:
- '303, 1, 0, protectionfire:4, Peto'
And it continues without working, and I am an op person so I also see that is not a problem of perms.
Could you tell me what is going on?
Thanks

@Pocketkid2
Copy link

change the protectionfire to fireprotection
The enchantment name reader does (unfortunately) not support very many enchantment names.

@elpedriyo
Copy link
Author

The same problem, it continues without working

@hitech95
Copy link

Sorry, I misinterpreted the code.
Unfortunately I had not read in detail the bukkit API and I have noticed one thing.

unfortunately the management of the names of enchantments (for now is more complex)

This is the correct list of the names:

enchantment [34 pickets]
enchantment [0, protectionenvironmental]
enchantment [35, lootbonusblocks]
enchantment [1 protectionfire]
enchantment [32, digspeed]
enchantment [2, protectionfall]
enchantment [33, silktouch]
enchantment [3, protectionexplosions]
enchantment [4 protectionprojectile]
enchantment [5, oxygen]
enchantment [6 waterworker]
enchantment [7, thorns]
enchantment [51, arrowinfinite]
enchantment [17, damageundead]
enchantment [50, arrowfire]
enchantment [16, damageall]
enchantment [49, arrowknockback]
enchantment [19, knockback]
enchantment [48, arrowdamage]
enchantment [18, damagearthropods]
enchantment [21, lootbonusmobs]
enchantment [20, fireaspect]

Such names are composed of:

enchantment [<Enchantment_ID>, <Name without "_" or spaces>]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants