💰 GENS 🛡️ DEFENSE ⚔️ RAID 🥇 LEVELS 👥 TEAMS 💱 MULTIPLE CURRENCIES


Generators are the key elements of this gamemode. Here's how to define one:
cobblegen:
type: generator
level: 1
item:
material: GRAY_STAINED_GLASS
amount: 1
name: "&7Cobblestone Generator"
lore:
- "&8Generates cobblestone"
block-display: COBBLESTONE
generator-items:
first-item:
chance: 95
gain: 10
gain-currency: money
gain-xp: 5
item:
material: COBBLESTONE
amount: 1
name: "&7Cobblestone"
lore:
- "&8Generated by a Cobblestone Generator"
second-item:
chance: 5
gain: 10
gain-currency: money
gain-xp: 5
item:
material: LAPIS_LAZULI
amount: 1
name: "&9Lapis Lazuli"
lore:
- "&8Generated by a Cobblestone Generator"
upgrade-cost: 100
upgrade-currency: money
interval: 100
Every little detail is customizable. Make sure to only assign one level per generator, so that the plugin will be able to recognize each level of generator (for upgrades).

Defense blocks are also quite customizable. They can either be broken with regular pickaxes, taking away 1 health every hit, or with custom pickaxes, which deal custom amounts of damage.
defensebrick1:
type: DEFENSE
item:
material: BRICKS
amount: 1
name: "&cDefense Brick I"
lore:
- "&7Health: &e{health}&7/&e{max-health}"
- "&7A reinforced brick that takes"
- "&7multiple hits to break."
health: 1500

Pickaxes deal a customizable amount of damage to defense blocks.
Note: durability is inverted here, so here 200 durability will be deducted from the pickaxe.
reinforcedpickaxe1:
type: PICKAXE
item:
material: IRON_PICKAXE
amount: 1
name: "&9Reinforced Pickaxe I"
lore:
- "&7Damage: &e50"
- "&7Breaks defense blocks faster!"
durability: 200
damage: 50

When a player from a different team approaches the landmine, an explosion occurs. The power is equal to the force of the explosion. As a baseline, a regular minecraft TNT has a power of 4.0.
landmine1:
type: LANDMINE
item:
material: STONE_PRESSURE_PLATE
amount: 1
name: "&4Landmine I"
lore:
- "&7Radius: &e3 blocks"
- "&7Power: &e1.5"
- "&7Explodes when enemies get close!"
radius: 3
power: 1.5

Once placed, this tnt will explode after the fuse, dealing damage to all defensive blocks in a radius. The damage decreases with the distance, so the 100 damage will only be dealt at a 0 block distance. The damage dealt to blocks is defined by ((distance * max_damage ) / radius ).
supertnt1:
type: TNT
item:
material: TNT
amount: 1
name: "&cSuper TNT I"
lore:
- "&7Fuse: &e3 seconds"
- "&7Damage: &e100"
- "&7Radius: &e5 blocks"
- "&7Destroys blocks in a radius!"
fuse: 60
damage: 100
radius: 5

