MoreMaterials
More Materials
Version: 2.4.3
Overview
MoreMaterials is a clever plugin, which allows you to create and install your own custom blocks and items. It includes an incredibly simple to use editor (with various difficulty/complexity levels) to create your own custom shapes quickly and easily. It also includes a system to easily share your custom creations!
How to Use?
MoreMaterials is installed just as any other plugin would be. You simply download the latest version, and drag it into your Plugins folder. Included with each version is an example .SMP file, the file format used to add custom blocks. More does not have a server-side config.yml file. All of the custom block / item properties are defined within the SMP package files themselves.
Version 2.0 Details
- Pre-Configured Built-in Handlers.
- Cross SMP-based Recipes. (no longer are all materials required to be within the same SMP to make a recipe work correctly).
Version 2.1 Details
- Added the Chest & ChunkRegenerate Handler.
- You can now create custom blocks with the inventory component.
- Requires Spoutcraft 1.6.2 b13 or higher to use new custom chest abilities.
Version 2.4.1 Details
- Added support for Residence's container permission for container type custom blocks.
- Added back in the ability to set a Walkspeed and JumpMultiplier.
- Added an informational handler.
Version 2.4.3 Details
- Added support for Player saturation (stanima)*
- Fixed some issues with the consume handler.
- Fixed some issues with permissions
- Fixed issue with /mmgive command
- Fixed a bunch of class cast exceptions when using chunk regen handler.
MoreMaterial Example Packages
What is a SMP Package?
SMP packages are a compressed file, saved as a .smp extention. This zip file typically will contain these types of files:
- .shape - This file stores the typical design of a custom block.
- .obj - This is a more advanced design file for a custom block or item.
- .png - This file stores the texture that is applied to the custom block or item.
- .yml - This file stores all the information regarding the custom block or item.
Below are a few example files for creating your own custom SMP packages.
Below is a Complete SMP Example Package of a hanging light.
A more detailed look of what all a .YML file can contain can be found Here.
Design Files & Editors
MoreMaterials SMP packages can youse two types of shape files for specifying the design of a custom block, .obj and .shape. The following link can provide you with a Free Editor to handle the creation of .shape files. The .obj file types are typically from a program such as Cinema 4D Studio.
SMP Packages Library
SMP Packages for MoreMaterials can be found here: SMP Resources Library
When you are implementing SMP files on your server, make sure they go into the: /plugins/MoreMaterials/materials folder. This is very important!
Help Forums
The following site: Click Here has been setup as a forum for all users and developers of the MoreMaterials plugin to exchange ideas as well as have questions answered. Feel free to have a look around. The more you know about this plugin the more you'll love it!
Support
Support for this and all other AlmuraDev plugins can be found by joining our chat channel here:
Dependencies
The MoreMaterials Plugin requires the usage of both of the following dependencies, without them users will not see the custom block image or shape that you are designing and applying.
Spoutcraft & SpoutPlugin
Get Spoutcraft & Spoutplugin Now! >> http://www.spoutcraft.org
Developers
- AlmuraDev Team
- IceReaper
- Znickq
Debugging / Testers
- Dockter
- Kaynide
- Flenix
Metrics Disclaimer
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
A unique identifier The server's version of Java Whether the server is in offline or online mode The plugin's version The server's version The OS version/name and architecture The core count for the CPU The number of players online The Metrics version
If you wish to disable this feature (/me cries), you can do so by opt-ing out, which you can do in the config file under /plugins/PluginMetrics/
Permissions?
Is there any way I could take the coding from the pro-editor and include it in a plugin I'm making? Like code a slab and port it to java? I am just assuming the answer is no.
When will material actions be reinstated?
@yurikoma
Thanks, I'll contact him about this.
@z2s8
http://www.morematerials.net/forum/index.php?page=User&userID=303
that guy is the expert on those things, and is the one who created the tutorial for blender, send him an email with any problems you have, and I am sure he will help you
PS: The tutorial was basically created because i was having problems getting my .shapes right, and he suggested that i use blender so it would be easier and be able to make more complex shapes, and told me he would be making a tutorial to help with it.
I have no actual input into the tutorial itself, and today will be my first attempt at using it to make an item, so that guy i posted above is really the best person to ask about it. Good Luck.
@yurikoma
Thanks, I'm using blender, I converted to obj and with the converter you linked to shape, but wtf? my shape file contains more than 13000 lines. What to do with that huge file? :)
EDIT: btw i 'll make simple objects. So I made a simple object, but I had issue with negative numbers. I tryed rotation 0,0,0 and -90,180,90 but both gave negative value. The wiki says: "If negatives values that are less than -0.000, check the alignement of your object, correct and re-export. " How to check, there's 0 information there about rotation please?
PS. thx for your prev help too!
@z2s8
you need to convert the .obj to .shape
you can use .obj directly but there is little documentation on it at the moment, and many people will suggest you convert it to a .shape file
if you are using blender for your shapes, see the link below
this tutorial was created yesterday, but it still has some things to add, but check it out, it may help a little. if the current info doesn't help you, keep an eye on it, should be finished soon.
http://morematerials.net/wiki/index.php/Main_Page/Blender
also here is a converter that was posted on the official forum
https://www.dropbox.com/s/l5jrgrug19boyzm/obj2shape.jar
Hi, can you show me an example if .obj are used instead of shapes? i looked around in much other packs but didnt find obj based ones. thx
@MCManCub
You need to use SpoutPlugin build 1380 or higher:
http://build.spout.org/view/Legacy/job/SpoutPlugin/1380/artifact/target/spoutplugin-1.3.2-R1.0-SNAPSHOT.jar
@dockter
Tried 7-Zip and got the same thing. Hrm. I wonder what is that's going on.
MC
@dockter
It is. I used WinRAR though. I'll give 7-Zip a shot and see how that goes.
MC
@MCManCub
Yep, make sure your file extension is .smp. I always use 7-Zip for creating SMP packages.
2012-10-22 12:23:01 [SEVERE] [MoreMaterials] ERROR: Cannot load Light.smp 2012-10-22 12:23:01 [SEVERE] java.util.zip.ZipException: error in opening zip file 2012-10-22 12:23:01 [SEVERE] at java.util.zip.ZipFile.open(Native Method) 2012-10-22 12:23:01 [SEVERE] at java.util.zip.ZipFile.<init>(Unknown Source) 2012-10-22 12:23:01 [SEVERE] at java.util.zip.ZipFile.<init>(Unknown Source) 2012-10-22 12:23:01 [SEVERE] at java.util.zip.ZipFile.<init>(Unknown Source) 2012-10-22 12:23:01 [SEVERE] at net.morematerials.manager.SmpManager.loadPackage(SmpManager.java:98) 2012-10-22 12:23:01 [SEVERE] at net.morematerials.manager.SmpManager.init(SmpManager.java:79) 2012-10-22 12:23:01 [SEVERE] at net.morematerials.MoreMaterials.onEnable(MoreMaterials.java:78) 2012-10-22 12:23:01 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 2012-10-22 12:23:01 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) 2012-10-22 12:23:01 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383) 2012-10-22 12:23:01 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:375) 2012-10-22 12:23:01 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:357) 2012-10-22 12:23:01 [SEVERE] at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:307) 2012-10-22 12:23:01 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:286) 2012-10-22 12:23:01 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226) 2012-10-22 12:23:01 [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:168) 2012-10-22 12:23:01 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387) 2012-10-22 12:23:01 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
^ Error I get when trying to install the example on this page. It contains the Light.png image, the Light.shape file, and the Light.yml file. I zipped it then renamed it as Light.smp. Thoughts?
Edit: I should add, so you don't think I'm computer illiterate, that it's actually "Light.smp" and not "Light.smp.zip".
MC
is it possible to set up permissions who is allow to craft a item?
@gabriel11798
There is a link above to click on to make your own models. In-game? Thats crazy talk.
I wonder if there will be a UI to make and model your own blocks?
@BillSends
What are you talking about?
Checked out your server before. It's great :)