drop party enchant fail

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

lordgamadon

New Member
Apr 4, 2020
8
0
1
23
so in the bottom, you can see what I drop and this is a beacon drop/drop party script
but I cant enchant the drops :emoji_frowning:

command /dpsstart:
permission: beacon.drop
permission message: Unknown command. Type "/help" for help.
trigger:
set {dp::start} to true
send "Beacon drop starts"
wait 3 seconds
broadcast "{@BD} &4&l%player% &estarted a beacon drop!"
wait 1 second
broadcast "{@BD} &c20 &eseconds until beacon drop starts!"
wait 10 seconds
broadcast "{@BD} &c10 &eseconds until beacon drop starts!"
wait 5 seconds
broadcast "{@BD} &c5 &eseconds until beacon drop starts!"
wait 2 seconds
broadcast "{@BD} &c2 &esekunder til beacon drop starter!"
wait 1 seconds
broadcast "{@BD} &c1 &esecond until beacon drop starts!"
wait 1 seconds
broadcast "{@BD} &6&lBEACON DROPPET STARTER NU!"
drop 64 arrows named "&4&lDP" at {dp::sted}
drop 1 diamond helmet named "&4&lDP" at {dp::sted}
drop 1 bow at of infinite 1 named "&4&lDP" {dp::sted}
drop 276:0 1 damage_all:3 at {dp::sted}
drop 310:0 1 protection_environmental:3 at {dp::sted}
drop 311:0 1 protection_environmental:3 at {dp::sted}
drop 312:0 1 protection_environmental:3 at {dp::sted}
drop 313:0 1 protection_environmental:3 at {dp::sted}
send "dp slut"


command /dpsett:
permission: dp.set
permission message: Unknown command. Type "/help" for help.
trigger:
set {dp::sted} to location at player
send "&7 You set the location ."
 
1.Numeric id's are not supported in newer version
2.Permission, and permission message are causing 20+errors
3.Do not use {} because skript reads this as variable and causes error to due not setted variable
4. "/help" " inside " " will cause errors ( "Unknown command. Type "/help" for help." will cause errors)
5.Set threat to solved if it helped you
Code:
command /dpsstart:
    trigger:
        if player has permission "beacon.drop":
            set {dp::start} to true
            send "Beacon drop starts"
            wait 3 seconds
            broadcast "@BD &4&l%player% &estarted a beacon drop!"
            wait 1 second
            broadcast "@BD &c20 &eseconds until beacon drop starts!"
            wait 10 seconds
            broadcast "@BD &c10 &eseconds until beacon drop starts!"
            wait 5 seconds
            broadcast "@BD &c5 &eseconds until beacon drop starts!"
            wait 2 seconds
            broadcast "@BD &c2 &esekunder til beacon drop starter!"
            wait 1 seconds
            broadcast "@BD &c1 &esecond until beacon drop starts!"
            wait 1 seconds
            broadcast "@BD &6&lBEACON DROPPET STARTER NU!"
            drop 64 arrows named "&4&lDP" at {dp::sted}
            drop 1 diamond helmet named "&4&lDP" at {dp::sted}
            drop 1 bow of infinity 1 named "&4&lDP" at {dp::sted}
            drop 1 diamond sword of sharpness 3 at {dp::sted}
            drop 1 diamond helmet of protection 3 at {dp::sted}
            drop 1 diamond chestplate of protection 3 at {dp::sted}
            drop 1 diamond leggings of protection 3 at {dp::sted}
            drop 1 diamond boots of protection 3 at {dp::sted}
            send "dp slut"
        else:
            send "Unknown command. Type /help for help."

command /dpsett:
    trigger:
        if player has permission "dp.set":
            set {dp::sted} to location at player
            send "&7 You set the location ."
        else:
            send "Unknown command. Type /help for help."
 
Status
Not open for further replies.