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.
Hi!
Could anyone tell me, if there is any way to configure ultraitems if im using pex? I want to create few overpowered items for 'research' (:D) but for now, any player can use ultraitems give command, so its risky.
@Lisured I think that adding UI permissions as config file could be a good idea :) or at least changing few permission to op only:
With that config, only op's would be able to use give command, and imo that is not a bad idea :)
Unfortunately this last march Moitiers or its lag when you connect, or you can connect either the plugin not work and the / ui list. and other. And unfortunately spoutMaterials same in hope that these problems will be resolved soon, good luck ....
I think the ability to insert the function in the config cooldown would be an asset Pugin final !
@the55anon
It does not work: You do not have permission ...
I think the problem is Ultraitems.give: false in permissions file.
@Lisured
It's possible add option to disable message "Here you are" ?
because that flood the chat when i drink too much beer xD
@Misteryan
yes, permissionbypass does not work as intended.
BUT.... using commandhelper plugin, you can, in a not 100% safe way, but still pretty much safe, give player a bypass way.
You, for example set something like this:
And you set the command /14845198415478456464684684768 to be called when using the beer. The op on commandhelper is kind of permissionbypass, but turning OP. When I say that its not 100% safe, is that, if a player can find about the /14845198415478456464684684768 command, he would be able to get infinite beermugs, but thats pretty hard (unless you have those plugins that sugests a command similar to one you typed, like bpermission does).
Ok thanks for your answer.
@geekahedron
Are you sure you have UltraItems in correct directory?
What your /plugins command says?
Could you upload your log somewhere?
@Misteryan
The bypassing permissions seems to be little bit buggy. I can't manage to use general plugin and others can't use commandbook etc. as you can use bukkit's build-in permissions and ultraitems' permissions I assume there is some bug in bukkit.
Hummm permissionsbypass: ultraitems.* (or all Utraitems permissions) don't work with PermissionsBukkit for me (Essentials, iConomy,... Works fine)
For me, Admin, its work
For all, Users, its don't work
& Permissions
@Lisured
Yeah, still not getting anything from that. I drop the .jar in my plugins folder and fire up the server, and it simply doesn't load. No errors, no anything, as if the .jar weren't even there at all. Très bizarre.
I'm running CB 1337, inside of Pail v0.7.5 with PailPlus v0.2 beta. I've had plenty of experience with different addons throwing errors while loading, but never had a plugin .jar simply ignored by the server.
We're sorry, you've attempted to access a page that you're not allowed to access. :-/
« We're sorry, you've attempted to access a page that you're not allowed to access. »
I can't access to the SpoutMaterials page ... :(
@geekahedron
You can also try this http://dl.dropbox.com/u/1189439/stable/0.10p2/UltraItems.jar.
Latest official release is bigger because i accidentaly included building instructions file. And maybe there is also better compression as i switched to maven.
Ad sm page it didn't met the plugin submission guidelines so it was probably blocked.
I am back to the state where loading the plugin or reloading the configuration simply resets the config.yml file to nothing but
'UltraItems:': {}
I saw an earlier comment where the proposed fix was to get the latest dev version of UI, but downloading the file there does not even load. That is to say, there are no errors or any indication that the server sees the .jar file at all, other than the fact that it is locked for reading while the server is running. The latest dev file is considerably smaller than the latest official release (25.4KB compared to 33KB), so I wonder if it may just be a corrupted upload? I have downloaded the file several times and have not been able to get the server to even acknowledge its existence.
That said, I'm much more interested in the SpoutMaterials project, if that is to replace both this and SpoutBlocks, so I'm curious how that joint effort is coming along? I was able to view the page the first day it was announced; since then, there is only a 403 Forbidden error and a message that I have attempted to access a page that I am not allowed to access. Any progress updates on that front?
lets share configs here: Thread
@Astaen
permissionbypass does not work with some plugins: The ones I tested that do not work: Essentials, commnadbook, commandhelper, WE, WG, commandbin.
Still, on other plugins, like vanish or mobdisguise, it works.
@Astaen
MP ;)
Could someone send me is config file + all his PEX jar files + his Spout plugin ? 8D Cause I tried everything and still get no permission even with permission.bypass
it's a good job.
Hmmm if you look, it lacks Amount box ;)
Ok, I added permission bypass, and also French version.
@Astaen
Will you make one for the spoutmaterials, when it releases too? Also, can you add the permissionbypass box?