Minecraft Skripts
Find powerful Minecraft Skripts to enhance your server.
Custom Welcome Message
A customizable welcome message for new players joining your server.
Teleport Command
A custom teleport command with cooldown and permissions.
Custom Items
Create custom items with special abilities and effects.
×
Custom Welcome Message
# Custom Welcome Message Skript
# This skript displays a custom welcome message to players when they join the server
# It includes first-time join detection and returning player messages
options:
# Prefix for all messages
prefix: &8[&6Server&8] &r
# First join message (use %player% for the player's name)
first_join_message: &aWelcome to the server, &6%player%&a! Enjoy your stay!
# Return message (use %player% for the player's name)
return_message: &aWelcome back, &6%player%&a! We missed you!
# Broadcast new player join?
broadcast_first_join: true
# First join broadcast message
first_join_broadcast: &6%player% &ahas joined for the first time! Welcome them!
# On first join
on first join:
# Send wecast is enabled, send to all players
if {@broadcast_first_join} is true:
broadcast "{@prefix}{@first_join_broadcast}"
# Give starter items if desired
give player 16 of bread
give player leather helmet
give player leather chestplate
give player leather leggings
nothing here to see
×
Teleport Command
# Custom Teleport Command Skript
# This skript adds a custom teleport command with cooldown and permissions
options:
# Prefix for all messages
prefix: &8[&bTeleport&8] &r
# Cooldown time in seconds
cooldown: 30
# Should VIP players bypass cooldown?
vip_bypass_cooldown: true
# Teleport request timeout in seconds
request_timeout: 60
# Variables to store cooldowns and teleport requests
variables:
{teleport.cooldown.%player%} = 0
{teleport.request.%player%} = ""
# Main teleport command
command /tp []:
aliases: /teleport
permission: teleport.use
permission message: &cYou don't have permission to use this command!
usage: &cUsage: /tp
trigger:
# Check if player is specified
if arg 1 is not set:
send "{@prefix}&cYou must specify a player to teleport to!"
stop
# Check if player is trying to teleport to themselves
if arg 1 is player:
send "{@prefix}&cYou cannot teleport to yourself!"
stop
# Check if target player is online
if arg 1 is not online:
send "{@prefix}&cThat player is not online!"
stop
# Check cooldown (unless player has bypass permission)
if player doesn't have permission "teleport.bypass.cooldown":
if {@vip_bypass_cooldown} is true:
if player doesn't have permission "teleport.vip":
if {teleport.cooldown.%player%} > 0:
send "{@prefix}&cYou must wait %{teleport.cooldown.%player%}% seconds before teleporting again!"
stop
else:
if {teleport.cooldown.%player%} > 0:
send "{@prefix}&cYou must wait %{teleport.cooldown.%player%}% seconds before teleporting again!"
stop
# Set cooldown
set {teleport.cooldown.%player%} to {@cooldown}
# Start cooldown countdown
while {teleport.cooldown.%player%} > 0:
wait 1 second
subtract 1 from {teleport.cooldown.%player%}
# Teleport the player
teleport player to arg 1
send "{@prefix}&aTeleported to &e%arg 1%&a!"
send "{@prefix}&e%player% &ateleported to you!" to arg 1
# Teleport request command
command /tpa []:
aliases: /tpask
permission: teleport.ask
permission message: &cYou don't have permission to use this command!
usage: &cUsage: /tpa
trigger:
# Check if player is specified
if arg 1 is not set:
send "{@prefix}&cYou must specify a player to send a teleport request to!"
stop
# Check if player is trying to teleport to themselves
if arg 1 is player:
send "{@prefix}&cYou cannot send a teleport request to yourself!"
stop
# Check if target player is online
if arg 1 is not online:
send "{@prefix}&cThat player is not online!"
stop
# Send teleport request
set {teleport.request.%arg 1%} to "%player%"
send "{@prefix}&aTeleport request sent to &e%arg 1%&a!"
send "{@prefix}&e%player% &awants to teleport to you! Type &e/tpaccept &ato accept or &e/tpdeny &ato deny." to arg 1
# Set timeout for request
wait {@request_timeout} seconds
if {teleport.request.%arg 1%} is "%player%":
set {teleport.request.%arg 1%} to ""
send "{@prefix}&cYour teleport request to &e%arg 1% &chas expired!" to player
# Accept teleport request command
command /tpaccept:
aliases: /tpyes
permission: teleport.accept
permission message: &cYou don't have permission to use this command!
trigger:
# Check if there is a pending request
if {teleport.request.%player%} is "":
send "{@prefix}&cYou don't have any pending teleport requests!"
stop
# Get the player who sent the request
set {_requester} to {teleport.request.%player%} parsed as player
# Check if requester is online
if {_requester} is not online:
send "{@prefix}&cThe player who sent the request is no longer online!"
set {teleport.request.%player%} to ""
stop
# Accept the request
teleport {_requester} to player
send "{@prefix}&aYou accepted &e%{_requester}%&a's teleport request!"
send "{@prefix}&e%player% &aaccepted your teleport request!" to {_requester}
set {teleport.request.%player%} to ""
# Deny teleport request command
command /tpdeny:
aliases: /tpno
permission: teleport.deny
permission message: &cYou don't have permission to use this command!
trigger:
# Check if there is a pending request
if {teleport.request.%player%} is "":
send "{@prefix}&cYou don't have any pending teleport requests!"
stop
# Get the player who sent the request
set {_requester} to {teleport.request.%player%} parsed as player
# Deny the request
if {_requester} is online:
send "{@prefix}&e%player% &cdenied your teleport request!" to {_requester}
send "{@prefix}&aYou denied the teleport request!"
set {teleport.request.%player%} to ""
×
Custom Items
# Custom Items Skript
# This skript allows you to create and use custom items with special abilities
options:
# Prefix for all messages
prefix: &8[&dItems&8] &r
# Command to get custom items
command /customitem [] []:
aliases: /citem
permission: customitems.give
permission message: &cYou don't have permission to use this command!
usage: &cUsage: /customitem - [player]
trigger:
# Check if item type is specified
if arg 1 is not set:
send "{@prefix}&cYou must specify an item type!"
send "{@prefix}&aAvailable items: &efiresword, jumpboots, healwand, miningpickaxe, teleportbow"
stop
# Check if player is specified, default to command sender
set {_target} to player
if arg 2 is set:
if player has permission "customitems.give.others":
set {_target} to arg 2
else:
send "{@prefix}&cYou don't have permission to give items to other players!"
stop
# Give the specified custom item
if arg 1 is "firesword":
give fire sword of sharpness 5 named "&6Flame Blade" with lore "&7Sets enemies on fire for 5 seconds" to {_target}
enchant {_target}'s tool with fire aspect 2
send "{@prefix}&aYou received a &6Flame Blade&a!" to {_target}
if {_target} is not player:
send "{@prefix}&aYou gave a &6Flame Blade &ato &e%{_target}%&a!"
else if arg 1 is "jumpboots":
give leather boots named "&bBoots of Leaping" with lore "&7Grants a jump boost when worn" to {_target}
enchant {_target}'s tool with feather falling 4
send "{@prefix}&aYou received &bBoots of Leaping&a!" to {_target}
if {_target} is not player:
send "{@prefix}&aYou gave &bBoots of Leaping &ato &e%{_target}%&a!"
else if arg 1 is "healwand":
give blaze rod named "&cHealing Wand" with lore "&7Right-click to heal yourself|&7Left-click to heal others" to {_target}
enchant {_target}'s tool with unbreaking 3
send "{@prefix}&aYou received a &cHealing Wand&a!" to {_target}
if {_target} is not player:
send "{@prefix}&aYou gave a &cHealing Wand &ato &e%{_target}%&a!"
else if arg 1 is "miningpickaxe":
give diamond pickaxe of efficiency 5 named "&eExcavator" with lore "&7Breaks a 3x3 area of blocks" to {_target}
enchant {_target}'s tool with fortune 3
send "{@prefix}&aYou received an &eExcavator&a!" to {_target}
if {_target} is not player:
send "{@prefix}&aYou gave an &eExcavator &ato &e%{_target}%&a!"
else if arg 1 is "teleportbow":
give bow named "&5Teleport Bow" with lore "&7Teleports you to where your arrow lands" to {_target}
enchant {_target}'s tool with infinity 1
give 1 arrow to {_target}
send "{@prefix}&aYou received a &5Teleport Bow&a!" to {_target}
if {_target} is not player:
send "{@prefix}&aYou gave a &5Teleport Bow &ato &e%{_target}%&a!"
else:
send "{@prefix}&cUnknown item type: &e%arg 1%"
send "{@prefix}&aAvailable items: &efiresword, jumpboots, healwand, miningpickaxe, teleportbow"
# Fire Sword Effect
on damage:
if attacker's tool's name is "&6Flame Blade":
ignite victim for 5 seconds
play sound "entity.blaze.shoot" with volume 0.5 at victim
# Jump Boots Effect
every 1 second:
loop all players:
if name of loop-player's boots is "&bBoots of Leaping":
apply jump boost 2 to loop-player for 2 seconds
# Healing Wand Effects
on right click:
if player's tool's name is "&cHealing Wand":
# Heal self
heal player by 4 hearts
play sound "entity.player.levelup" with volume 0.5 at player
spawn 5 heart particles at player
wait 2 ticks
spawn 5 heart particles at player
on left click on entity:
if player's tool's name is "&cHealing Wand":
if entity is a player:
# Heal other player
heal entity by 4 hearts
play sound "entity.player.levelup" with volume 0.5 at entity
spawn 5 heart particles at entity
wait 2 ticks
spawn 5 heart particles at entity
send "{@prefix}&aYou healed &e%entity%&a!"
send "{@prefix}&aYou were healed by &e%player%&a!" to entity
# Mining Pickaxe Effect
on break:
if player's tool's name is "&eExcavator":
if event-block is stone, coal ore, iron ore, gold ore, diamond ore, redstone ore, lapis ore, or emerald ore:
# Cancel to prevent double drops
cancel event
# Break blocks in a 3x3 area
loop blocks in radius 1 around event-block:
if loop-block is stone, coal ore, iron ore, gold ore, diamond ore, redstone ore, lapis ore, or emerald ore:
break loop-block naturally using player's tool
# Teleport Bow Effect
on projectile hit:
if projectile is an arrow:
if shooter is a player:
if name of shooter's tool is "&5Teleport Bow":
wait 1 tick
teleport shooter to projectile
play sound "entity.enderman.teleport" with volume 0.5 at shooter
delete projectile