Patsteaks123 Posted November 19, 2021 Share Posted November 19, 2021 # CREDITS: PatSteaks IDEA: ButterflyBullets options: luckblock: sponge named "&6Lucky Block" give:&3[SERVERNAME] You have used &6/luckyblock! # Command Setup command /luckyblock [<player>]: aliases: lb trigger: if arg is set: # Sends a message to arg send "{@give}" to arg give sponge named "&6LuckyBlock" to arg #Gives the item to set arg on place of {@luckyblock}: set {placed::%event-block's location%} to arG on break of {@luckyblock}: if {placed::%event-block's location%} is arg: drop a random element of all items if arg is not set: # Sends a message to unset arg send "{@give}" to player give sponge named "&6LuckyBlock" to player #Gives the item to unset arg on place of {@luckyblock}: set {placed::%event-block's location%} to player on break of {@luckyblock}: if {placed::%event-block's location%} is player: drop a random element of all items First of all I do not know why this is working, Am I missing a plugin? Link to comment Share on other sites More sharing options...
Pryzmm Posted November 20, 2021 Share Posted November 20, 2021 21 hours ago, Patsteaks123 said: # CREDITS: PatSteaks IDEA: ButterflyBullets options: luckblock: sponge named "&6Lucky Block" give:&3[SERVERNAME] You have used &6/luckyblock! # Command Setup command /luckyblock [<player>]: aliases: lb trigger: if arg is set: # Sends a message to arg send "{@give}" to arg give sponge named "&6LuckyBlock" to arg #Gives the item to set arg on place of {@luckyblock}: set {placed::%event-block's location%} to arG on break of {@luckyblock}: if {placed::%event-block's location%} is arg: drop a random element of all items if arg is not set: # Sends a message to unset arg send "{@give}" to player give sponge named "&6LuckyBlock" to player #Gives the item to unset arg on place of {@luckyblock}: set {placed::%event-block's location%} to player on break of {@luckyblock}: if {placed::%event-block's location%} is player: drop a random element of all items First of all I do not know why this is working, Am I missing a plugin? send the error? Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now