Cigarette [ABANDONED] 1.3-SNAPSHOT

Light a cigarette in Minecraft, inspired by the old outdated RealCigaret plugin.

  1. AgustinEzequiel2
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.12
    • 1.15
    Source Code:
    https://github.com/Matsuneitor/Cigarette
    Contributors:
    CryptoMorin (XSeries)
    Hi, unfortunately I can't continue making spigot plugins, since I'm learning game development which is the reason I chose to study computer science. I don't have an exact date when I can update the plugin. If any developer wants to continue the plugin, you can send me a DM and I can give you the source code of the plugin.

    This plugin has been tested only in 1.12 and 1.15, however, it should work from 1.9 to 1.15. 1.8 isn't supported, use RealCigaret for that.


    Overview:

    Not much to say, light a cigarette and chill while watching the sunset.

    Warning: as @cocoraid mentioned in the reviews section, in case the server crashes the armor stands will not disappear, something undesired. I'm working on fixing that, sorry about that. FIXED.

    Features:

    • Fully customizable.
    • Action bar messages.
    • Convert to weed.
    • What else?
    Pictures: (Feel free to send me some nice pictures :))
    2020-06-21_23.03.44-min.png
    2020-06-21_23.04.08.png

    Commands: <required> | [optional]

    • /cigarette
      • description: light / extinguish a cigarette.
      • permission: cigarette.use
      • default: op
    Files:
    Code (Text):
    #   _____ _                      _   _
    #  / ____(_)                    | | | |
    # | |     _  __ _  __ _ _ __ ___| |_| |_ ___
    # | |    | |/ _` |/ _` | '__/ _ \ __| __/ _ \
    # | |____| | (_| | (_| | | |  __/ |_| ||  __/
    #  \_____|_|\__, |\__,_|_|  \___|\__|\__\___|
    #          ____/ |
    #          |____/
    #
    # Developed by Matsuneitor.
    # v1.3-SNAPSHOT.
    # :)

    # How often do you want the smoke particles to appear? (in seconds)
    delay: 5

    # The amount of smoke particles that'll appear.
    particles: 3

    # Whether or not to convert the cigarette to weed, which will give confusion to the player.
    convert-to-weed: true

    # Whether or not to make the cigarette visible when running.
    sprinting-visible: false

    # The sound that'll play when a cigarette is lit.
    sound.lit: ITEM_FLINTANDSTEEL_USE

    # The sound that'll play when a cigarette is extinguished.
    sound.over: BLOCK_LAVA_EXTINGUISH

    # The sound that'll play along with the smoke particle.
    sound.smoke: BLOCK_FIRE_AMBIENT

    # The minimum pitch value that must be met for the cigarette to be visible.
    min-pitch: -14.0

    # The maximum pitch value that must be met for the cigarette to be visible.
    max-pitch: 19.0
    Code (Text):
    # Leave empty "" to disable. If you want to send the messages in the action bar, put in the beginning of the message '[AB]:'.
    messages.not-permission: "&cYou don't have permission to execute this command."
    messages.from-console: "&cThis command can't be executed from the console."
    messages.arguments: "[AB]:&cNo argument is required to use this command."
    messages.lit: "[AB]:&6You've lit a cigarette."
    messages.over: "[AB]:&cYour cigarette is over."

    TO-DO:

    • Add a timer.
    • Update to 1.16.
    • I'm open to suggestions. :coffee:
    Useful links:

    Icon made by Freepik from www.flaticon.com (y)


    Please, if you want to report an error or give a suggestion, do it via DM or via discussion, not in the reviews section (since I'll not be able to answer you).
    HeavenCrafter likes this.

Recent Reviews

  1. cocoraid
    cocoraid
    5/5,
    Version: 1.1-SNAPSHOT
    Hey thank you for this update ! I would like to add something for users of this plugin, it is not made with packets, this means that if the server crash the cigarettes will not despawn.
    1. AgustinEzequiel2
      Author's Response
      Thanks for the review :)

      Yes, you're right, I'll mention it in the overview, I couldn't get it to work with packets, so I decided to do it with the api, but I didn't consider the fact that they didn't get erased when the server crashed.