Sueta

CollidableRewards

1.0

Collide with the loot & earn prizes!

·Plugin

NOTE: THIS PLUGIN MAY SUPPORT LATER VERSION AS I DIDN'T USE NMS(net.minecraft.server) IN THE PLUGIN' CODE, BUT I ALSO DIDN'T TEST OTHER VERSIONS.
USE AT YOUR OWN RISK, IF YOU WISH ANY OTHER VERSIONS TO BE OFFICIALLY SUPPORTED, SHOOT A REVIEW DESCRIBING YOUR NEEDS.

upload_2022-3-26_19-13-46.png

/loots =>

upload_2022-3-27_12-15-16.png
upload_2022-3-27_12-15-21.png

collect loot by colliding into it just like mario!, you can see an example of how the plugin works in premium.blocksmc.com & join the SkyPvP gamemode, it won't be the exact same plugin, but it's very similar.

config:

CONFG
# List of materials that can be used: https://helpch.at/docs/1.8.8/org/bukkit/Material.html
# List of sounds that can be used: https://helpch.at/docs/1.8.8/org/bukkit/Sound.html
# List of particles that can be used: https://helpch.at/docs/1.8.8/org/bukkit/Effect.html
#
# To make the block a skull: put the name of the targetted player in the TYPE parameter
# And if you want to put an IGN for example: wool & there is already an item called WOOL
# Make sure to put it NOT in capitals because 'WOOL' isn't like 'wool'
# Also works with item ID, for example 1 is stone
# You can find a whole list here: https://www.digminecraft.com/lists/item_id_list_pc_1_8.php

LOOTS:
  someRewardName:
    LOCATION: 'world:-812:64:356'
    SOUND:
      ENABLED: true
      TYPE: BURP
      VOLUME: 1
      PITCH: 1
    PARTICLE:
      ENABLED: true
      TYPE: CLOUD
    BLOCK:
      TYPE: WOOL
      GLOWING: true # doesn't work with skulls.
      SURROUND-WITH-GLASS: true
    NAME: '&aCommon loot'
    ROTATING:
      ENABLED: true
      X: 0
      Y: 0.1
      Z: 0
    GIVE-ONLY-ONE-RANDOM-REWARD: false
    REWARDS:
      - 'GRASS:10'
      - 'BED:1'
    RESPAWN:
      ENABLED: true
      DELAY: 10 # in seconds
  someOtherReward:
    LOCATION: 'world:-811:64:355'
    SOUND:
      ENABLED: true
      TYPE: CLICK
      VOLUME: 1
      PITCH: 0.1
    PARTICLE:
      ENABLED: false
      TYPE: CLOUD
    BLOCK:
      TYPE: hypixel
      GLOWING: true # doesn't work with skulls.
      SURROUND-WITH-GLASS: true
    NAME: '&3Uncommon loot'
    ROTATING:
      ENABLED: true
      X: 0
      Y: 0.1
      Z: 0
    GIVE-ONLY-ONE-RANDOM-REWARD: true
    REWARDS:
      - 'GRASS:10'
      - 'BED:1'
    RESPAWN:
      ENABLED: true
      DELAY: 10 # in seconds
  whateverName:
    LOCATION: 'world:-810:64:354'
    SOUND:
      ENABLED: false
      TYPE: BURP
      VOLUME: 1
      PITCH: 1
    PARTICLE:
      ENABLED: true
      TYPE: HEART
    BLOCK:
      TYPE: Invisibilities
      GLOWING: true # doesn't work with skulls.
      SURROUND-WITH-GLASS: true
    NAME: '&6Gucci loot'
    ROTATING:
      ENABLED: true
      X: 0
      Y: 0.1
      Z: 0
    GIVE-ONLY-ONE-RANDOM-REWARD: false
    REWARDS:
      - 'GRASS:10'
      - 'BED:1'
    RESPAWN:
      ENABLED: true
      DELAY: 10 # in seconds
  someOtherName:
    LOCATION: 'world:-809:64:353'
    SOUND:
      ENABLED: false
      TYPE: BURP
      VOLUME: 1
      PITCH: 1
    PARTICLE:
      ENABLED: true
      TYPE: HEART
    BLOCK:
      TYPE: 1
      GLOWING: true # doesn't work with skulls.
      SURROUND-WITH-GLASS: true
    NAME: '&5Amazing loot'
    ROTATING:
      ENABLED: true
      X: 0
      Y: 0.1
      Z: 0
    GIVE-ONLY-ONE-RANDOM-REWARD: true
    REWARDS:
      - 'GRASS:10'
      - 'BED:1'
    RESPAWN:
      ENABLED: true
      DELAY: 10 # in seconds
  #...

Similar projects

Plugin →