Sueta
RA

Random Ore | Custom loots when breaking a block

0.1

If you want a block that gives you a loot when broken, RandomOre is here!

·Plugin

RANDOM ORE

Random Ore is a plugin which allows you to set custom loots to a custom block named RandomOre represented by a gold block.


COMMANDS

  • /randomore [info] : Gives you the list of commands.
  • /randomore give [player] : Gives a randomore to you or the specified player. Permission: configurable on the config file.

CONFIG

loots:
  diamond:
    name_drop: "&3My magic &bdiamond!"
    min_quantity: 10
    max_quantity: 15
  coal:
    name_drop: "&7My magic &8coal!"
    min_quantity: 1
    max_quantity: 5
  stick:
    name_drop: "&6My magic &estick!"
    min_quantity: 1
    max_quantity: 5
  glass:
    name_drop: "&cMy magic glass!"
    min_quantity: 1
    max_quantity: 5
  emerald:
    name_drop: "&2My magic &aemerald!"
    min_quantity: 1
    max_quantity: 5


permission: 'randomore.admin'
perm_message: '&7[&cRandomOre&7] &cYou dont have permission for that.'
randomore_name: '&7[&cRandom&8-&cOre&7]'
success_give: '&7[&cRandomOre&7] &7Succesfully gave a random ore.'
success_give_to_player: '&7[&cRandomore&7] &7Successfully gave a random ore to &c%player%&7.'
player_not_online: '&7[&cRandomOre&7] &7This player is not online.'

TODO

  • /randomore give [player] [quantity]

If you have more ideas or any issue, contact me on discord.
Discord: Natsu#0069

Similar projects

Plugin →