This plugin adds sky lanterns to your server! Craft a Sky Lantern and let it free to float high up into the sky!
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:
The sky lantern plugin requires my core library plugin to work and is built with Java 17!
There are now also two more types of sky lanterns, crafted instead with a soul torch and a redstone torch.
The Soul Sky Lantern Don't just release a regular Sky Lantern when you could also be releasing a Soul!
The Target Sky Lantern The most requested feature of Sky Lanterns was to shoot them down with arrows!!! Now you sadistic people can have your fun... but only with this new type of Sky Lantern
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
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.