Sueta

Treasure Goblin

1.7

Ever wanted a fully configurable treasure goblin plugin like a famous server? Well....

·Config

What is Treasure Goblin?

Treasure goblin is a plugin like cosmicpvp that allows players to get an egg that when used, it spawns a treasure goblin which can be punched to give some awesome loot!

Please [Follow] me if you like my work!

Default Config:

ItemsAmountSize: 4 
TreasureGoblin: 
  Name: '&e&lTreasure Goblin' 
  Lore: 
  - ' ' 
  - '&7&l<Place this egg to spawn!>' 
  - ' ' 
  FireResistance: true 
  Health: 20 
AutoSpawn: 
  Enabled: false 
  Location: 
    world: "world" 
    highestY: true 
    x: 0 
    y: 0 
    z: 0 
  Broadcast: "&bA &a&lTreasure Goblin &bhas spawned at &e%world%, %x%, %y%, %z%!" 
  SecondsPerSpawn: 300 
Item0: 
  Command: 'treasuregoblin give %player%' 
  materialName: 'APPLE' 
  amount: 1 
  Name: '&6Name' 
  Lore: 
  - ' ' 
  - '&c&lAn Example Lore' 
  - ' ' 
  enchantment: 'NONE' 
  enchantmentLevel: 1 
Item1: 
  Command: 'treasuregoblin give %player%' 
  materialName: 'GLASS' 
  amount: 1 
  Name: '&6Name' 
  Lore: 
  - ' ' 
  - '&c&lAn Example Lore' 
  - ' ' 
  enchantment: 'NONE' 
  enchantmentLevel: 1 
Item2: 
  Command: 'NONE' 
  materialName: 'BEDROCK' 
  amount: 1 
  Name: '&6Name' 
  Lore: 
  - ' ' 
  - '&c&lAn Example Lore' 
  - ' ' 
  enchantment: 'PROTECTION_ENVIRONMENTAL' 
  enchantmentLevel: 1 
Item3: 
  Command: 'NONE' 
  materialName: 'ARROW' 
  amount: 1 
  Name: '&6Name' 
  Lore: 
  - ' ' 
  - '&c&lAn Example Lore' 
  - ' ' 
  enchantment: 'PROTECTION_ENVIRONMENTAL' 
  enchantmentLevel: 1

The NONE option for the command, means that there is no command, and that the item will be considered an item and not a command. If there is a command, then no item will be spawned. If you want more items, increment one to ItemsAmountSize and make a new item with Item(number) so after Item3 it is Item4. I would recommend copying and pasting and editing for the config.

Commands and permissions:
Command: /treasuregoblin give <player> - treasuregoblin.admin - Gives a treasure goblin egg to the player you mentioned!
Command: /treasuregoblin - The help command

Requirements:
None!

ToDo:
- Any suggestions?

Plugin terms:
- You may NOT take credit for this plugin.
- You may NOT resell/repost this plugin to other people.
- You may NOT decompile this plugin.
- You may NOT make another download link.

Goals:

- 10
- 25
- 50
- 100

- 200
- 500

Similar projects

Config →