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 :)
works well on 1.2.5 :D
Polish No Smoking! tutorial. Thank you very much Treekt :) Video created by Treekt
I like this, good job :)
But is there a way to make the smoke be constant instead of pulses? You know what I mean?
Awesome plugin!
@Joymo
Joymo thank you for suggestion. It is on my TODO now :) In our server only OPs have access to No Smoking. But with limited effects per player, it could be possible to grant permissions to all players.
Cool plugin! Have two requests:
- Configurable limit of effects per player - Configurable currency cost per effect
At least one of those would already be great, otherwise I see no way you could hand this to players without the entire world being spammed with effects, or am I missing something there :P
@CrazyGhostRider
Updated. Latest craftbukkit build supported.
@CrazyGhostRider
Hello, a few minutes ago I've installed latest craftbukkit devbuild. No Smoking works fine. There's one caveat: you can not place effects in height more than 128. I will fix it soon.
Please update your plugin.
@RealExa I'm using the R3 version on my R4 server and i encountered the following bug: - When i make an effect with flames, it shows smoke instead but it has the spread pattern of flames (just no fire)
Can you made a screenshot? It sound very strange...
About songs. All similar songs on the server restarted at the same time. Song will play only if in starting moment you was near the song-point. If you walked, or teleported after song restart, you will hear nothing until song starts play again. If you need to force song playing you can type /smoke rst command (it restarts all effects, including songs).
I'm using the R3 version on my R4 server and i encountered the following bug: - When i make an effect with flames, it shows smoke instead but it has the spread pattern of flames (just no fire)
Also, the song function seems to react rather weird. Setting a distsng results in the distance set to 100, no matter what distance i enter. This makes it trigger too soon.
@EHAndrew
Checked now. It works with latest dev build. But I was confused: lot of plugins installed on my testing server will not without update.
@fromgate
Awesome, I'm making a list of what plugins will/wont work on my server after the update... No Smoking... check!
@EHAndrew
I've recode all deprecated code during the developing: latest recode was associated to deprecation of previous event system, now I'm using new event system. In any case, I'm going to check all my plugins, and I hope after RB-5 release everything will worked fine. Otherwise, how can I use plugins on our server? ;)
So the new R5 is coming out soon... Are we going to see an update? or is this already running the new code?
This looks perfect for my volcano
Ahhh okay :D I thought I've done something wrong Thx 4 the fast reply!
@Damimad
Thanks for you suggestion. I will add any effect type that possible. But now we are limited with bukkit's API. If there will be something new, I will add it to the No Smoking! :)
I'm sorry! I've upload a wrong build. You can download it again: http://dev.bukkit.org/media/files/571/887/No_Smoking.jar
This version will be correctly create config.yml and realy enables using permissions by default. So if you are not OP but have permissions you will have access to /smoke command Permissions listed here: http://dev.bukkit.org/server-mods/no-smoking/pages/main/permissions/
Why do I not have a config.yml? I want to change to ""use-permissions:" to true, but theres no config-file :(
1.1-R3