By default, all placed generators will be removed from the map forever when a player disconnects from the server. By placing a beacon, players can ensure both that their generators will stay, and that they will respawn on top of their beacon upon death.
respawnbeacon:
type: BEACON
item:
material: BEACON
amount: 1
name: "&eRespawn Beacon"
lore:
- "&7Place this to set your respawn point!"
- "&7Also keeps your generators active"
- "&7when you log off."
(gif coming soon)
Turrets will detect players in a radius and shoot deadly arrows to them. With the right parameters, they can be the most OP items in the game.
turret1:
type: TURRET
level: 1
item:
material: IRON_BLOCK
amount: 1
name: "&cTurret I"
lore:
- "&7Fires at enemies"
- "&7HP: &e{health}&7/&e{max-health}"
upgrade-cost: 100
upgrade-currency: money
entity-type: ZOMBIE
name: "&cTurret I &7[&e{health}&7/&e{max-health}&7]"
health: 100
range: 10
damage: 50
fire-rate: 2
accuracy: 1.0
projectile-speed: 1.0
projectile-lifetime: 100
projectile-damage: 10
projectile-pierce: 1
projectile-explosion: false
projectile-explosion-radius: 0
projectile-explosion-power: 0
/grc give [player] [itemID] <amount> Gives to player a GRC item with an optional amount parameter/grc reload Reloads the plugin/grc help Sends a help menu/grc slots [player] [add/remove/set/info] [variable] Manages the slots of a playerFor team commands, the alias is modifiable through the config. By default, it's /team
/team create [name] Create a team with a name/team disband As the owner of a team, disbands the team/team invite [player] As the owner of a team, invite a player to your team/team accept [team] Accept a team invitation from a team/team deny [team] Deny a team invitation from a team/team kick [player] Kick a member from your team/team leave Leave your current team/team transfer [player] Transfer leadership of your team to a member/team rename [name] Rename your team/team info [team] Get data for a team/team chat <message> If no message is provided, enables the team chat. If a message is provided, sends a message to the team chat without enabling team chat.Members of the same team may break eachother's blocks and won't be affected by their defenses (turrets, landmines, etc.). Additionnaly, pvp between team members can be disabled in the config.
A leveling system is provided with the plugin. All drops from generator can be configured to have an xp-gain. In the config, the leveling formula can also be configured. Leveling rewards can be configured, as a list of console commands, in the config. The {player} placeholder may be used, and any command starting with [message] will be interpreted as a message to be sent to the player.
player:
level-formula: "level * level + 20 * level"
level-rewards:
2:
- "grc slots {player} add 1"
- "[message] &7+1 slot"
# GenRaidCore Configuration File
# For support, visit: https://github.com/xef5000/GenRaidCore
# Database Configuration
database:
# Type: SQLITE or MYSQL
type: SQLITE
# SQLite settings
sqlite:
file: genraidcore.db
# MySQL settings
mysql:
host: localhost
port: 3306
database: genraidcore
username: root
password: password
# Connection pool settings
pool:
maximum-pool-size: 10
minimum-idle: 2
connection-timeout: 30000
idle-timeout: 600000
max-lifetime: 1800000
# Currency Configuration
currencies:
money:
integration: vault
symbol: "$"
# Generator Settings
generators:
# Allow generators from different players to cluster together
allow-cross-player-clustering: false
# Maximum distance between generators to form a cluster (in blocks)
max-cluster-distance: 3
# Show particle effects on generators
show-particles: true
# Particle type for generators
particle-type: VILLAGER_HAPPY
# Upgrade confirmation timeout (in seconds)
upgrade-confirmation-timeout: 30
# Default player settings
player:
# Default number of generator slots for new players
default-slots: 5
# Formula to calculate xp required for next level
level-formula: "level * level + 20 * level"
level-rewards:
2:
- "grc slots {player} add 1"
- "[message] &7+1 slot"
3:
- "grc slots {player} add 1"
- "[message] &7+1 slot"
4:
- "grc slots {player} add 1"
- "[message] &7+1 slot"
5:
- "grc slots {player} add 1"
- "[message] &7+1 slot"
6:
- "grc slots {player} add 1"
- "[message] &7+1 slot"
7:
- "grc slots {player} add 1"
- "[message] &7+1 slot"
8:
- "grc slots {player} add 1"
- "[message] &7+1 slot"
9:
- "grc slots {player} add 1"
- "[message] &7+1 slot"
10:
- "grc slots {player} add 1"
- "[message] &7+1 slot"
11:
- "grc slots {player} add 2"
- "[message] &7+2 slots"
12:
- "grc slots {player} add 2"
- "[message] &7+2 slots"
13:
- "grc slots {player} add 2"
- "[message] &7+2 slots"
14:
- "grc slots {player} add 2"
- "[message] &7+2 slots"
15:
- "grc slots {player} add 2"
- "[message] &7+2 slots"
# Team Settings
teams:
# Enable or disable team system
enabled: true
# Command alias (e.g., "gang", "faction", "guild")
command-alias: team
# Maximum team name length
max-name-length: 16
# Minimum team name length
min-name-length: 3
# Maximum number of members per team (including owner)
max-members: 10
# Team invite expiration time (in seconds)
invite-expiration: 60
# Disable PVP between team members
friendly-fire: false
# Team chat format: {team} = team name, {role} = OWNER/MEMBER, {player} = player name, {message} = message
chat-format: "&8[&6{team}&8] &7{player}&8: &f{message}"
# Performance settings
performance:
# How often to save generator data (in ticks, 20 ticks = 1 second)
save-interval: 6000
# Use async tasks for generator resource generation
async-generation: true
# GenRaidCore Language File
# Use & for color codes
# Available placeholders will be mentioned in comments
# Can either be a string, or a full entry containing:
# - message: The message to send (required)
# - id: The sound ID to play (optional)
# - volume: The sound volume (optional)
# - pitch: The sound pitch (optional)
prefix: "&8[&6GenRaid&8]&r"
# General Messages
no-permission:
message: "&cYou don't have permission to do that!"
id: "block.note_block.bass"
volume: 1.0
pitch: 0.7
player-only: "&cThis command can only be used by players!"
invalid-player: "&cPlayer not found: &e{player}"
reload-success:
message: "&aConfiguration reloaded successfully!"
id: "entity.experience_orb.pickup"
volume: 1.0
pitch: 1.0
reload-error:
message: "&cError reloading configuration. Check console for details."
id: "block.note_block.bass"
volume: 1.0
pitch: 0.5
# Command Messages
command:
help:
header: "&6&m----------&r &6GenRaidCore Help &6&m----------"
give: "&e/grc give <player> <item> [amount] &7- Give an item"
slots: "&e/grc slots <player> <set|add|remove> <amount> &7- Manage slots"
reload: "&e/grc reload &7- Reload configuration"
help: "&e/grc help &7- Show this help"
footer: "&6&m------------------------------------"
give:
usage: "&cUsage: /grc give <player> <item> [amount]"
success:
message: "&aGave &e{amount}x {item} &ato &e{player}"
id: "entity.item.pickup"
volume: 0.8
pitch: 1.2
invalid-item:
message: "&cInvalid item: &e{item}"
id: "block.note_block.bass"
volume: 1.0
pitch: 0.7
slots:
usage: "&cUsage: /grc slots <player> <set|add|remove> <amount>"
info:
message: "&e{player}'s Slots: &a{used}&7/&a{max} &7(&b{available} &7available)"
id: "block.note_block.pling"
volume: 0.8
pitch: 1.0
set:
message: "&aSet &e{player}'s &aslots to &e{amount}"
id: "block.note_block.pling"
volume: 1.0
pitch: 1.0
set-notify:
message: "&aYour generator slots have been set to &e{amount}"
id: "block.note_block.pling"
volume: 1.0
pitch: 1.0
add:
message: "&aAdded &e{amount} &aslots to &e{player} &a(Total: &e{new_max}&a)"
id: "block.note_block.pling"
volume: 1.0
pitch: 1.2
add-notify:
message: "&aYou received &e{amount} &aadditional generator slots!"
id: "block.note_block.pling"
volume: 1.0
pitch: 1.2
remove:
message: "&aRemoved &e{amount} &aslots from &e{player} &a(Total: &e{new_max}&a)"
id: "block.note_block.hat"
volume: 1.0
pitch: 0.9
remove-notify:
message: "&cYou lost &e{amount} &cgenerator slots."
id: "block.note_block.hat"
volume: 1.0
pitch: 0.9
invalid-amount: "&cInvalid amount: &e{amount}"
# Generator Messages
generator:
placed:
message: "&aGenerator placed! &7(&e{used}&7/&e{max} &7slots used)"
id: "block.stone.place"
volume: 1.0
pitch: 0.9
broken:
message: "&cGenerator broken! &7(&e{used}&7/&e{max} &7slots used)"
id: "block.stone.break"
volume: 1.0
pitch: 1.0
claim:
success:
message: "&a&l+ {xp} XP &7and &a&l{money} &7claimed from &e{items} items&7! &8[&eLevel {level} &8- &b{current-xp}&7/&b{required-xp} XP&8]"
id: "entity.experience_orb.pickup"
volume: 1.0
pitch: 1.2
no-items:
message: "&cNo generated items to claim!"
id: "block.note_block.bass"
volume: 1.0
pitch: 0.7
level-up:
message: "&6&l✦ LEVEL UP! &e&lYou are now level {level}! &7(+{levels} level(s))"
id: "entity.player.levelup"
volume: 1.0
pitch: 1.0
slots:
limit-reached:
message: "&cYou have reached your generator slot limit!"
id: "block.note_block.bass"
volume: 1.0
pitch: 0.7
# Upgrade Messages
upgrade:
prompt:
message: "&e&l⚡ UPGRADE AVAILABLE &e&l⚡\n&7Current: &e{item} &7(Level {level})\n&7Next Level: &a{next-level}\n&7Cost: &6{cost} {currency}\n&7Click below to confirm or cancel:"
id: "block.note_block.pling"
volume: 1.0
pitch: 1.5
success:
message: "&a&l✔ Upgrade successful! &7Your &e{item} &7is now level &a{level}&7!"
id: "entity.player.levelup"
volume: 1.0
pitch: 1.2
cancelled:
message: "&e&l⚠ Upgrade cancelled."
id: "block.note_block.hat"
volume: 0.8
pitch: 1.0
max-level:
message: "&c&l✖ Already at maximum level!"
id: "block.note_block.bass"
volume: 1.0
pitch: 0.6
insufficient-currency:
message: "&c&l✖ Insufficient funds! &7You need &6{cost} {currency}&7."
id: "block.note_block.bass"
volume: 1.0
pitch: 0.7
invalid:
message: "&cInvalid upgrade request!"
id: "block.note_block.bass"
volume: 1.0
pitch: 0.5
not-found:
message: "&cCould not find the item to upgrade!"
id: "block.note_block.bass"
volume: 1.0
pitch: 0.5
not-owner:
message: "&cYou don't own this item!"
id: "block.note_block.bass"
volume: 1.0
pitch: 0.5
# Custom Block Messages
block:
defense:
placed:
message: "&aDefense block placed! &7Health: &e{health}&7/&e{max-health}"
id: "block.stone.place"
volume: 1.0
pitch: 1.0
damaged:
message: "&cDefense block damaged! &7Remaining: &e{health}&7/&e{max-health}"
id: "block.stone.hit"
volume: 1.0
pitch: 1.0
broken:
message: "&cDefense block destroyed!"
id: "block.stone.break"
volume: 1.2
pitch: 1.0
picked-up:
message: "&aDefense block picked up!"
id: "entity.item.pickup"
volume: 0.9
pitch: 1.0
landmine:
placed:
message: "&aLandmine placed! &7Radius: &e{radius} &7Damage: &e{damage}"
id: "block.stone.place"
volume: 0.8
pitch: 0.8
triggered:
message: "&cLandmine triggered!"
id: "entity.tnt.primed"
volume: 1.0
pitch: 1.5
exploded:
message: "&4BOOM! &cYou triggered a landmine!"
id: "entity.generic.explode"
volume: 1.0
pitch: 1.0
removed:
message: "&cLandmine removed!"
id: "block.stone.break"
volume: 1.0
pitch: 1.0
tnt:
placed:
message: "&aSuper TNT placed!"
id: "block.stone.place"
volume: 1.0
pitch: 0.9
beacon:
placed:
message: "&aRespawn beacon placed! You will now respawn here."
id: "block.beacon.activate"
volume: 1.0
pitch: 1.0
removed:
message: "&cRespawn beacon removed!"
id: "block.beacon.deactivate"
volume: 1.0
pitch: 1.0
respawned:
message: "&aYou respawned at your beacon!"
id: "block.beacon.ambient"
volume: 0.5
pitch: 1.2
# Team Messages
team:
disabled: "&cTeam system is disabled on this server!"
help:
header: "&6&m----------&r &6Team Help &6&m----------"
create: "&e/{cmd} create <name> &7- Create a new team"
disband: "&e/{cmd} disband &7- Disband your team"
invite: "&e/{cmd} invite <player> &7- Invite a player"
accept: "&e/{cmd} accept <team> &7- Accept an invite"
deny: "&e/{cmd} deny <team> &7- Deny an invite"
kick: "&e/{cmd} kick <player> &7- Kick a member"
leave: "&e/{cmd} leave &7- Leave your team"
transfer: "&e/{cmd} transfer <player> &7- Transfer ownership"
rename: "&e/{cmd} rename <name> &7- Rename your team"
info: "&e/{cmd} info [team] &7- View team info"
chat: "&e/{cmd} chat [message] &7- Toggle/use team chat"
footer: "&6&m----------------------------------"
create:
success:
message: "&aTeam &e{team} &acreated successfully!"
id: "entity.player.levelup"
volume: 1.0
pitch: 1.2
already-in-team: "&cYou are already in a team!"
invalid-name: "&cInvalid team name! Must be {min}-{max} characters."
name-taken: "&cA team with that name already exists!"
disband:
success:
message: "&aTeam &e{team} &adisbanded."
id: "block.note_block.hat"
volume: 1.0
pitch: 0.8
confirm: "&e&lWARNING: &7Type &e/{cmd} disband confirm &7to permanently disband your team!"
not-owner: "&cOnly the team owner can disband the team!"
invite:
sent:
message: "&aInvite sent to &e{player}&a!"
id: "block.note_block.pling"
volume: 0.8
pitch: 1.0
received:
message: "&e{player} &ainvited you to join &e{team}&a! Type &e/{cmd} accept {team} &ato join."
id: "entity.experience_orb.pickup"
volume: 1.0
pitch: 1.0
already-member: "&c{player} is already in a team!"
team-full: "&cYour team is full! (Max: {max})"
not-online: "&cPlayer not found!"
already-invited: "&c{player} already has a pending invite from your team!"
accept:
success:
message: "&aYou joined &e{team}&a!"
id: "entity.player.levelup"
volume: 1.0
pitch: 1.0
broadcast:
message: "&e{player} &ajoined the team!"
id: "entity.experience_orb.pickup"
volume: 0.8
pitch: 1.2
no-invite: "&cYou don't have an invite from &e{team}&c!"
expired: "&cThat invite has expired!"
already-in-team: "&cYou are already in a team!"
deny:
success: "&aInvite from &e{team} &adenied."
no-invite: "&cYou don't have an invite from &e{team}&c!"
kick:
success:
message: "&e{player} &ahas been kicked from the team."
id: "block.note_block.hat"
volume: 1.0
pitch: 0.9
kicked:
message: "&cYou were kicked from &e{team}&c!"
id: "block.note_block.bass"
volume: 1.0
pitch: 0.7
not-member: "&c{player} is not in your team!"
cannot-kick-owner: "&cYou cannot kick the team owner!"
leave:
success:
message: "&aYou left &e{team}&a."
id: "block.note_block.hat"
volume: 1.0
pitch: 1.0
broadcast:
message: "&e{player} &cleft the team."
id: "block.note_block.bass"
volume: 0.8
pitch: 0.9
owner-must-transfer: "&cYou must transfer ownership or disband the team first!"
transfer:
success:
message: "&aOwnership transferred to &e{player}&a!"
id: "entity.player.levelup"
volume: 1.0
pitch: 1.0
new-owner:
message: "&aYou are now the owner of &e{team}&a!"
id: "entity.player.levelup"
volume: 1.0
pitch: 1.2
not-member: "&c{player} is not in your team!"
rename:
success:
message: "&aTeam renamed to &e{team}&a!"
id: "block.note_block.pling"
volume: 1.0
pitch: 1.2
invalid-name: "&cInvalid team name! Must be {min}-{max} characters."
name-taken: "&cA team with that name already exists!"
info:
header: "&6&m-----&r &e{team} Info &6&m-----"
owner: "&7Owner: &e{owner}"
created: "&7Created: &e{created}"
members: "&7Members ({count}/{max}): &e{members}"
not-found: "&cTeam &e{team} &cnot found!"
chat:
enabled:
message: "&aTeam chat enabled! Use &e/{cmd} chat &ato disable."
id: "block.note_block.pling"
volume: 0.8
pitch: 1.2
disabled:
message: "&cTeam chat disabled."
id: "block.note_block.hat"
volume: 0.8
pitch: 1.0
no-team: "&cYou are not in a team!"
not-owner: "&cOnly the team owner can do that!"
pvp-blocked:
message: "&cYou cannot attack your teammate!"
id: "block.note_block.bass"
volume: 0.8
pitch: 0.7
Content can be added inside the content/ directory. Every file inside that directory will be read as custom content, and will be parsed into the game. Feel free to spread out your content into multiple files. By default, you will be provided with content/default.yml, which contains some default content. You are free to add as much content as you'd like, as long as they are respecting the syntax for that content type.
# Custom Content Definition
# Each content has the following base property:
# - type: The block type (GENERATOR, DEFENSE, LANDMINE, TNT, PICKAXE, BEACON)
#
# Additional properties based on type:
# GENERATOR: level (int), block (string), block-display (string), item (ItemsAPI definition), upgrade-cost(int), upgrade-currency (string), interval (int) - Generator level, block type, block display name, item definition, upgrade cost, upgrade currency, and generation interval
# DEFENSE: health (int) - How many times the block needs to be broken
# LANDMINE: radius (int), power (double) - Explosion radius and power
# TNT: fuse (int), damage (int), radius (int) - Fuse time, block damage, and radius
# PICKAXE: damage (int) - Damage dealt to defense blocks
# BEACON: No additional properties
defensebrick1:
type: DEFENSE
item:
material: BRICKS
amount: 1
name: "&cDefense Brick I"
lore:
- "&7Health: &e{health}&7/&e{max-health}"
- "&7A reinforced brick that takes"
- "&7multiple hits to break."
health: 1500
defensebrick2:
type: DEFENSE
item:
material: STONE_BRICKS
amount: 1
name: "&cDefense Brick II"
lore:
- "&7Health: &e{health}&7/&e{max-health}"
- "&7A heavily reinforced brick."
health: 3000
defensebrick3:
type: DEFENSE
item:
material: PRISMARINE_BRICKS
amount: 1
name: "&cDefense Brick III"
lore:
- "&7Health: &e{health}&7/&e{max-health}"
- "&7An extremely durable brick."
health: 5000
# Landmine Blocks
landmine1:
type: LANDMINE
item:
material: STONE_PRESSURE_PLATE
amount: 1
name: "&4Landmine I"
lore:
- "&7Radius: &e3 blocks"
- "&7Power: &e1.5"
- "&7Explodes when enemies get close!"
radius: 3
power: 1.5
landmine2:
type: LANDMINE
item:
material: HEAVY_WEIGHTED_PRESSURE_PLATE
amount: 1
name: "&4Landmine II"
lore:
- "&7Radius: &e5 blocks"
- "&7Power: &e4"
- "&7A more powerful landmine!"
radius: 5
power: 4
# TNT Blocks
supertnt1:
type: TNT
item:
material: TNT
amount: 1
name: "&cSuper TNT I"
lore:
- "&7Fuse: &e3 seconds"
- "&7Damage: &e100"
- "&7Radius: &e5 blocks"
- "&7Destroys blocks in a radius!"
fuse: 60
damage: 100
radius: 5
supertnt2:
type: TNT
item:
material: TNT
amount: 1
name: "&cSuper TNT II"
lore:
- "&7Fuse: &e2 seconds"
- "&7Damage: &e200"
- "&7Radius: &e7 blocks"
- "&7Massive destruction!"
fuse: 40
damage: 200
radius: 7
# Pickaxe Items
reinforcedpickaxe1:
type: PICKAXE
item:
material: IRON_PICKAXE
amount: 1
name: "&9Reinforced Pickaxe I"
lore:
- "&7Damage: &e50"
- "&7Breaks defense blocks faster!"
durability: 200
damage: 50
reinforcedpickaxe2:
type: PICKAXE
item:
material: DIAMOND_PICKAXE
amount: 1
name: "&9Reinforced Pickaxe II"
lore:
- "&7Damage: &e100"
- "&7Powerful pickaxe for defense blocks!"
durability: 1501
damage: 100
# Beacon Block
respawnbeacon:
type: BEACON
item:
material: BEACON
amount: 1
name: "&eRespawn Beacon"
lore:
- "&7Place this to set your respawn point!"
- "&7Also keeps your generators active"
- "&7when you log off."
# Generator Blocks
cobblegen:
type: generator
level: 1
item:
material: GRAY_STAINED_GLASS
amount: 1
name: "&7Cobblestone Generator"
lore:
- "&8Generates cobblestone"
block-display: COBBLESTONE
generator-items:
first-item:
chance: 95
gain: 10
gain-currency: money
gain-xp: 5
item:
material: COBBLESTONE
amount: 1
name: "&7Cobblestone"
lore:
- "&8Generated by a Cobblestone Generator"
second-item:
chance: 5
gain: 10
gain-currency: money
gain-xp: 5
item:
material: LAPIS_LAZULI
amount: 1
name: "&9Lapis Lazuli"
lore:
- "&8Generated by a Cobblestone Generator"
upgrade-cost: 100
upgrade-currency: money
interval: 100
irongen:
type: generator
level: 2
item:
material: WHITE_STAINED_GLASS
amount: 1
name: "&fIron Generator"
lore:
- "&8Generates iron ingots"
block-display: IRON_ORE
generator-items:
first-item:
chance: 100
gain: 20
gain-currency: money
gain-xp: 10
item:
material: IRON_INGOT
amount: 1
name: "&fIron Ingot"
lore:
- "&8Generated by an Iron Generator"
upgrade-cost: 500
upgrade-currency: money
interval: 80
goldgen:
type: generator
level: 3
item:
material: YELLOW_STAINED_GLASS
amount: 1
name: "&6Gold Generator"
lore:
- "&8Generates gold ingots"
block-display: GOLD_ORE
generator-items:
first-item:
chance: 100
gain: 50
gain-currency: money
gain-xp: 25
item:
material: GOLD_INGOT
amount: 1
name: "&6Gold Ingot"
lore:
- "&8Generated by a Gold Generator"
upgrade-cost: 1000
upgrade-currency: money
interval: 60
diamondgen:
type: generator
level: 4
item:
material: LIGHT_BLUE_STAINED_GLASS
amount: 1
name: "&bDiamond Generator"
lore:
- "&8Generates diamonds"
block-display: DIAMOND_ORE
generator-items:
first-item:
chance: 100
gain: 100
gain-currency: money
gain-xp: 50
item:
material: DIAMOND
amount: 1
name: "&bDiamond"
lore:
- "&8Generated by a Diamond Generator"
upgrade-cost: 5000
upgrade-currency: money
interval: 40
emeraldgen:
type: generator
level: 5
item:
material: GREEN_STAINED_GLASS
amount: 1
name: "&aEmerald Generator"
lore:
- "&8Generates emeralds"
block-display: EMERALD_ORE
generator-items:
first-item:
chance: 100
gain: 200
gain-currency: money
gain-xp: 100
item:
material: EMERALD
amount: 1
name: "&aEmerald"
lore:
- "&8Generated by an Emerald Generator"
upgrade-cost: 0
upgrade-currency: money
interval: 20
turret1:
type: TURRET
level: 1
item:
material: IRON_BLOCK
amount: 1
name: "&cTurret I"
lore:
- "&7Fires at enemies"
- "&7HP: &e{health}&7/&e{max-health}"
upgrade-cost: 100
upgrade-currency: money
entity-type: ZOMBIE
name: "&cTurret I &7[&e{health}&7/&e{max-health}&7]"
health: 100
range: 10
damage: 50
fire-rate: 2
accuracy: 1.0
projectile-speed: 1.0
projectile-lifetime: 100
projectile-damage: 10
projectile-pierce: 1
projectile-explosion: false
projectile-explosion-radius: 0
projectile-explosion-power: 0
turret2:
type: TURRET
level: 2
item:
material: GOLD_BLOCK
amount: 1
name: "&cTurret II"
lore:
- "&7Fires at enemies"
- "&7HP: &e{health}&7/&e{max-health}"
upgrade-cost: 100
upgrade-currency: money
entity-type: ZOMBIE
name: "&cTurret II &7[&e{health}&7/&e{max-health}&7]"
health: 250
range: 10
damage: 5
fire-rate: 10
accuracy: 1.0
projectile-speed: 1.0
projectile-lifetime: 100
projectile-damage: 10
projectile-pierce: 1
projectile-explosion: true
projectile-explosion-radius: 5
projectile-explosion-power: 3
Items are defined everywhere in this plugin. To streamline this process, ItemsAPI was used. This plugin allows you to configure items from 11 popular item plugins (like Nexo, ItemsAdder, etc.) and allows you to define your currencies in the config. Don't worry about it, but know what it is so that you may refer to its syntax to define your items.