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 :)
I'm stopping the development of the NoSmoking! plugin.
NOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!
But it's not a bad news because I'm happy to introduce you my new plugin — PlayEffect,
YESSSSSSSSSSSSSSSSSSSSSSSSS!!!!!!!!!!!
I'm on it :D
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 creates as replacement of the NoSmoking!
@CommodoreAlpha @pokuit @WASasquatch
I'm now working for new version (or.. may be a totally new plagin). Here is some vidoes:
btw i think: https://forums.bukkit.org/threads/particle-packet-library.138493/ is what DancingWalrus was referring to :)
Sorry just out of interest why do you use a .cfg file. If you used a .yml you could use bukkits built in config manager and handling of yml files which would make like alot easier.
@fromgate
Actually, I saw this plugin utilise white smoke, albeit fixed to a player entity.
I'm not sure why the Bukkit API doesn't list all possible sound/particle effects (on the effects page in the javadocs), but I do believe it should be possible to implement all possible effects found in Minecraft. Though the method to do that would probably be more obscure (I'm not a programmer/coder, so I can't help you here).
Omg! You still update! Thank you so much! I used to love this plugin for chimney smoke! Thank the heavens! You stuck with it, you are the best! <3
@DancingWalrus
Hmm... What is ParticleEffects class? craftbukkit did not contains it...
@DancingWalrus
Thank you. I'm going to totally recode NoSmoking, but I have enough time. May be I will start this job after finishing all my TODOs for ReActions :)
@fromgate
There actually is white smoke, you can actually use this in your code if you would like.
If you need help, feel free to message me.
@CommodoreAlpha
Hello, there is no white smoke :(
v0.0.7/7
Is white smoke possible? I looked around in the Bukkit JavaDocs and I didn't see any white smoke effect, only black smoke. I wonder why...
Hello, I'm going to upload updated version today
Got this at boot with latest dev everything, FYI:
2013-07-18 04:30:32 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.2-R1.0-27-gdc25312-b2815jnks (MC: 1.6.2) (Implementing API version 1.6.2-R0.1-SNAPSHOT)
2013-07-18 04:30:33 [SEVERE] Could not load 'plugins\NoSmoking007-6.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: net/minecraft/server/v1_5_R3/Packet
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugins(CraftServer.java:239)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.<init>(CraftServer.java:217)
at net.minecraft.server.v1_6_R2.PlayerList.<init>(PlayerList.java:56)
at net.minecraft.server.v1_6_R2.DedicatedPlayerList.<init>(SourceFile:11)
at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:106)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:391)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_5_R3/Packet
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173)
... 9 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_5_R3.Packet
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more
nvm it works but my fav. one(pearl) was changed and i dont like it D: sniff
or..... it may just not be werking fer me hmmmmmmmmmmm
== needs 1.5.2!!!! ==
With v.0.0.7/6 i do not have the purple particles effect with eff=signal.
Here is a picture: http://i.imgur.com/HppV5fB.jpg?1
@DuffstersATL @StarlessMiner
Updated. Waiting for approve.