Sueta

Ultimate Cubelets Rewards [MySQL]

[1.1]

Add an awesome efficient reward system to your server.

·Plugin

Discord Support Channel
https://discord.gg/NQJ2smX

Follow me on spigot :') [Click] it would be so cool if you followed me also to support my work doing free plugins :D

header.png

Logo & Icon by @NullBlox

Video:
YouTube

Image:
upload_2017-7-15_13-42-15.png

What're cubelets?
Cubelets are awesome rewards system can be used for lobbies/hub servers or anywhere else to reward players crazy rewards like gadgets items kits and anything you want.

Features:

  • Easy to use and setup
  • MySQL/Flat file support
  • Give players cubelets by in-game commands and console commands
  • Individual holograms and public holograms
  • Custom fireworks for each reward and world
  • Each world has different rewards
  • Custom messages file
  • Custom settings

Commands:

  • /cubelets | the Main command
  • /cubelets addcubelet | Add target block as cubelet block
  • /cubelets removecubelet | Remove target cubelet block
  • /cubelets <add,set,remove> <player> <amount> | Manage players cubelets
  • /cubelets reload | To reload config

Messages:

add-cubelet-error: '&a[Cubelets] &7You already added this block as a cubelet block!'
add-cubelet-message: '&a[Cubelets] &eYou have added this block as a cubelet block!'
remove-cubelet-error: '&a[Cubelets] &7This is not a cubelet block!'
remove-cubelet-message: '&a[Cubelets] &eYou have removed this cubelet block!'
already-in-use: '&a[Cubelets] &7This cubelet block is already in use!'
not-enough-cubelets: '&a[Cubelets] &7You dont have any cubelets to open!'
not-online: '&a[Cubelets] &7That player is not online!'
cubelets-add: '&a[Cubelets] &eAdded &a%cubelets% &ecubelets for &a%player%&e!'
cubelets-remove: '&a[Cubelets] &eRemoved &a%cubelets% &ecubelets from &a%player%&e!'
cubelets-set: '&a[Cubelets] &eSet cubelets of &a%player% &eto &a%cubelets% &ecubelets!'
you-have-cubelets-message: '&a[Cubelets] &eYou have &a%amount% &ecubelets!'
Individual-Holo-Line-1: '&aYou found %reward-name%'
Individual-Holo-Line-2: '&bRarity: %rarity%'
Public-Holo-Line-1: '&a%player% has found %reward-name%'
Public-Holo-Line-2: '&bRarity: %rarity%'
click-to-use: '&aClick to use'

Setup:

  • Before the setup, there are some basic settings you may need to change them to fit your requirements in settings.yml
world:
  max-chance: 100
  firework:
    type: BALL
    flicker: false
    trail: false
    colors:
    - YELLOW
    fade:
    - WHITE
  rewards:
    '0':
      reward-name: '&emd_5 squad icon'
      reward-chance: 25
      reward-rarity: '&6Legendary'
      item-type: Head
      head-name: md_5
      custom-head-id: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDVjNmRjMmJiZjUxYzM2Y2ZjNzcxNDU4NWE2YTU2ODNlZjJiMTRkNDdkOGZmNzE0NjU0YTg5M2Y1ZGE2MjIifX19
      reward-item-id: 1
      reward-item-damage: 0
      firework:
        type: BALL
        flicker: true
        trail: false
        colors:
        - BLUE
        fade:
        - WHITE
      commands:
      - say %player% hi

You start from number 0 and adding rewards would be 1, 2, 3, 4 etc.. make sure you format them probably or the config will reset :c reward name: means the reward name that appears in the hologram reward chance: is the reward chance reward rarity: is the rarity text that appears in the hologram item-type: there are 3 item types:-

  • item: will set the floating item as the item you set in (reward-item-id, reward-item-damage)
  • head: will set the floating item as a player head named here (head-name: md_5) for example
  • customhead: will set the floating item as a head skin that comes from the head data base (you need to get an id like this eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjNkNWU0M2RlNWQ0MTc3YzRiYWYyZjQ0MTYxNTU0NDczYTNiMGJlNTQzMDk5OGI1ZmNkODI2YWY5NDNhZmUzIn19fQ) this is a chest

Requires:

  • Holographic Displays
  • ProtocolLib


Please before doing a bad review message me your issues so I can fix them.

Similar projects

Plugin →