[INACTIVE][MECH] RedstoneEffects 0.1 - Create fake sounds and effects using signs and redstone [860]

Discussion in 'Inactive/Unsupported Plugins' started by WMisiedjan, Jun 14, 2011.

  1. Offline


    <font color="rgb(255, 0, 0)">Red</font><font color="rgb(192, 192, 192)">stone</font><font color="rgb(255, 204, 153)">E</font><font color="rgb(128, 128, 0)">f</font><font color="rgb(51, 102, 255)">f</font><font color="rgb(153, 204, 255)">e</font><font color="rgb(204, 153, 255)">c</font><font color="rgb(0, 51, 102)">t</font><font color="rgb(173, 231, 23)">s</font>
    Create fake sounds and effects using signs and redstone.

    Version: v0.1
    With this plugin you can create signs that generate an effect or sound that players can see/hear.

    In this way you can create awesome things like a fake security system so that it sounds like someone is walking in your house!

    I just created this to test the new function in Bukkit to do this effects. I'm sure developers can come up with something more awesome than this!

    Step 1:
    Create a sign with on the first line [effect].

    Step 2:
    Write on the second line the name of any of this effects:
    * <font color="rgb(0, 0, 0)">BOW_FIRE - Different fire sound</font>
    * <font color="rgb(0, 0, 0)">CLICK1 - Not tested.</font>
    * <font color="rgb(0, 0, 0)">CLICK2 - Not tested.</font>
    * <font color="rgb(0, 0, 0)">DOOR_TOGGLE - Data value is diffrent door opening sound.</font>
    * <font color="rgb(0, 0, 0)">EXTINGUISH - Not tested.</font>
    * <font color="rgb(0, 0, 0)">RECORD_PLAY - Not tested.</font>
    * <font color="rgb(0, 0, 0)">SMOKE - data value is the direction of where the smoke is heading.</font>
    * <font color="rgb(0, 0, 0)">STEP_SOUND - DATA value is the block of the step sound. for example 5 when it's wood.</font>

    Step 3: (optional)
    Write on the second line a data value. it needs to be a number for example 1 or 2 etc.

    Example of how a sign should look like:

    - This will create a sound of step on wood!
    - Data values (3rd line) can only be numbers1

    * Generates Sounds and Effects based on signs and redstone!
    * Simple yet effective!

    * Version 0.1 - <Edit by Moderator: Redacted mediafire url>

    Source Code - on Google Code.
    You have an awesome idea? Or you can help me code? Please commit codes/fixes and report errors and idea's there!

    Version 0.1
    * Releasing my awesome plugin
    Last edited by a moderator: Nov 27, 2016
  2. Offline


  3. Offline


    This doesn't seem to work..

    None of these work at all, did you even test it?
    12:56:23 [SEVERE] Could not pass event REDSTONE_CHANGE to RedstoneEffects
    java.lang.NoClassDefFoundError: org/bukkit/Effect
        at net.WMisiedjan.RedstoneEffects.RedstoneEffectsBlockListener.onBlockRedstoneChange(RedstoneEffectsBlockListener.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:461)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.BlockSign.doPhysics(BlockSign.java:123)
        at net.minecraft.server.World.k(World.java:397)
        at net.minecraft.server.World.applyPhysics(World.java:376)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:52)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:289)
        at net.minecraft.server.World.k(World.java:397)
        at net.minecraft.server.World.applyPhysics(World.java:376)
        at net.minecraft.server.World.update(World.java:345)
        at net.minecraft.server.World.setData(World.java:287)
        at net.minecraft.server.BlockLever.interact(BlockLever.java:161)
        at net.minecraft.server.BlockLever.b(BlockLever.java:135)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:75)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:459)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  4. Offline


    i think he didnt
  5. Offline


    if you fix it, please add the sound of ghasts taking damage. Those screams are a necessity for scaring people :D
  6. Offline


    i will have a test 2moz, let you know what i think
  7. Offline


    It works fine, This week I finally will have my own computer again, I can make a video by then.

    Nothing is broken? It works fine on build 860. Newest recommended version!

    This is using the original bukkit API and I cannot trigger any effects by myself. Although I'll investigate if I can.

    I just figured out a way to send specific effects to a specific location. Although you need to know the effect ID that you can find when you packet log a effect. I'll run some test to see if I can create a plugin that can easily test effects.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  8. Offline


    what's with the fixed-width font?
  9. Offline


    This currently only support the sounds that are supported by the original API. I'll try to add more sounds soon!
  10. Offline


    Can you play Jukebox- Records with this? :)
  11. Offline


    I'll soon release an update which you can easily check every sound ID. So people can help me discover new sounds and effects! Because it's a hard job to list all the effects by my self.
  12. Offline


    I think there should be player losing health noice, creeper noice, exploding noice and something like that.
    but cool plugin btw :)
  13. Offline


    Can update? I dont think it will work on 1060
  14. Offline


    great MOD!!:D
    works it 1185!
  15. Offline

    Cronos Dage

    Works 1.1-R4

Share This Page