Hey guys! I'm back! I hope you enjoy this small leak of mine
Original Link:https://www.mc-market.org/resources/8089/
Please Give me a positive rating as a token of appreciation
DONATION: Want more plugins donate any amount to
paypal.me/qtchan
paypal.me/qtchan
Only tested on spigot 1.8 + 1.12. No support provided for others.
Configuration, Ownership and API:
Code:
inventory:
size: 27
title: Island Upgrades
upgrades:
DIAMOND_HOE:
name: '&e&lCrop Growth'
slot: 10
price: 100000
lore:
- ''
- '&7Purchasing the growth upgrade'
- '&7gives all crops within your island'
- '&7increased growth speed.'
- ''
- '&eGrowth: &f2x Speed'
- '&ePrice: &f$100,000'
- ''
- '&aLeft-click to purchase upgrade.'
commands:
- growth <uuid> 2
islands: []
MOB_SPAWNER:
name: '&b&lSpawner Boost'
slot: 12
price: 500000
lore:
- ''
- '&7Purchasing the spawner upgrade'
- '&7gives all spawners within your island'
- '&7increased spawn speed.'
- ''
- '&bBoost: &f4x Speed'
- '&bPrice: &f$500,000'
- ''
- '&aLeft-click to purchase upgrade.'
commands:
- spawnrate <uuid> 4
islands: []
ROTTEN_FLESH:
name: '&4&lPremium Drops'
slot: 14
price: 1000000
lore:
- ''
- '&7Purchasing the drops upgrade'
- '&7gives all mobs within your island'
- '&7increased loot drops.'
- ''
- '&4Amount: &f2x Drops'
- '&4Price: &f$1,000,000'
- ''
- '&aLeft-click to purchase upgrade.'
commands:
- mobdrops <uuid> 2
islands: []
HOPPER:
name: '&d&lHopper Increase'
slot: 16
price: 1000000
lore:
- ''
- '&7Purchasing the hopper upgrade'
- '&7will increase your island''s'
- '&7max hopper limit.'
- ''
- '&dAmount: &f16x Hoppers'
- '&dPrice: &f$1,000,000'
- ''
- '&aLeft-click to purchase upgrade.'
commands:
- hoppers <uuid> 16
islands: []
Code:
public void setGrowthMultiplier(byte multiplier);
public byte getGrowthMultiplier();
public void setSpawnRate(byte multiplier);
public byte getSpawnRate();
public void setDropMultiplier(byte multiplier);
public byte getDropMultiplier();
Commands:
/growth <uuid> <multiplier> - Usually executed by console.
/spawnrate <uuid> <multiplier> - Usually executed by console.
/mobdrops <uuid> <multiplier> - Usually executed by console.
/hoppers <uuid> <multiplier> - Usually executed by console.
Test Server:
144.217.121.168:25667
Permissions:
Even though the commands are made to be executed in console (through the island upgrades gui), they can also be executed in-game. All three commands share the required permission node: askyblock.islands.*
Requires:
Vault
Holographic Display
Warning:
This has only been tested on spigot 1.8.x + 1.12.x
Todo:
1. Provide suggestions!
NONE ATM