Requires Vault --- Will Not Load without Vault.
Ore Golems is a new plugin aimed to making grinding of Iron Golems much much more unique and interesting. Everything from the amount of items an Ore Golem can drop to the pricing to upgrade is configurable. There are 6 different tiers of Ore Golems, Coal, Redstone, Lapis, Gold, Diamond, and Emerald. Ore Golems will make your the server alive once more, introducing 6 different tiered Golem Spawners will truly give your player's something to do.
- 6 Different Ore Golem Tiers (Coal, Redstone, Lapis, Gold, Diamond, Emerald)
- Full Shop System where players can purchase Golem Spawners using EXP or Money.
- Code is efficiently written, that's right, no memory leaks for your server.
- Spawner Configuration
- Golem Drop amount configuration.
- Golem Name configuration, and much more.
Coal
Redstone
Lapis
Gold
Diamond
Emerald
PHP:
spawners:
coal:
name: "&8Coal &7Golem Spawner"
lore:
- "&7Place this spawner to start"
- "&7spawning coal golems."
redstone:
name: "&cRedstone &7Golem Spawner"
lore:
- "&7Place this spawner to start"
- "&7spawning redstone golems."
lapis:
name: "&3Lapis &7Golem Spawner"
lore:
- "&7Place this spawner to start"
- "&7spawning lapis golems."
gold:
name: "&6Gold &7Golem Spawner"
lore:
- "&7Place this spawner to start"
- "&7spawning gold golems."
diamond:
name: "&bDiamond &7Golem Spawner"
lore:
- "&7Place this spawner to start"
- "&7spawning diamond golems."
emerald:
name: "&aEmerald &7Golem Spawner"
lore:
- "&7Place this spawner to start"
- "&7spawning emerald golems."
golem-names:
coal: "&8&lCoal &7Golem"
redstone: "&4&lRedstone &7Golem"
lapis: "&9&lLapis &7Golem"
gold: "&e&lGold &7Golem"
diamond: "&b&lDiamond &7Golem"
emerald: "&a&lEmerald &7Golem"
drop-when-mined: true
golem-drops:
coal:
random: true
min: 1
max: 3
set: 2
redstone:
random: true
min: 3
max: 5
set: 5
lapis:
random: true
min: 1
max: 2
set: 1
gold:
random: true
min: 1
max: 2
set: 2
diamond:
random: false
min: 1
max: 2
set: 1
emerald:
random: false
min: 1
max: 1
set: 1
upgrade-prices:
iron-to-coal:
exp: 1000
money: 100000
coal-to-redstone:
exp: 2000
money: 200000
redstone-to-lapis:
exp: 3000
money: 300000
lapis-to-gold:
exp: 4000
money: 400000
gold-to-diamond:
exp: 5000
money: 500000
diamond-to-emerald:
exp: 6000
money: 600000
shop-prices:
coal:
exp: 20000
money: 250000
redstone:
exp: 40000
money: 500000
lapis:
exp: 60000
money: 1000000
gold:
exp: 80000
money: 1250000
diamond:
exp: 100000
money: 1500000
emerald:
exp: 120000
money: 2000000
lang:
empty-cart: "&cCannot complete, a cart total of 1 is required to buy!"
spawner-upgraded: "&ESpawner has been upgraded to &6{tier}"
money-removed: "&c&l- ${amount}"
exp-removed: "&c&l- {amount} &f&lEXP"
not-enough-money: "&cYou do not have enough money to upgrade that spawner."
not-enough-exp: "&cYou do not have enough exp to upgrade that spawner."
number-not-valid: "&cPlease enter a valid number"
no-permission: "&cYou do not have permission to use that command."
player-only: "&4Consoles cannot use that command, only players can."
give: "&e/OG give <Player> <Tier> <#>"
giveall: "&e/OG giveall <Tier> <#>"
gave-player: "&eYou gave &6{player} &fx&d{amount} &b{tier} &eOre Golem Spawners."
gaveall: "&eYou gave everyone &fx&d{amount} &b{tier} &eOre Golem Spawners."
upgraded: "&eYou upgraded that &c{oldtier} &eGolem Spawner to a &b{newtier} &eGolem Spawner."
bought: "&eYou successfully bought &fx&a{amount} &6&l{tier} &eGolem Spawner(s)"
spawner-placed: "&eYou placed a &b{tier} &eGolem Spawner."
player-offline: "&cThat player is either offline or invalid."
invalid-tier: "&cThat spawner tier is invalid (coal, redstone, lapis, gold, diamond, and emerald)"
spawner-broken: "&eYou broke a &b{tier} &eGolem Spawner."
spawner-maxed: "&eThat spawner is already at max level &7(&aEmerald&7)"
- SpawnerBreakEvent
- SpawnerPlaceEvent
- SpawnerUpgradeEvent
PHP:
/*
* Examples on how to use API
*/
// SpawnerBreakEvent
@EventHandler
public void onSpawnerBreak(SpawnerBreakEvent e) {
Player p = e.getPlayer();
int x = e.getBlock().getX();
int y = e.getBlock().getY();
int z = e.getBlock().getZ();
p.sendMessage("You mined a " + e.getTier().getTier() + " spawner at " + x + " " + y + " " + z);
}
// SpawnerPlaceEvent
@EventHandler
public void onSpawnerPlace(SpawnerPlaceEvent e) {
Player p = e.getPlayer();
p.sendMessage("You just placed a " + e.getTier().getTier() + " Ore Golem Spawner");
}
// SpawnerUpgradeEvent
@EventHandler
public void onSpawnerUpgrade(SpawnerUpgradeEvent e) {
Player p = e.getPlayer();
if (!p.getName().equals("TheCrystalStar")) {
return;
}
String tier = "";
for (MetadataValue value : e.getSpawner().getMetadata("OreGolem")) {
tier = value.asString();
}
if (!tier.equals("Diamond")) {
return;
}
if (e.getUpgradeMethod() == UpgradeMethod.EXP || e.getUpgradeMethod() == UpgradeMethod.MONEY) {
e.setCancelled(true);
p.sendMessage("Trollololo..... You ain't upgrading anything!");
}
}
Permissions
- OreGolems.cmd
- OreGolems.cmd.give
- OreGolems.cmd.buy
- OreGolems.cmd.upgrade
- OreGolems.cmd.giveall
- OreGolems.cmd.admin
- OreGolems.cmd.list
- OreGolems.cmd.shop
- None
- You may not redistribute this plugin under any circumstance.
- You may not claim this plugin as yours.
- You may not resell this plugin.
- Do not ask for help in reviews.
- Leaving bad, UN-thought reviews will result in receiving no support, Please PM me before reviewing badly -.-
- You may not decompile this plugin under any circumstance.
- Breaking any of these rules will have you removed from the buyer's list and reported.
Last edited:
