StainedGlass
StainedGlass
------------------------------------------------------------------------------------------
Colored glass has been FINALLY added to default Minecraft so this plugin is no longer required.
------------------------------------------------------------------------------------------
Version 0.1.2 release date: 17th June
StainedGlass works with CB1.4.6, SpoutPlugin 1412+ and Spoutcraft 1920
Stained Glass probably will still work with 1.5.1 once SpoutPlugin is updated
------------------------------------------------------------------------------------------
What is StainedGlass?
StainedGlass is a Spout plugin that adds a number of custom glass blocks to Minecraft. The Stained Glass blocks are purely for decorative purposes and they can be placed just as you would with regular glass but they appear to Spoutcraft users as different colors, depending on which block is crafted. Any players not using Spoutcraft will see these blocks as normal plain glass so the look of any structure would be unaffected. The colors of the stained glass blocks are as closely matched as possible to that of colored wool blocks.
Crafting a Stained Glass Block
Stained glass blocks are made using 2 dye and glass block in a workbench just like regular items. All of the colors are made in the same way with the appropriate dyes.
Stained Glass colors:
- Black
- Red
- Green
- Brown
- Blue
- Purple
- Cyan
- Light gray
- Gray
- Pink
- Lime
- Yellow
- Light Blue
- Magenta
- Orange
- White
Installation
Installation of StainedGlass is very simple.
1. Download the latest StainedGlass.jar
2. Place StainedGlass.jar in your plugins directory
3. Restart your server (or reload if you prefer)
Requirements:
StainedGlass is a Spout plugin so you are required to have Spout installed on your server.
- Server side: with CraftBukkit RB 1.4.7-R0.1 and SpoutPlugin build 1412+
- Client side: Spoutcraft build 1920+ is required to see the custom blocks.
Known Issues
There are a number of known glitches or bug in recent Spout/Spoutcraft builds which may seem like StainedGlass bugs. You can read about them on the Known Issues page.
Future Possible Feature Additions:
The following are potential features which may, or may not, be added to StainedGlass in the futre. There is no timeframe for any of these.
- Lighter color blocks of all colors which have no existing block (example: red)
- Glass Panes - When Spout supports it
- Customized recipes for all blocks
- Server admin config to decide whether blocks are no longer dropped when broken
- Permissions to use the blocks.
- Customizable url for block textures
I'm only seeing flint, though I'm running the latest version of spoutcraft. Anyone else have this problem? Sorry, I should mention that it worked last week. I've had a single update happen with spoutcraft, so that's possibly the reason. The description of the block says Blue Stained Glass, but it looks like flint. So it's a texture issue.
-Caid
Works fine for me as well.
Hmm WORKS on 1.2.5 for me.
NOT WORK!
● Minecraft: #1.2.4
● CraftBukkit:
2126 (1.2.4-R1.1) Recommended Build
● SpoutPlugin: #1052
● SpoutCraft: #1321
● Java #7.3 x64
● LAST VERSION
2012-03-30 03:21:36 [INFO] [StainedGlass] Enabling StainedGlass v0.1
2012-03-30 03:21:36 [SEVERE] Error occurred while enabling StainedGlass v0.1 (Is it up to date?)
java.lang.NoClassDefFoundError: org/getspout/spoutapi/material/CustomBlock
at net.playminecraft.stainedglass.StainedGlass.onEnable(StainedGlass.java:24)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: java.lang.ClassNotFoundException: org.getspout.spoutapi.material.CustomBlock
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 11 more
Work
Minecraft: 1.2.4
CraftBukkit: 2122 (1.2.4-R0.1)
SpoutPlugin: 1046
SpoutCraft: 1299
Java 7.3 x64
This was working beautifully for me until 1.2.4
Will there be an update? =o
I had the same problem with it reverting to normal glass when the serverside spout wasn't up to date.
@conway220
Spouts quite clever, plugins don't have set IDs but it changes per server - meaning no plugins will ever clash.
Also they use data values not IDs. You can find them in itemMap in the Spout folder.
@dunem666
heya, many thnx for info :)
cheers!
@ha11oga11o
the plugin actually works totally fine, its a bug in spout / spoutcraft currently with the block api. keep your spouts updated and it will eventually get fixed.
Is it me or this plugin is broken?
Well, all works fine, no error on console, in creative mode i can choose colored glass blocks BUT when i place them they act as regular glass. I assume it needs bit tweaking to be compatible with 1.23; i hope you will fix it:)
Cheers, and thnx in advance!
As ussualy im using newest dev builds for spout, bukkit and spoutcraft.
spout 944; bukkit 2052; spoutcraft 1184
Reporting a bug- When looking threw the glass it does not seem to register water? This is very annoying as one of our members is building a city above an ocean and it looks very silly from inside.
Thanks
May i ask what the block IDS are?
@gryam
I don't know about the crafting issue, but yes, everyone needs Spoutcraft who wants to see the stained glass, unfortunately.
To be honest and quite frank - I don't quite understand this. I have placed the file into my server folder, and added Spout. However, it does not allow you to craft the new glass. I've tested this in Spoutcraft (game) and I can place the new glass in Creative, but I cannot construct them in either mode. When I place the coloured glass, no one else can see them. Can someone tell me what I'm doing wrong or guide me through this? And does every player need Spoutcraft just to see the blocks? I've been downloading plugins for a while, first time I've actually had trouble. Looks great though! Thanks!
(edit trying to get the pictures to work)
Does anyone know what causes the stained blocks placed behind others to dissapear such as they have in this example?
http://tinypic.com/r/33e4weu/5
I thought it was just a normal limitation of the addon, but apparently my friend can see them just fine.
http://tinypic.com/r/2u4ocya/5
After some testing it seems to be linked to the fancy water option through spoutcraft. When my friend has the option "off" they can see stained glass behind other stained glass, but with it "on" the blocks behind dissapear for them.
For me when fancy water is "on", the glass behind is not visible like my first picture, but when it is "off" all I get is sidewall textures on the nearest blocks like this.
http://tinypic.com/r/mm7ya1/5
My friend has an ATI 4200 card on a laptop, I'm running 2 gtx460s, so I'm assuming this may be a graphics option with the cards. So far I have tried every nvidia option I think as well as disabled SLI with no change. Oh and I did re install minecraft and spoutcraft as well with no luck.
Thanks for any help with this problem :D
Thanks for the tip driverdis, I just saw the textures are 16x16 though. Is there any way to increase those?
(edit) Ok, I thought it might be a little more involved, but you can just increase the original 16x16s to 64x64 and it seems to work fine.
@Pickety THat's actually normal. Items unless you spefify a texture looked like flint.
for those who want custom glass textures,I (and probably others too) have found a way to do so by replacing the URL that the glass texture is loaded from with a custom one via a Hex editor.
1. extract "SGSpoutManager.class" from the jar.
2. open up "SGSpoutManager.class" in a hex editor (I used HxD).
3. find "http://dev.bukkit.org/media/images/36/385/stainedglass.png" using hex editor.
4. make copy of the stainedglass.png to use as a template for custom textures
5. change URL to one that matches the length 100% (so the offsets dont change)
6. I used http://dl.dropbox.com/u/2553****/stainedglassREPLACEMT.png as it fits (I censored the URL so you dont use mine)
7.save changes and add SGSpoutManager.class back into the jar
8, Profit! StainedGlass will use your texture instead of the default one.
@pimsserver
Hi,
I only get flint too - is there a fix for this?
Thanks :)
Sometimes water shows up as these blocks O.o
latest Rec of spout
craftbukkitR4 (Spout modified bukkit jar)
Also tried the latest RB of bukkit.