No Smoking!
No Smoking v0.0.7
Warning! Development of this plugin is suspended. New features (and effects) will not be added to this plugin. But I will update this plugin for new craftbukkit version. Anyway, if you using NoSmoking! plugin I recommending to you check my new plugin PlayEffect. This plugin contains a 45 effects type and created as replacement of the NoSmoking!
What is it?
No smoking allows you to spawn some smoke at your Minecraft worlds. It was created to steam-punk style server to simulate steams and smokes. But after releasing second version the name of the "No Smoking!" acquires a new meaning: now it's an acronym of "Not Only Smoking!" because now plugin is able to produce 8 types of different effects in addition to smoke. You can see demonstration of plugin abilities on this video.
Features
- Nine different types of effects, including sound.
- The ability to place effects in any place, including and within a block (except entity-based effects)
- Grouping effects (determined by the same id). You can hide/show or remove group with single command.
- Show and hide group of effects with a lever.
- Some effects have more options and settings. For smoke - it's the wind, for effect of breaking potion - a type of potion, sound effects and songs - type of sfx and playable disk, respectively, for lightning - weather, daytime and chance.
- Permissions are now supported, but you can disable it.
- In order to optimize you can adjust frequency effects playback, and the range of effect availability - if a player is moved far away from effect it will not play.
- The distance from which you can see (hear) the effects determined by minecraft. For effects - 16 block, for sounds about 70.
Why do I want it?
Hmm... "No smoking!" were created for fun. So if you want to see something new around you in Minecraft, you will get some fun.
How to use it?
You just need to choose effect, set options and specify with a coal piece where it should play.
Video tutorial:
Effects type
Commands
Switching effects with redstone
Redstone power con switch on/off or toggle any effect switcher if you place above it sign with a special text. In the second line you must write "[ns-switch]" or "[ns-toggle]", in the third - the identifier of the effects you want to hide/show when pulling the lever. You can place sign far from effects, and if you need can bulid control room - sign text is colored, and effect name will turn to green when effect is enabled. And if you need you can combine include NS-signs to any redstone circuit.
Permissions
How Do I Install It?
Just copy it in your Plugins folder.
Upgrading from versions 0.0.2, 0.0.3, 0.0.4
Just install new version.
Upgrading from version 0.0.1
Just install new No Smoking.jar. However, make sure that file smokepoints.cfg is located in the folder "No Smoking" (if it located in "NoSmoking" (without space) just copy it in new folder).
Metrics and update checker
NoSmoking! includes two features that use your server internet connection. First one is Metrics, using to collect information about the plugin (versions of plugin, of Java.. etc.) and second is update checker, checks new releases of NoSmoking! after plugin startup and every half hour. This feature is using API provided by dev.bukkit.org. If you don't like this features you can easy disable it. To disable update checker you need to set parameter "version-check" to "false" in config.yml. Obtain more information about Metrics and learn how to switch it off, you can read here.
Like this plugin?
You can buy me a chocolate :)
@fromgate
No problem. Just thought of you when I saw it :)
@Hangar
Hello, I think it possible to add this sound effects to No Smoking. But now I'm working on updating the MonsterFix and I'll release new version of NoSmoking only after MonsterFix.
There's a bunch of new (mob) sounds in this build. Not sure if you can/should add them but FYI:
http://dl.bukkit.org/downloads/craftbukkit/view/01380_1.3.1-R2.1/
@fromgate
Aweasome. Thank you. I love this plugin it adds music to my server :)
@beanssprout
Hello! Tested. Works :)
@Hangar
Thank you )
Has anyone tried using this plugin for 1.3? Thanks
@fromgate
I had a feeling you were going to ask for that :) Here's a query from my hawkeye database of all commands I made with "smoke" in them: http://pastebin.com/99qchDvS
Btw, this plugin is really cool. I'm making a sort of... guided adventure, and I plan on using it wherever it can be put to good effect :)
@Hangar
Hello, it looks that you typed a text when command requires an Integer value. Did you remember command that you type? It will help me to find where I forget to check the input value :)
@yuuki0031
I'm planning to update NoSmoking! soon. If bukkit API will support new effect I'll add them :)
Not sure what caused this:
15:15:34 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'smoke' in plugin No Smoking v0.0.5 MCCity edition at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NumberFormatException: For input string: "tailengine" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at fromgate.smoke.NSCommander.onCommand(NSCommander.java:199) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
@fromgate
oh and if you can add all effects from minecraft that would be soooooooooooooooo awesome :), cuz i rlly love effects
@yuuki0031 Hello! I will check. If possible I will happy to enderdragon effect :)
@pnupy Yes. I know. But... it not possible to disable sound on some effects: potion break, lightning. explosion (planned in next version). If I find a way, I'll be happy: muted effects are more useful.
i think you should add a mute option because the potion effect has its sound
IT WILL BE SUPER AWESOME IF YOU ADD THE ENDERDRAGON DEATH ANIMATION I WOULD REALLY REALLY LOVE IT
Just a thought, but something that might make it easier for some users would be a config file with predefined effects. This way users could specify "mySmoke" (or whatever) instead of having to specify parameters when creating an effect.
This would also mean people could change effects by changing the template.
@aroepy Yes! You are right. I did not release new plugin version for 1.2.5 because this version is work fine :)
@doekia @doekia
It not possible to add redstone ore effect and "in love" effect using Bukkit API yet. If I find a way how to create this effects I'll add it into NoSmoiking! :)
Could it be possible to add the "in love" effect somehow?
Would it be possible to add the redstone ore particle ? And better than that, add a feature to light up a redstone ore (simply simulate a walk on a block every X ticks) ? This could be veeery cool ;) Anyway, your plugin is great :)