HomeJavaModsMobcoins
Mobcoins
variables:
{mobcoins.%player%} = 0 # Amount of mobcoins a player will have on first join

# When a player kills one of these listed mobs, they will recieve the specified amount of mobcoins

on death of Zombie:
chance of 7%:
add 3 to {mobcoins.%attacker%}
send "&eYou salvaged &63x&e mobcoins" to attacker

on death of Skeleton:
chance of 12%:
add 1 to {mobcoins.%attacker%}
send "&eYou salvaged &61x&e mobcoins" to attacker

on death of Wither Skeleton:
chance of 14%:
add 5 to {mobcoins.%attacker%}
send "&eYou salvaged &65x&e mobcoins" to attacker

on death of Spider:
chance of 18%:
add 9 to {mobcoins.%attacker%}
send "&eYou salvaged &69x&e mobcoins" to attacker

on death of Cave Spider:
chance of 8%:
add 5 to {mobcoins.%attacker%}
send "&eYou salvaged &65x&e mobcoins" to attacker

on death of Creeper:
chance of 7%:
add 1 to {mobcoins.%attacker%}
send "&eYou salvaged &61x&e mobcoins" to attacker

on death of Slime:
chance of 11%:
add 3 to {mobcoins.%attacker%}
send "&eYou salvaged &63x&e mobcoins" to attacker

on death of Ghast:
chance of 4%:
add 2 to {mobcoins.%attacker%}
send "&eYou salvaged &62x&e mobcoins" to attacker

on death of Enderman:
chance of 1%:
add 6 to {mobcoins.%attacker%}
send "&eYou salvaged &66x&e mobcoins" to attacker

on death of Wolf:
chance of 3%:
add 7 to {mobcoins.%attacker%}
send "&eYou salvaged &67x&e mobcoins" to attacker

on death of Blaze:
chance of 5%:
add 2 to {mobcoins.%attacker%}
send "&eYou salvaged &62x&e mobcoins" to attacker



command /mobcoins [<text>] [<player>]:
trigger:
if arg 1 is not set:
if arg 2 is not set:
send "&eYou have &6%{mobcoins.%player%}% &eMobcoins." to player
if arg 1 is "view":
if arg 2 is set:
send "&6%arg 2%'s &eMobcoins balance is &6%{mobcoins.%arg 2%}%&e" to player
if arg 1 is "reset":
if arg 2 is set:
if player has permission "mobcoins.admin":
set {mobcoins.%arg 2%} to 0
send "&6%arg 2%'s &eMobcoin balance was reset back to &60&e." to player
send "&eYour Mobcoins where reset by a staff member. Your new Mobcoin balance is &60&e!" to arg 2
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Mobcoins is a free Minecraft Java mod. Compatible with Minecraft 1.8. Downloaded 343 times (via Spigot). Download it and open it directly in the game.

Explore more