BlockySmoke

This is a simple plugin which can create "blocky smokers" - blocks that generate smoke made of cobweb blocks which actually moves and billows slowly. Command based and very configurable. Everything from the volume of smoke produced to how long it lives to which direction the wind comes from can be customised. Even the block type of the smoke can be changed if desired.

For now you need to be op to use the plugin. In the future permissions and/or region support may be added.

Blocky Smokers (Note: the "chimney" can be any block you want; they just happen to be brick in this screenshot.)

Quick Start

Download the plugin, place it in your plugins directory and restart CraftBukkit or issue the /reload command.

Then, build a chimney, point at the topmost block of it and give the command /createsmoker. Instant smoke!!! Note that you have to be op to use the command. To remove the smoker, just destroy the block.

Creating Smokers

/createsmoker [decayChance=decayChance] [density=density | minDensity=minDensity maxDensity=maxDensity] [maxDistance=maxDistance] [wind=random | wind=wind | wind=windFrom-windTo] [type=type] [data=data]

Creates a new blocky smoker of the block you are pointing at, or updates an existing one. All parameters are optional:

decayChance=decayChance

The chance that a smoke block will dissipate into nothingness per block per update. Must be a floating point value between 0.0 and 1.0. Set this towards 0.0 to make the smoke last longer or towards 1.0 to make it disappear quicker. Defaults to 0.167, in other words by default the chance that a block will disappear is one in six.

maxDistance=maxDistance

The maximum distance from the source block smoke blocks are allowed to go. Must be a number above 0. Defaults to 6. Set this higher to make longer smoke trails, although remember that if decayChance is too high all the smoke may dissipate before it reaches this far!

density=density
minDensity=minDensity maxDensity=maxDensity

The number of new smoke blocks to generate per update. Must be a number above 0. Defaults to 2. Setting density is the same as setting minDensity and maxDensity to the same value. If you set them different then the density will vary randomly between them each update. Note that smoke blocks can occupy the same volume! They will tend to billow out though. Set this higher to generate denser, thicker smoke.

wind=random
wind=wind
wind=windFrom-windTo

Sets the wind direction for the smoke from this smoker. Set it to random to have the wind come randomly from all directions. Set it to one value (one of N, NE, E, SE, S, SW, W or NW) to have the wind come from that direction constantly. Or set it to two values to have the wind vary randomly between the two directions. Defaults to random. For instance set it to N-E to have the wind come from the north, north-east or east.

type=type

The block type to use for the smoke blocks. May be a name or a number between 0 and 4095. Defaults to WEB (block ID 30).

data=data

The data value to use for the smoke blocks. Must be a number between 0 and 15. Defaults to 0.

Examples

A small smoker (say, a house):

/createsmoker

A very large and voluminous smoker (say, a large chimney of a major factory):

/createsmoker density=25 maxDistance=25

An even more dense large and voluminous smoker:

/createsmoker density=25 maxDistance=25 decayChance=0

A long but thin trail of smoke:

/createsmoker density=1 maxDistance=15 decayChance=0.1

A smoker with wind veering between easterly and southerly (a quarter circle):

/createsmoker wind=E-S

A smoker with wind veering between southerly and easterly (a three quarters circle):

/createsmoker wind=S-E

A smoker with northerly winds:

/createsmoker wind=N

A smoker which uses white wool instead of cobwebs:

/createsmoker type=WOOL

Other Commands

These are the other commands you can use:

/inspectsmoker

Tells you the settings of the blocky smoker you are targeting.

/removesmoker

Removes the blocky smoker you are targeting (including the smoke). Note that you can also remove the smoker by destroying the block.

/removeallsmokers

Removes all blocky smokers from the current world (including the smoke). This is a dangerous command as it will not ask for confirmation, so be careful with it!

/pausesmokers

Pauses all smokers and removes all the smoke. Can be handy if you want to work on something without it being obscured or you being hindered by smoke.

/continuesmokers

Cancels the pause and starts all smokers smoking again.

Configuration

The following config.yml file will be generated in your plugins/BlockySmoker directory. Most of the settings just configure the default values for new smokers, but there are a few other settings as well. The comments explain what each one does:

# The delay between smoke updates in server ticks (there are twenty server ticks
# per second)
delay: 40

# The default block type for the smoke blocks
smokeType: WEB

# The default data value for the smoke blocks
smokeData: 0

# The default minimum density (the number of smoke blocks spawned per smoker
# each update)
minDensity: 2

# The default maximum density (the number of smoke blocks spawned per smoker
# each update)
maxDensity: 2

# The default maximum distance (the maximum distance smoke blocks are allowed to
# go from the smoking block)
maxDistance: 6

# The default decay chance (the chance per smoke block per update that it will
# spontaneously disappear)
decayChance: 0.167

# The default random spread setting (whether there should be an additional
# random spread to the smoke)
randomSpread: false

# The minimum wind strength (in blocks per update)
minWindStrength: 0

# The maximum wind strength (in blocks per update)
maxWindStrength: 1

# The default wind constraint "from" value. If set, "windTo" must also be set.
# Leave empty to have no default constraint on wind direction. One of N, NE, E,
# SE, S, SW, W or NW
windFrom:

# The default wind constraint "to" value. If set, "windFrom" must also be set.
# Leave empty to have no default constraint on wind direction. One of N, NE, E,
# SE, S, SW, W or NW
windTo:

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit