HomeJavaModsSky Lantern [1.21]
Sky Lantern [1.21]
This plugin adds sky lanterns to your server!
Craft a Sky Lantern and let it free to float high up into the sky!
[​IMG]
[​IMG]

[​IMG]
The Sky Lantern plugin adds a new craftable item to the game, the sky lantern. A sky lantern can be crafted with 5 paper and 1 torch and can be set off by placing the sky lantern or right clicking into the air.

Once a sky lantern has been set off it will continue to rise up into the sky and will be gone forever... unless you accidentally let it off indoors!!!

Make sure to use shaders for best results!

Crafting Recipe:
upload_2022-1-30_2-8-20.png

The sky lantern plugin is built with Java 21!
The sky lantern plugin is now standalone and no longer requires my core plugin to function


There are now also more types of sky lanterns, crafted instead with a soul torch, redstone torch or copper torch.

The Soul Sky Lantern
Don't just release a regular Sky Lantern when you could also be releasing a Soul! The sould lantern will slowly try to follow the player that set it free, whilst continuing to rise up in the sky.
[​IMG]
The Target Sky Lantern
The most requested feature of Sky Lanterns was to shoot them down with arrows!!! Now you can have your fun... but only with this new type of Sky Lantern. The sky lanterns are smaller than the others, providing a challenge to the player. Once hit with an arrow, the sky lantern will create a firework explosion.
[​IMG]
The Copper Sky Lantern
The copper flame heats up very quickly causing it to shoot up into the sky faster than any other sky lantern. The copper sky lantern eventually slows down to the same speed as the other sky lanterns so that it can be enjoyed for longer.
[​IMG]
[​IMG]
Spoiler: Plugin
Code (YAML):

name
: ABSkyLantern
version
: '1.4'
description
: This plugin adds sky lanterns to minecraft.
author
: oobila
api-version
: 1.16
depend
:
 - ABCore
commands
:
  sky-lantern-remove
:
    description
: Removes all instances of the Sky Lantern entity
    permission
: abskylantern.remove
    permission-message
: You do not have permission to run this command!
    usage
: /<command>
  sky-lantern-give
:
    description
: Gives the player a sky lantern. This is intended for extended functionality
    permission
: abskylantern.give
    permission-message
: You do not have permission to run this command!
    usage
: /<command>
permissions
:
  abskylantern.craft
:
    description
: Allows players to craft a sky lantern.
    default
: true
  abskylantern.use
:
    description
: Allows players to use a sky lantern.
    default
: true
  abskylantern.give
:
    description
: Allows players to use the sky lantern give command.
    default
: false
  abskylantern.remove
:
    description
: Allows players to use the sky lantern remove command.
    default
: false
  abskylantern.*
:
    description
: Allows access to all abskylantern commands.
    default
: op
    children
:
      abskylantern.craft
: true
      abskylantern.use
: true
      abskylantern.give
: true
      abskylantern.remove
: true
 
Spoiler: Config
Code (YAML):

################################
# Sky Lantern Config File
# Author: oobila
################################

sky-lantern-item-texture
: 25a991045019f8b84a017aaec56592325e2f6d0e802f6a8530c71ed852b81ba8
soul-sky-lantern-item-texture
: 4e557577cdbac377bcbdeb7503e4c174008b1242f2fd112723d0d72f67db6df1
redstone-sky-lantern-item-texture
: 46f95b830bb54f4a338170754b0648cc3fb613b5b1dd0ed7cbb602e75f98a15e
#     - The player head texture for the sky lantern item
# alternate texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmVjODFjNjk3ZDVlZDUxMzVhZDc0NzA0ZmQ4YTVkYjEwZmI5ZDI4ODVkM2IzOGM4N2Q5ZDg5MGUzM2Y1ZWQ1NyJ9fX0=

lantern-global-limit
: 1000
#     - global limit to the amount of alive sky lanterns

lantern-use-cooldown-amount
: 50
lantern-use-cooldown-time
: 60
#     - cooldown is calculated based on time and the number of lanterns used, i.e. if the amount is 20 and the time is 60, a player will only be able to use 20 lanterns within 60 seconds.

lantern-max-altitude
: 400
#     - the max altitude a sky lantern reaches before vanishing

################################
# Sky Lantern language config file
# Author: oobila
################################

sky-lantern-item-name
: Sky Lantern
soul-sky-lantern-item-name
: Soul Sky Lantern
redstone-sky-lantern-item-name
: Target Sky Lantern
#     - The display name for the sky lantern item

lantern-place-in-liquid-message
: You can not place a sky lantern here
#     - message a player receives when they try to place a sky lantern in a liquid

lantern-craft-permission-denied-message
: You are not allowed to craft a sky lantern
#     - message a player receives when they do not have permission to craft a sky lantern

lantern-use-permission-denied-message
: You are not allowed to use a sky lantern
#     - message a player receives when they do not have permission to use a sky lantern

lantern-global-limit-message
: 'There are too many active sky lanterns on this server. Limit : {0 }'
#     - message a player receives when there are too many sky lanterns globally on the server

lantern-use-cooldown-message
: You are not allowed to use more than {0 } &6sky lanterns within {1 } &6seconds
#     - message a player receives when they try to place too many lanterns within the cooldown period


 

Each sky lantern creates a temporary armorstand when it is an entity, theoretically this could cause lag/lower tick speed however in testing I have not seen an issue with this.

When the server closes/the plugin is reloaded, all instances of the sky lantern entity are removed from the world.

[​IMG]

Check out my other plugins!
ABPresent.png

Please feel free to join my Discord community for questions and support

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Sky Lantern [1.21] is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 2,809 times (via Spigot). Download it and open it directly in the game.

Explore more