UltraItems
<font color="red" size="5">UltraItems is going to be merged with SpoutBlocks into SpoutMaterials.</font>
UltraItems creates custom items (with custom title and texture). You can also set crafting recipe and left / right mouse button click action. Action is something to post in chat (eg. command or some message), so you need another plugin to handle this. It is recommended to have commandhelper installed to do advanced commands (command chaining). This plugin requires Spout to be installed, otherwise items will have default texture. You can get item via command /ultraitems (alias /ui).
What you can do with this: wands, food, <s>tools</s>, <s>change stackability</s>
What you can't do (for now): armor, blocks, entities, change durability
<font color="red" size="5">Warning: This plugin requires development version of spoutcraft (check 'use latest dev build' in spoutcraft options) because of bug where items.png is in inventory instead of texture.</font>
Frequently Asked Questions
- Why ain't my permissionbypass working?
- You have to use some permission manger using SuperPerms (like PermissionsBukkit or PemissionsEx or bPermissions)
- How can i set healing staff?
- You can set negative damage.entity option to achieve that
- Will you add maxstacksize soon?
- I have asked Olloth (he's working on custom item api in spout) and he said that method for changing stackability isn't something that can be done easily.
- Will you add crafting with different data values soon?
- See IRC log
- What about furnace crafting from custom items?
- See Spout issue #800
- Will you add custom blocks soon? What will be possible to set?
- Yep. Luminescence, opacity, drop, friction, hardness, whether is powered, explosion resistance. I also like the idea it would act like tree block. And some events like place.
- Why i can't change id of base item?
- Not a preferred way of creating item with spout api anymore.
- How can i set mob drops?
- Use one of following plugins: CookieMonster, EcoCreature or MoneyDrop
- How do i convert old items (pre 0.8) to new spout compatible items?
- Follow this info.
- How can i find out id and data value of item?
- It is shown in console on start-up or after performing /ui reload.
- What does 'Config is unproperly formated?' mean?
- You either don't have UltraItems as root node or you have BOM signature in your config.
Example configuration
Following example should be working with dev version. If you can't use something, download dev version first.
UltraItems: # main container
flashwand: # item name (used when obtaining item via command)
title: Lightning wand # title shown when cursor moved on item in inventory
url: http://ogion.cz/files/items/flash.png # url of image to set to inventory item (it is currently only in inventory and in-hand)
lclick: # left click section
action: |
/zap # command sent when left clicking with item in-hand
let them burn! #you can specify more action as same as multiple permissions to bypass just add multi-line notation (pipe, vertical bar or whatever you call |)
#also you can use variables $player, $coords, $world
permissionbypass: flashplugin.zap # temporarily adds specified permission (removed after performing of action), not recommended to use (if you leave item in chest everybody can use it).
rclick: # right click section
action: /zap multi# command sent when right clicking with item in-hand
cracker:
title: Notch crackers
url: http://ogion.cz/files/items/notch.png
rclick:
health: 20 # 2 = 1 hearth, you can use negative values too
hunger: 20 # 2 = 1 hunger unit (chicken leg), you can use negative values too
consume: true # whether or not is item consumed after clicking
sound: http://ogion.cz/files/items/crunch.ogg
<s>maxstacksize: 6 # maximal size of stack</s>
recipes:
- type: shaped
amount: 2 # amount of items gained by crafting
ingredients: |
0 266
266 357 266
0 266
osword:
title: Obsidian sword
url: http://dl.dropbox.com/u/1189439/osword.png
instantbreak: true # instantly breaks the block being destroyed
damage:
entity: 80 # damage caused to entity (2 = 1 hearth)
recipes:
- type: furnace # you can use furnace, shaped or shapeless
ingredients: "49" # ingredient id:data
- type: shaped
ingredients: |
0 49
0 49
0 cracker
# note you can use item names in recipes (item has to be specified before used in recipe)
Permissions
- ultraitems.* - All UltraItems' commands
- ultraitems.reload - Reload config (default: op)
- ultraitems.list - Show list of items (default: true)
- ultraitems.give - Give item (default: true)
- ultraitems.give.* - Give all items (default: true)
- ultraitems.craft.* - Craft all items (default: true)
Commands
- /ultraitems <itemname> [amount] - gives player item itemname
- /ultraitems list - shows list of items
- /ultraitems reload - reloads configuration file (this works quite weird if you updated recipes so rather use /reload)
- /ultraitems replace - replaces items before new spout item api with new ones
Future releases
- Support for mana plugins
- Complex scripting language for more customisable items
- Block enemy attack (like right click with weapon in mc)
- Integration into give command (General plugin)
- More food properties (poison) and animation
- More events (blockplace, drop, pick, destroyed, walkedon, walkedoff)
- Explosions
- Custom blocks
- Config generator
- Delay option
- Advanced consumption (another items, replacing item)
- Entity shooting (arrows, fireballs)
Changelog
0.9
- Added crafting permissions
- Added amount for give command
- Some crafting fixes (you can use custom item names in recipes)
- Added basic api
- Added instantbreak option
0.8.1
- New bukkit config api
- /ui replace command for replacing old items with new ones
- Info about added items
0.8
- Compatible with new spout api
- Entity damage multiplier changed to absolute number
- Removed multiple spaces bug, data values can be now separated with :,;-
0.7.1
- Fixed data values in recipes
0.7
- Disabled consume for left click action
- Added crafting recipes
- Added health and hunger options
- Colored messages
- Prevented stacking of items with different data values
- Added maxstacksize option
- Added permissionbypass option
0.6
- Added entity damage multiplier
- Enabled data value 0 for click action
0.5
- Better error handling
- Enabled data value 0
- Blocking all right click actions
0.4
- Moved action, consume into l/rclick section
- Action not required for other settings
- Sound setting supported
0.3
- Added consume option
- Enhanced exception handling (incorrect spout)
- Fixed onPlayerInteract without item causing NPE
0.2
- Working reload command
- No errors in console mode
- Restructured returns
- Removed dev messages
0.1
- Initial release
- SuperPerms support
Known bugs
New features are tested before being released but it can miss some bug. If you find any, please report it to the comments or issues section.
- Sound sometimes isn't played (Spout's bug?)
- Reloading config doesn't reset item titles and textures if removed from config (you can use /reload command from bukkit)
- Consume on left click not working correctly (had to disable it because it caused internal server error - bukkit's issue?)
- Maxstacksize isn't working correctly
Download
You can find it in files section. Source is in repository
You can get latest dev version on DropBox.
-
View User Profile
-
Send Message
Posted Oct 7, 2011@Qismyname
I don't think it is possible. Maybe it could be possible with spout as it has some hooks for crafting table, but not sure. It would require more efford. But it's raining here so i will try.
Also maybe option burntime would be cool. And when i am in crafting, i could probably add the crafting sound.
@witze15
You can try http://dev.bukkit.org/server-mods/cookiemonster/, http://dev.bukkit.org/server-mods/ecocreature/ or http://dev.bukkit.org/server-mods/moneydrop/ for setting up what mobs drop.
@witze15
That isn't working see first part of this post.
@Astaen
It should be. PEX should be compatible with SupePerms.
-
View User Profile
-
Send Message
Posted Oct 7, 2011Do UltraItems supports PEX ?
-
View User Profile
-
Send Message
Posted Oct 7, 2011@Qismyname
So I have now tried 265:1:64 but that is unfortunately not ;(
-
View User Profile
-
Send Message
Posted Oct 7, 2011Thank you =)
is a pity but I can not loot from monsters :( Because we do not cheat ;)
surely I can control the other edge ;)
-
View User Profile
-
Send Message
Posted Oct 7, 2011@Lisured
Can you make:
Item:data:Amount
ItemID : Data : Amount you need to use?
-
View User Profile
-
Send Message
Posted Oct 7, 2011@witze15
I have some free time so here:
I Think thats it.
Remember you NEED the dev-Build of spoutcraft for this to work!
-
View User Profile
-
Send Message
Posted Oct 7, 2011@witze15
/give command is working only if you have correct plugin (General doesn't allow you to gain item with other datavalue than minecraft's).
You can use /ui money to give it to yourself.
I am afraid that you can't craft golden coin from 64 silver. You can arrange them into crafting grid that 9 silver = 1 gold.
-
View User Profile
-
Send Message
Posted Oct 7, 2011also /give <Name> 350,1 doesn't go :(
UltraItems: money: item: 350 data: 1 title: Coins url: http://icons.iconarchive.com/icons/aha-soft/blue/16/money-bag-icon.png (this is the example for me ;)
Can I do it this way if I can, for example a coin now to loot a monster? And I, for example, 64 coins in a silver coin can convert with crafting?
EDIT: When i take more money: UltraItems: bronze: item: 350 data: 1 title: Bronze Coin url: http://www.loaditup.de/files/654907_wxwhgafwep.png
silber: item: 350 data: 1 title: Silber Coin url: http://www.loaditup.de/files/655030_aysc4ysrs5.png
gold: item: 350 data: 1 title: Gold Coin url: http://www.loaditup.de/files/655031_fvpva24gup.png
than says Ultraitems: unkown Command ;(
-
View User Profile
-
Send Message
Posted Oct 7, 2011@witze15
For custom item like money use
Now spawn your item with /give <Name> 350,1
You cant craft it, You will get 64 Coins (limit can be set but is buggy)
To use in iconomey i thing there is a option to set it to a item somewere.
Also this way the (item) 350 stays the same!
-
View User Profile
-
Send Message
Posted Oct 7, 2011okay than in german ;) and at astaen Google translation is for german a stupid translation ;)
also jetzt in Deutsch:
Also Ich finde das Plugin sehr Gut, aber ich wünschte mir ne neue ID also damit meine ich das man dem item eine ID (500) zuweisen kann das ich dann mit /i NEUEID (500) abrufen kann.
und zum zweiten: Wie kann ich es machen, dass ich eine andere ID als 357 und 280 nehmen kann? Denn wenn ich eine andere nehme zum Beispiel 336 (Bricks) dann geht Ultraitems Plötlich nicht mehr :(
weil ich will einige neue Items machen wie Münzen und die sollten nichts können ;) deshalb wollte ich für das craften dann Bricks nehmen und als Grafik dann halt Slimeball :D
naja ich hoffe ihr könnt mir helfen ;)
and here with google Translation ;) (WOW Google take the sets in a right order Oo thats new) xD
So I can can find the plugin very good, but I wanted a new ID so that I mean that the item is an ID (500) assign the I retrieve it with / i NewID (500).
and the second: How can I make it that I can take a different ID as 357 and 280? Because if I take another, for example, 336 (Bricks) then goes ultra Items not sudden: (
because I want to make some new items such as coins and you should not;) so I wanted to take the bricks and then crafting a graphic then just Slimeball: D
well I hope you can help me;)
-
View User Profile
-
Send Message
Posted Oct 7, 2011@oceanor
read the big red text
-
View User Profile
-
Send Message
Posted Oct 7, 2011Hi, this plugin is awesome! :D:D
I have a bug.. i've tried both with default configuration (osword, light wand, notch cracker) and with custom item, but icon in quickbar is bugged: instead of the url-icon, it appears the image with all icons togheter (whole png from minecraft i think)..
Sorry for my english..
-
View User Profile
-
Send Message
Posted Oct 6, 2011@Flenix1
Yeah, I'm interested :D
-
View User Profile
-
Send Message
Posted Oct 6, 2011@Flenix1
good idea
-
View User Profile
-
Send Message
Posted Oct 6, 2011About the permissions discussion: Use PEX - it is both the old and new system in one plugin and works fine with this.
Speaking of permissions, could you add crafting permissions per item? For example: ultraitems.craft.osword - lets you craft an Obsidian Sword
I've made a big rune system, and I want people to unlock each rune type for crafting by doing quests. For that I need the permissions per item. (By the way, once my items are all configured, I'm happy to share the items and textures for anyone who wants them, as long as I get some sort of credit for it on their forum/website. As I said below, its around 130 items and counting, I'm at about 35 swords, tonnes of magic stuff and some others.. I'll be making matching plugins too for usage with the items. Just throwing this out there for anyone interested)
-
View User Profile
-
Send Message
Posted Oct 6, 2011@witze15
Sorry, could you repeat it in Deutsch? I am from Czech Republic and i am learning it so i should understand you a little.
You can't use unused id for item because it would crash vanilla minecraft.
I really don't get the second part (the part with slimeball).
-
View User Profile
-
Send Message
Posted Oct 6, 2011@witze15
I wonder if it would be better with google translation x)
-
View User Profile
-
Send Message
Posted Oct 6, 2011Sorry for my bad english but i'am from Germany ;)
Also i find this is GOOD =) But i wish me a new ID. Also i mean that so currently item is this: 280 new id for the new item than: 500 (or what not use) Thats where nice ;)
and i have a problem when i will an slimeball use (341) instead of Cookie (357) than is Ultraitems Down is this normal?
I will this change this but i doesnt have found Anyone in the code ;)
i hope you can understand and help me ;)
With frendly Geets Daniel :D
-
View User Profile
-
Send Message
Posted Oct 6, 2011@Astaen
I didn't liked it first but i acclimatised after some time Yeti's Permissions are no longer developed and SuperPerms is de facto standard. Plus it is really simple to use for developers.
-
View User Profile
-
Send Message
Posted Oct 6, 2011:'( I dislike PermissionsBukkit ... I'll move to it this weekend ...