WhatIsIt
WhatIsIt - Item and entity names library and plugin
Help support development of WhatIsIt: Donate (Total donated to date: 6 USD)
This plugin aims to fill the hole of friendly item names in Minecraft server. This plugin is a must include for any other plugin requiring friendly item names, such as auction and trading plugins, and is a memorable toy for any server which has items, blocks or entities.
This plugin has been developed primarily for:
Drop by and pay us a visit!
Features
This plugin is primarily a library to get friendly names from a yml file for entities, blocks, items and enchantments. Easy access to public static commands makes integration into any plugin fast and easy.
All names are stored in names.yml. Storing the names in a customizable .yml file allows for easy language conversion and support for custom items with new item id's which would not normally be recognized by plugins which are not Spout compatible.
- Added monster type support to monster spawner blocks. (v1.0.2)
- If any spawner drop plugins assign the typeid to the data or damage, it should also display properly. (v1.0.2)
Videos
Plans
- Add authors for books.
Commands
Requires permission "whatisit.use":
- /wis - What is this? Shows friendly item info for the held item.
- /wit - What is that? Shows friendly entity or block info for what you're targeting.
Requires permission "whatisit.admin":
- /wis itis {String name} - Set name for item and save names.yml.
- /wit itis {String name} - Set name for item and save names.yml.
- /wis reload - Reload names.yml before showing item name.
- /wit reload - Reload names.yml before showing item name.
Permissions
- whatisit.use - Allows you to use the /wis and /wit commands. (default: op)
- whatisit.admin - Allows administrative functions. (default: op)
Permission Notes
- These permissions do not affect other plugins calling shared functionality.
- Vault is required in 1.b.1, but a fallback to superPerms has been added in 1.0.0.
Setup
This plugin is installed much like every other plugin. Put the WhatIsIt.jar file in your /plugins/ folder and restart the server. The config files automagically appear in the /plugins/WhatIsIt/ folder. Set up your permissions per the permissions plugin directions of your choice (this supports Vault, so any perms works, without Vault, uses bukkit's built-in system).
- In v1.b.0, the names.yml file is being generated with the config.yml content. Please use the uploaded names.yml file available on the file list on the right.
Configuration
In the config.yml file's config section, there is only one option, display-data-values. Set to true or false, the default is true. This will display the data values when using the /wis and /wit commands. This does not affect other plugins display of data values, they will not be sent data values from this plugin.
Everything else in config.yml is editable messages. Except the parenthesis around the data values and names, all output from WhatIsIt is specified in the messages section of config.yml. Edit here if you want to change these. These messages affect only WhatItIs output and not any plugin that calls WhatItIs.
In the names.yml file, separated by type, are id/name pairs. These are the values used to generate the names. You can edit them in game with commands or in the file itself. It may be safer for those unfamiliar with YML format to use the in game commands. For the rest of you, a semi-colon is used to separate the item id and data/damage info. %d can be used to insert the data value into the item name (added in 1.2.0 to show the map #).
Linking from your Plugin
See this useful linking page: Linking WhatIsIt (javadoc)
Could you add a feature to disable metrics.. thanks
@incredinex
@MrREOM
Just because this would add something I think, and it is really simple, I have submitted a pull request: https://github.com/incredinex/WhatIsIt/pull/2. It only changes the playerName(Player player) method and adds 3 lines of code.
@incredinex
I think it would just require using the Player.getDisplayName() function instead of Player.getName(), as Essentials and every other nickname changing plugin changes a player's display name.
@spy85
Personally, I've never actually tested that, however, conceptually it should work. WhatIsIt doesn't provide functionality to actually do the item adding to the rest of the game, I'm assuming you're going to use Spout or something like that to do this?
Could I add items with new id's and give them a separate texture with a server texture pack?
@PaulBGD
I'm glad to hear someone found this useful beyond just a toy and my own work.
Regarding the second paragraph. Send me more info via PM about the armor stuff and what you're looking for. I'm also willing to look at pull requests. There is no "normal" name. Minecraft nor Bukkit store item names of any kind (at least they didn't last I looked) beyond internal variable names which are variable and not of particular use, hence the purpose of the plugin.
Regrading packaging this with yours, no. Feel free to make this plugin required or softrequired, but actually including it goes against the intent the purpose of this plugin.
Great plugin! You saved me a lot of work!
Quick question for a later version, maybe dyed armor id? Not all colored armor, but maybe just color of armor dyed once? Another idea, maybe translating it from the wis name back to its normal name?
Also, may I package this with my plugin? All credit goes to you of course.
@ThePlayingNoob
You tried reloading?
I tried change name of a item in name.yml but the item name doesnt change if i try to edit it
@TheDarthEvil
I can see that. Very good input.
very useful for WorldEdit
Can I presume whoever posted then deleted the stacktrace comment figured out their issue?
Sorry guys, messed up the dropper entry. You can either"
Have a look at Otherdrops http://dev.bukkit.org/server-mods/otherdrops/ it seems quite versatile
@deaddude22
thanks but it doesnt work in the way that i would like with my server. still looking almost got a good match which was SuperSimpleSpawners but it had a 100% drop rate, for example id like it to have 50% so u could get some spanwers on raids, but i dont want players thinking they could just tnt a spanwer rather then mining it with a silk touch. and the SSS author doesnt reply back on his plugin i think :(
@sirento
Try this one
http://dev.bukkit.org/server-mods/silkspawners/could ya help me out, like know a other plugin that could make spanwer id's work? i thought i had it finally lol.
@sirento
WhatIsIt only says item names, it doesn't make any item function.
i tryed 52;92 for cow spawner the spanwer didnt work and showed a pig but it did say it was a cow spanwer any help so i can get this to work?
The only changes in 1.3.4 was the addition of 1.5.0 items. You don't actually have to update WhatIsIt.jar if you like, you can just get the new names.yml file: https://github.com/incredinex/WhatIsIt/blob/master/src/names.yml