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 :)
It is not working, I am with a coal in my hand them I type /smoke and a message appears: /smoke help
I have multiverse core installed, thx btw
I think it'd be nice if you could add water/lava drip (Would be nice to edit frequency/rate and have it to make showers or scary-scenes), or TNT/creeper sounds. And the portal effect (the little purple-ish ambiance around the portal) would be pretty cool too. Hearts would also be pretty cool (the mating hearts), as well as the torch/redstone torch effects, and even the bedrock/mycellium particles. Also, would it be possible to just have single-colored potions, and would it be possible to have the effect without the sound? I think(we think[my server]) it'd be pretty cool if you could have the potion effect you get from drinking it, but around a block/above a block.
Just some small suggestions, very cool plugin. great job. :]
@Sagewind
Nice idea. It's not possible yet, but I think I will implement it (or something like it) in future release.
Is it possible to set a time for each smokepoint? Or something aleatory por all points (like, for example, setting the minimun effect seconds to 10 and maximun to 20, to make the effect loop each X seconds, where X is a random number between 10 and 20).
If not, I suggest it :) PS: Yes! I finally have my evil-looking-casttle with it's lightning effects >:D
@fromgate
I am not op i completely rely on permissions. i choose to not op myself even as the server owner so that i could see the bugs that others on my server where getting. But i can access the config file. So i did as you said and it worked. Thanks a tone man. Glad to see some plugin dev still is quick to help. Its a great plugin to. any testing you need done i would be more than happy to do so.
@zbshadow
If use-permissions set to false any OP have a full access to /smoke command. Are you an OP? If you are not OP but have access to config file you need to stop server, edit confg.yml and start it again (I will fix saving after plugin disable in next release) If you are OP than I think that permissions will not fix your problem. Which version of craftukkit you are using? I have some reports of problem with latest bukkit dev build.
when i type /smoke it says /smoke help in white. when i look at config where it says "use permissions: false" i change it to true. save then reload so the change takes effect and then it changes itself back to false. And i still cant get it to do /smoke. So it would seem its not hooking into permissions. Maybe im not pro at the plugin errors. but hopefully you will know what the issue is. I really wanna use this plugin.
@fromgate
That's great info, thanks! Now I'm looking forward to getting off work and implementing these changes.
@quickclay
1. Default value lighning mode (/smoke lmode=...) is set to "storm". It means, that lightning will strike at point (with defined chance) only when weather is set to storm. So you can write /smoke lmode=0 chance=100 and see what happend. You see smoke on lightning place because smoke playing in addition to music, sfx and lightning. You can switch off additional smoke wit command /smoke smsound (and enable if you need by typing this command again).
2. When song starts to play, everyone who was near at that moment. If player moved near to "song place" or logged in after song start to play, he will hear it only after next loop of song. Only way if you need to song "here and now" is to restart plugin ticks. You can do it with command /smoke rst But this command wil restart all song-effect.
Very exciting plugin! A couple things we are noticing:
1) Lightning never strikes with the lightning effect for some reason. Just looks like smoke and that's it.
2) No one but the person that placed a song effect can hear it.
Otherwise, very cool! Haven't tried the levers yet, but coal seems to work great, other than the above.
@fromgate
Updated just now. Still broken.
@fromgate
Not really sure, I'll ask my host. I imagine we're up to date though.
@fromgate
thank you that works fine now
@xjonny84x
In third line you will write effect's id, not the effect's name. If you wish, you can place a lot of effects with the same ids and switch all with one lever.
For example, in our server we made a big spawn room, and place there 6 ender pearl effects, one song effect and lot of ender signals. And there's only one lever to toggle all effects.
fantastic plugin but i have a probleme with lever
i put a lever on a bloc and on this same bloc i put a redtorch exactly like the video i put just above the lever the sign with [ns-switch] and on the 3rd line the effect but when i swicth off the lever nothing happened
@Splynth
Switching lever was added at the last moment, so I did not even try to use redstone. Thanks for the suggestion, I will try to implement your idea in the next version.
@EHAndrew
Oh... I think it could be Java versions incompatibility error. Which version of Java you use? I'll install it and test.
2012-01-10 07:39:45 [SEVERE] Error occurred while enabling No Smoking v0.0.2 MCCity edition (Is it up to date?): fromgate.smoke.SmokePoint.<init>(Ljava/lang/String;)V java.lang.NoSuchMethodError: fromgate.smoke.SmokePoint.<init>(Ljava/lang/String;)V at fromgate.smoke.plist.LoadPList(plist.java:166) at fromgate.smoke.smoke.onEnable(smoke.java:47) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:436) at org.bukkit.Bukkit.reload(Bukkit.java:187) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Would be really nice if you would add the ability to trigger effects by redstone power input, and not by just levers, I canĀ“t change lever positions when triggering a stone plate for example.
Could you do this though?
Just have a redstone input on the other side of a block where a sign is placed on, Coordinates on the first line Have [RS-INPUT] on the second line The third line effect name And rate on the 4th..
@jacobems
Oh! Sorry, in descriptions were effects names, not options for /smoke=eff... (now corrected)
You can use:
And you can give a number as parameter to eff, song, sound
For example: /smoke eff=8 sfx=1 rate=1 will enable sound effect "blaze" with rate = 1.
Same for music: /smoke eff=7 disc=10 is same to /smoke eff=song disc=ward
Disk's numbers: