Premium [40% BLACK FRIDAY SALE] MYSTERYBOXES ⇒ BEST REWARDS PLUGIN ⇒ 1.8/1.9/1.10/1.11 SUPPORT [40%...

Discussion in 'Resource Discussion' started by xeRicker, Sep 17, 2015.

  1. Have two boxes with two different buying money
     
  2. Hi, I have a problem, I'm trying to set mysterybox. But I can not figure out how to set up the config. I tried to set it as follows:https://pastebin.com/fYfWJGwa
    So be it:https://pastebin.com/qVgUAPuv
    And it will not work, if I try to load these files the plugin will erase all the config. How is mystery set? Can someone send me an example?
    I also wanted to ask: only with this command (mb set player mystery name amount) can I give mystery?
    Thanks so much.
    Sorry for my English
     
  3. Hello, i have a error,

    I have use spigot 1.11.2 and when i open the mysterybox send message: "Mystery Boxes are disabled!"
    But this one opens and gives me the reward, I wanted to know how to remove that message, since it is not in the Language.yml
     
  4. Can you add placeholder mystery dust?
     
  5. I did a few updates ago! Check the update log
     
  6. Pls, add in the plugin info!!! I don't know the name of placeholder!

    Thanks! :)
     
  7. Because the new animation requires a vault
     
  8. I don't want the new animation then. The other drop down animations are way better anyways. You should work on those instead. Looks like I'm going to be using v3.0.7 for a while.
    You should probably do polls and let customers choose instead of forcing bad updates to everyone...
     
  9. There's currently a bug when opening a box with fireworks players can take damage from the firework.

    Code (Text):
    [20:48:29 WARN]: [MysteryBoxes] Task #17644 for MysteryBoxes v3.0.9 generated an exception
    java.lang.NoClassDefFoundError: de/slikey/effectlib/effect/LineEffect
        at me.xericker.mysteryboxes.mb.MysteryBoxAnimations$1.run(MysteryBoxAnimations.java:98) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.12.1.jar:git-Spigot-65e8124-357b573]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot-1.12.1.jar:git-Spigot-65e8124-357b573]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.12.1.jar:git-Spigot-65e8124-357b573]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.1.jar:git-Spigot-65e8124-357b573]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.1.jar:git-Spigot-65e8124-357b573]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.1.jar:git-Spigot-65e8124-357b573]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
     
     
    #1193 Sonic5317, Aug 28, 2017
    Last edited: Aug 28, 2017
  10. Problem when I confirm to open a chest!
    Code (Text):
    [19:04:50 ERROR]: Could not pass event InventoryClickEvent to MysteryBoxes v3.0.9
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1657) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131]
            at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
    Caused by: java.lang.NullPointerException
            at org.bukkit.ChatColor.translateAlternateColorCodes(ChatColor.java:324) ~[craftbukkit.jar:git-PaperSpigot-"8b18730"]
            at me.xericker.mysteryboxes.mb.MysteryBoxes.openMysteryBox(MysteryBoxes.java:66) ~[?:?]
            at me.xericker.mysteryboxes.menus.menus.ConfirmationMenu.onInventoryClick(ConfirmationMenu.java:102) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[craftbukkit.jar:git-PaperSpigot-"8b18730"]
            ... 16 more
     
     
  11. Hi?
     
  12. Try deleting language file.
     
  13. Hello, i have a problem to configure a new Mystery Box, that's the code :
    Code (Text):
      slimebox:
        item-name: '&6Slimebox legendaire'
        item-lore:
        - '&7Cette SlimeBox Legendaire contient :'
        - ''
        - '&aElectromagnet (Commun)'
        - '&aElectric Motor (Commun)'
        - '&9Cargo Motor (Rare)'
        - '&9Heating Coil (Rare)'
        - '&5Necrotic Skull (Epique)'
        - '&5Advanced Circuit Board (Epique)'
        - '&64x Wither-Proof Glass (Legendaire)'
        - ''
        - '&eClique pour l''ouvrir !'
        item-type: ENDER_CHEST
        item-amount: 1
        item-data: 0
        falling-mystery-box-type-line: '&bSlimeBox &6Legendaire'
        falling-mystery-box-loot-line: '&rGain : {LOOT_NAME}'
        falling-mystery-box-type: ENDER_CHEST
        falling2-mystery-box-type: DIAMOND_BLOCK
        falling-mystery-box-data: 0
        falling2-mystery-box-data: 0
        falling-mystery-box-head-name: xeRicker
        falling2-mystery-box-head-name: Eselyx
        permission-message: '&b[MysteryBoxes]: &cYou don''t have permission!'
        can-be-transferred: true
        crafting:
          craftable: false
          mystery-dust-cost: 100
          permission: mysteryboxes.craft.four-star
          permission-message: '&b[MysteryBoxes]: &cYou don''t have permission!'
        effects:
          lightning:
            enabled: false
          particle-wave:
            enabled: false
            particle-type: FIREWORKS_SPARK
            particle-speed: 0
            points-amount: 20
          item-pooper:
            enabled: true
            item-type: SLIME_BALL
            item-data: 0
        particles:
          mystery-vault:
            '1': FIREWORKS_SPARK;0;0;0;0;1
            '2': REDSTONE;0;0;0;10;1
          mystery-box:
            '1': FIREWORKS_SPARK;0;0;0;0;1
            '2': REDSTONE;0;0;0;10;1
          charge:
            '1': ENCHANTMENT_TABLE;0;0;0;1;60
          explosion:
            '1': LAVA;0;0;0;1;15
            '2': SMOKE_NORMAL;0;0;0;1;40
            '3': FLAME;0;0;0;1;40
          end:
            '1': EXPLOSION_NORMAL;1;0.5;1;0;1
            '2': CRIT_MAGIC;0.3;0.3;0.3;0;1
        loots:
          '50':
            1:
              loot-name: '&cun Electric Motor &a(Commun)'
              one-time-loot: false
              broadcast-to-player: true
              broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              already-had-broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              messages:
              - '&b[SlimeBox]: &rVous avez trouve {LOOT_NAME}&r!'
              already-had-messages:
              - '&b[SlimeBox]: &rYou found {LOOT_NAME}&r! Since you already had this loot
                before, you receive &d10 Mystery Dust&r!'
              commands:
              - sf give {PLAYER} electric_motor 1
              already-had-commands:
              - mysteryboxes addmysterydust {PLAYER} 10
            2:
              loot-name: '&cun Electro Magnet &a(Commun)'
              one-time-loot: false
              broadcast-to-player: true
              broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              already-had-broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              messages:
              - '&b[SlimeBox]: &rVous avez trouve {LOOT_NAME}&r!'
              already-had-messages:
              - '&b[SlimeBox]: &rYou found {LOOT_NAME}&r! Since you already had this loot
                before, you receive &d10 Mystery Dust&r!'
              commands:
              - sf give {PLAYER} electro_magnet 1
              already-had-commands:
              - mysteryboxes addmysterydust {PLAYER} 10
          '30':
            3:
              loot-name: '&bun Cargo Motor &9(Rare)'
              one-time-loot: false
              broadcast-to-player: true
              broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              already-had-broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              messages:
              - '&b[SlimeBox]: &rVous avez trouve {LOOT_NAME}&r!'
              already-had-messages:
              - '&b[SlimeBox]: &rYou found {LOOT_NAME}&r! Since you already had this loot
                before, you receive &d10 Mystery Dust&r!'
              commands:
              - sf give {PLAYER} cargo_motor 1
              already-had-commands:
              - mysteryboxes addmysterydust {PLAYER} 10
            4:
              loot-name: '&cun Heating Coil &9(Rare)'
              one-time-loot: false
              broadcast-to-player: true
              broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              already-had-broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              messages:
              - '&b[SlimeBox]: &rVous avez trouve {LOOT_NAME}&r!'
              already-had-messages:
              - '&b[SlimeBox]: &rYou found {LOOT_NAME}&r! Since you already had this loot
                before, you receive &d10 Mystery Dust&r!'
              commands:
              - sf give {PLAYER} heating_coil 1
          '15':
            5:
              loot-name: '&cun Necrotic Skull &5(Epique)'
              one-time-loot: false
              broadcast-to-player: true
              broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              already-had-broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              messages:
              - '&b[SlimeBox]: &rVous avez trouve {LOOT_NAME}&r!'
              already-had-messages:
              - '&b[SlimeBox]: &rYou found {LOOT_NAME}&r! Since you already had this loot
                before, you receive &d10 Mystery Dust&r!'
              commands:
              - sf give {PLAYER} necrotic_skull 1
              already-had-commands:
              - mysteryboxes addmysterydust {PLAYER} 10
            6:
              loot-name: '&bun Advanced Circuit Board &5(Epique)'
              one-time-loot: false
              broadcast-to-player: true
              broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              already-had-broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              messages:
              - '&b[SlimeBox]: &rVous avez trouve {LOOT_NAME}&r!'
              already-had-messages:
              - '&b[SlimeBox]: &rYou found {LOOT_NAME}&r! Since you already had this loot
                before, you receive &d10 Mystery Dust&r!'
              commands:
              - sf give {PLAYER} advanced_circuit_board 1
              already-had-commands:
              - mysteryboxes addmysterydust {PLAYER} 10
          '5':
            7:
              loot-name: '&54 Wither-Proof Glass &6(Legendaire)'
              one-time-loot: false
              broadcast-to-player: true
              broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              already-had-broadcasts:
              - '&b[SlimeBox]: &a{PLAYER} &ra trouve {LOOT_NAME}&r!'
              messages:
              - '&b[SlimeBox]: &rVous avez trouve {LOOT_NAME}&r!'
              already-had-messages:
              - '&b[SlimeBox]: &rYou found {LOOT_NAME}&r! Since you already had this loot
                before, you receive &d10 Mystery Dust&r!'
              commands:
              - sf give {PLAYER} wither_proof_glass 4
              already-had-commands:
              - mysteryboxes addmysterydust {PLAYER} 10
              sounds:
                CHICKEN_EGG_POP:
                  volume: 1.0
                  pitch: 1.0
                ORB_PICKUP:
                  volume: 1.0
                  pitch: 1.0
              already-had-sounds:
                CHICKEN_EGG_POP:
                  volume: 1.0
                  pitch: 1.0
                ORB_PICKUP:
                  volume: 1.0
                  pitch: 1.0
              fireworks:
                '1':
                  type: BALL_LARGE
                  flicker: false
                  trail: false
                  colors:
                  - AQUA
                  fade-colors:
                  - WHITE
              already-had-fireworks:
                '1':
                  type: BALL_LARGE
                  flicker: false
                  trail: false
                  colors:
                  - AQUA
                  fade-colors:
                  - WHITE
    When i open the box, i don't get any rewards, please help me ! And the plugin is good so ;)
     
  14. I doing and nothing.
     
  15. I see you're using PaperSpigot. This is a Spigot plugin.
     

Share This Page