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:
- /launch <player> <base velocity> [optional set y velocity]
- /launchpad create <pressure plate>
- /launchpad info <launchpad id>
- /launchpad delete <launchpad id>
- /launchpad toggle <launchpad id>: Turn on and off a launchpad
- /launchpad tp <launchpad id>: Teleport to a launchpad
- /launchpad velocity <launchpad id> <base velocity> [optional set y velocity]: Set a velocity to a certain launchpad id
- /launchpad direction <launchpad id> <direction>: Set the direction to be launched
- /launchpad toggle <launchpad id>: Turn on and off a launchpad
- /launchpad debug: Places all launchpads
=================================================================
Features:
- Configurable messages/msg types
- Configurable velocity
- Tab completions
=================================================================
Requirements:
- Skript 2.10.0+
- SkBee 3.10.0+ [For nbt and tab completions]
=================================================================
#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:
- Download the .zip file
- Unzip the file
- Put the folder into the /plugins/Skript/scripts/ folder of your server
- Make sure you have SkBee installed and restart scripts
=================================================================
=================================================================
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. :)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta