CrazyCrates Addon.

Status
This thread has been locked.

BrettPlays

YouTuber & MC Creator BrettPlayMC on Spigot
Premium
Feedback score
21
Posts
1,769
Reactions
768
Resources
4
Wondering how much an addon to CrazyCrates would cost that does the following:
PlaceHolderAPI placeholder that shows the rewards in the crate that I can put in places such as a hologram or bossbar.
PlaceHolder example:
Code:
crates_rewards_{crate}
DM me prices or put them below.

COMPLETED! https://www.spigotmc.org/resources/new-crazycrates-hologram-addon.69989/
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

TeAm6_AZLIK

Owner
Supreme
Feedback score
5
Posts
82
Reactions
17
Resources
2
Code:
import:
  me.badbones69.crazycrates.api.CrazyCrates

on skript load:
  set {_instance} to CrazyCrates.getInstance()
  set {_crate} to {_instance}.getCrateFromName("Crazy")
  set {_items} to {_crate}.loadPreview()
  loop ...{_items}:
    add 1 to {_n}
    set {skyblur::crate::crazy::items::%{_n}%} to loop-value
 
  create hologram at location(477, 94, 496, world("Spawn")) and store in {skyblur::holo::crate::crazy}
 
 
every 1 second:
  add 1 to {n}
  set {_item} to {skyblur::crate::crazy::items::%{n}%}
  if {n} = size of {skyblur::crate::crazy::items::*}:
    delete {n}
  set line 1 of {skyblur::holo::crate::crazy} to name of {_item}
  set line 2 of {skyblur::holo::crate::crazy} to {_item}

Coded it in skript, maybe it helps you!

Addons:
Skript-Mirror
skript-holo​
 
Last edited:

BrettPlays

YouTuber & MC Creator BrettPlayMC on Spigot
Premium
Feedback score
21
Posts
1,769
Reactions
768
Resources
4
Code:
import:
  me.badbones69.crazycrates.api.CrazyCrates

on skript load:
  set {_instance} to CrazyCrates.getInstance()
  set {_crate} to {_instance}.getCrateFromName("Crazy")
  set {_items} to {_crate}.loadPreview()
  loop ...{_items}:
    add 1 to {_n}
    set {skyblur::crate::crazy::items::%{_n}%} to loop-value
 
  create hologram at location(477, 94, 496, world("Spawn")) and store in {skyblur::holo::crate::crazy}
 
 
every 1 second:
  add 1 to {n}
  set {_item} to {skyblur::crate::crazy::items::%{n}%}
  if {n} = size of {skyblur::crate::crazy::items::*}:
    delete {n}
  set line 1 of {skyblur::holo::crate::crazy} to name of {_item}
  set line 2 of {skyblur::holo::crate::crazy} to {_item}

Coded it in skript, maybe it helps you!

Addons:
Skript-Mirror
skript-holo​
Thanks but I already got it made, forgot to mark this thread as complete. :)
https://www.spigotmc.org/resources/new-crazycrates-hologram-addon.69989/
 
Status
This thread has been locked.
Top