Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /bladesmp [<text>] [<player>]:
- permission: op
- permission message: &r&fUnkown command. Type "/help" for help.
- trigger:
- if arg-1 is not set:
- send "BladeSMP Commands" to player
- send " • /bladesmp help - Shows this text" to player
- send " • /bladesmp reload – Be carful with this! This reloads all the blades, and anyone that joins without a blade could get a copy!" to player
- send " • /bladesmp give – Gives their blade to a player" to player
- if arg-1 = "help":
- send "BladeSMP Commands" to player
- send " • /bladesmp help - Shows this text" to player
- send " • /bladesmp give – Gives their blade to a player" to player
- send " • /bladesmp reload – Be carful with this! This reloads all the blades, and anyone that joins without a blade could get a copy!"
- if arg-1 = "reload":
- send "Type /blade confirm to confirm this reload. If you do this, all blades will be reloaded and anyone who joins without a blade could get a copy! This will expire in 10 seconds."
- set {confirm.%player%} to true
- wait 10 seconds
- set {confirm.%player%} to false
- if arg-1 = "confirm":
- send "All blades have been reset!" to player
- set {confirm.%player%} to false
- if arg-1 = "give":
- give arg-2 1 of {blade.%arg-2%}
- # Strength Blade
- set {blades::strengthblade} to unbreakable netherite sword named "&4ꜱᴛʀᴇɴɢᴛʜ &7ʙʟᴀᴅᴇ"
- enchant {blades::strengthblade} with curse of vanishing
- enchant {blades::strengthblade} with sharpness 5
- enchant {blades::strengthblade} with fire aspect 1
- # Life Blade
- set {blades::lifeblade} to unbreakable netherite sword named "&dʟɪꜰᴇ &7ʙʟᴀᴅᴇ"
- enchant {blades::lifeblade} with curse of vanishing
- enchant {blades::lifeblade} with sharpness 4
- # Speed Blade
- set {blades::speedblade} to unbreakable netherite sword named "&eꜱᴘᴇᴇᴅ &7ʙʟᴀᴅᴇ"
- enchant {blades::speedblade} with curse of vanishing
- enchant {blades::speedblade} with sharpness 4
- enchant {blades::speedblade} with fire aspect 1
- enchant {blades::speedblade} with efficiency 5
- # Air Blade
- set {blades::airblade} to unbreakable netherite sword named "&7ᴀɪʀ ʙʟᴀᴅᴇ"
- enchant {blades::airblade} with curse of vanishing
- enchant {blades::airblade} with sharpness 4
- enchant {blades::airblade} with feather falling 1
- # Wealth Blade
- set {blades::wealthblade} to unbreakable netherite sword named "&aᴡᴇᴀʟᴛʜ &7ʙʟᴀᴅᴇ"
- enchant {blades::wealthblade} with curse of vanishing
- enchant {blades::wealthblade} with looting 3
- enchant {blades::wealthblade} with sharpness 5
- enchant {blades::wealthblade} with fire aspect 1
- # Explosive Blade
- set {blades::explosiveblade} to unbreakable netherite sword named "&cᴇxᴘʟᴏꜱɪᴠᴇ &7ʙʟᴀᴅᴇ"
- enchant {blades::explosiveblade} with curse of vanishing
- enchant {blades::explosiveblade} with sharpness 4
- enchant {blades::explosiveblade} with fire aspect 2
- # Fire Blade
- set {blades::fireblade} to unbreakable netherite sword named "&6ꜰɪʀᴇ &7ʙʟᴀᴅᴇ"
- enchant {blades::fireblade} with curse of vanishing
- enchant {blades::fireblade} with sharpness 4
- enchant {blades::fireblade} with fire aspect 5
- # Ice Blade
- set {blades::iceblade} to unbreakable netherite sword named "&bɪᴄᴇ &7ʙʟᴀᴅᴇ"
- enchant {blades::iceblade} with curse of vanishing
- enchant {blades::iceblade} with sharpness 4
- enchant {blades::iceblade} with respiration 3
- # Ender Blade
- set {blades::enderblade} to unbreakable netherite sword named "&5ᴇɴᴅᴇʀ &7ʙʟᴀᴅᴇ"
- enchant {blades::enderblade} with curse of vanishing
- enchant {blades::enderblade} with sharpness 4
- # Dragon Blade
- set {blades::dragonblade} to unbreakable netherite sword named "&8ᴅʀᴀɢᴏɴ &7ʙʟᴀᴅᴇ"
- enchant {blades::dragonblade} with curse of vanishing
- enchant {blades::dragonblade} with sharpness 6
- enchant {blades::dragonblade} with fire aspect 3
- enchant {blades::dragonblade} with looting 3
- # Combat Tag System
- on damage:
- if attacker is a player:
- if victim is a player:
- set {enemy.%attacker's uuid%} to victim's uuid
- set {enemy.%victim's uuid%} to attacker's uuid
- wait 2 minutes
- set {enemy.%attacker's uuid%} to "~"
- set {enemy.%victim's uuid%} to "~"
- # Give new players blades
- on join:
- loop all players:
- if {blade.%player%} is not set:
- set {blade.%player%} to a random element out of {blades::*}
- remove {blade.%player%} from {blades::*}
- make console execute command "/bladesmp give %player%"
- # Give player their Blade when they respawn
- on respawn:
- make console execute command "/bladesmp give %victim%"
Advertisement
Add Comment
Please, Sign In to add comment