HomeJavaModsLaunchpads [Skript]
Launchpads [Skript]
This is a Skript that lets you launch you or others however far or whenever you want or set a pressure plate to launch them when they step over it

=================================================================

Commands:

=================================================================

Features:

=================================================================

Requirements:

=================================================================

Code (Text):

#Note: Change the pressure plate list ({pressurePlates::*}) to your version's pressure plates
options:

    #Message options#

    #Prefix for all messages
    msgPrefix: &b&lLaunchpads &r>

    #Message Type
    #Options: message, actionbar or title
    msgType: message

    #Prefix is included before all messages

    #Message for successfully creating a launchpad
    #%{_t}% is the launchpad id
    msgCreateS: &aCreated launchpad with id %{_t}%

    #Message for invalid pressure plate type
    msgInvalidPressurePlate: &cUnknown pressure plate type

    #Message for successfully deleting a launchpad
    #%arg-2% is the launchpad id
    msgDeleteS: &aDeleted launchpad with id %arg-2%

    #Message for invalid launchpad id
    msgInvalidId: &cUnknown launchpad id

    #Message for invalid command
    msgInvalidCmd: &cUnknown command

    #Message for successful launch command
    #%arg-1% is target player
    msgLaunchS: &aLaunched %arg-1%

    #Message for invalid launch command
    msgLaunchF: &c/launch <player> <velocity> [y velocity]

    #Message for successfully teleporting to a launchpad
    #%{_t}% is the launchpad id
    msgTpLaunchpadS: &aTeleported to launchpad %{_t}%

    #Message for successfully changing a velocity
    #%{_t}% is the launchpad id
    msgVelocityChangeS: &aChanged launchpad %{_t}%'s velocity

    #Message for invalid velocity
    msgInvalidVelocity: &cInvalid velocity

    #Message for successfully toggling launchpad
    #%{_t}% is the launchpad id
    msgToggleS: &aToggled launchpad %{_t}%

    #Message for when debugging
    msgDebug: &aAll launchpads have been debugged

    #Message for invalid direction
    msgInvalidDirection: &cUnknown direction

    #Message for successfully changing direction
    #%{_a}% is direction
    msgDirectionS: &aChanged direction to %{_a}%

    #Message for reloading this Skript
    msgReload: &aReloading this script...

    #Message for changing pressure plate
    msgChangeType: &aChanged the pressure plate

    #Message for toggling a permission
    msgTogglePermission: &aToggled permission

    #Message for reseting
    msgReset: &aReseting launchpads...


#Default Lists and Fixes
on load:
    #Change to all pressure plates on your version
    #All the pressure plates that can be set and seen in tab completions
    set {pressurePlates::*} to "oak", "spruce", "birch", "jungle", "acacia", "dark_oak", "mangrove", "cherry", "pale_oak", "bamboo", "crimson", "warped", "stone", "polished_blackstone", "heavy_weighted" and "light_weighted"


    #Do not change unless you know what you are doing
    #Base of velocity per direction
    set {velocity::*} to "0 1", "-1 1", "-1 0", "-1 -1", "0 -1", "1 -1", "1 0" and "1 1"

    #Do not change unless you know what you are doing
    #Direction options
    set {directions::*} to "north", "northeast", "east", "southeast", "south", "southwest", "west", "northwest" and "fixed"

    #Do not change unless you know what you are doing
    #Direction velocity
    set {dVelocity::*} to "0 -1", "1 -1", "1 0", "1 1", "0 1", "-1 1", "-1 0" and "-1 -1"

    #Do not change unless you what you are doing
    #Set all launchpads on load if they aren't already
    loop {launchpad.block::*}:
        lDebug(loop-index parsed as number)

#End of customization


 
=================================================================

How to Install:

=================================================================


=================================================================

There are more things that might be added to this Skript make sure to message me through spigot if you see any issues or have any suggestions. 5 Star reviews are appreciated. :)
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.

Launchpads [Skript] is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 123 times (via Spigot). Download it and open it directly in the game.

Explore more