![[IMG]](//proxy.spigotmc.org/a45503636f68644f0f090fad66685b36183e8be8/68747470733a2f2f692e696d6775722e636f6d2f41387043347a532e706e67)
The game is played as follows:
Players begin the game with basic gear to help them combat mobs and earn money. Each mob has unique abilities, with new types appearing as the game progresses. Zombies typically emerge from windows covered with wooden slabs, which they will break through. Players can repair these windows by sneaking next to them, earning extra money. Gear can be upgraded throughout the game. The game continues until all rounds are completed, with each round ending when all mobs are defeated.
TEST SERVER: testing.mipcraft.eu (157.90.137.69:22022)
Features:
The plugin is highly configurable, allowing you to customize nearly every aspect. Some notable features of this game mode include:
- Design Your Own Map: Unleash your creativity by designing personalized map.
- Per-server/Multi-arena: Set one game per server (BungeeCord) or multiple games per server.
- MySql Support: Keep track of win streaks with efficient MySql integration.
- PlaceholderAPI Support: Enjoy compatibility with PlaceholderAPI for streamlined integration.
- Custom Models: Immerse players with support for custom models.
Setup:
1. Get the plugin and put it in the plugins folder. Start the server and let the plugin generate the folders.
2. Feel free to modify any settings in the configuration file as you see fit. Afterward, restart the server, and you'll be able to join with your new changes.
3. For both the multi-games per server and single game on the server mode, you'll want to create at least one game. You can do so with the "/gp create [game_name]" command.
4. Set up the game. Your inventory will now have tools.
4.1. First, set the starting location (waiting location before the game starts as well as where players start).
4.2. Next, create rooms and set the starting room.
4.3. You can define where the doors are and how they connect the rooms together as well as how much they cost to open.
4.4. Then you can define upgrade stations and other unlockable objects in the game.
4.5. When you're done with all the setup save the game.
5. Enjoy!
When setting up the game for older verions you will have to replace all the sounds and materials in config!
Setup videos:
Commands:
/zg join - Join the best game.
/zg join [name] - Join the game.
/zg leave - Leave game.
/zg create [game_name] - Create a new game.
/zg edit [game_name] - Edit a game.
PlaceholderAPI:
Player stats:
- %zombiegames_player_uuid%
- %zombiegames_player_name%
- %zombiegames_player_games-played%
- %zombiegames_player_win-streak%
- %zombiegames_player_wins%
- %zombiegames_player_score%
- %zombiegames_player_placement%
Top stats:
Structure of top placeholders:
%zombiegames_top_games-played_1_name%
zombiegames_top_ - is always the same.
games-played_ - can be (games-played, win-streak, wins or score) - represents top 10 category.
1_ - is a placement number which can be from 1 .. 10.
name - this part can be (uuid, name, games-played, win-streak, wins, score or placement) - data of the player in this placement of the top 10 category.
Examples:
- %zombiegames_top_games-played_5_name%
- %zombiegames_top_win-streak_10_score%
- %zombiegames_top_wins_1_win-streak%
- %zombiegames_top_score_3_name%
Config:
Code (YAML):
# ZOMBIE GAMES
# CREATED BY ALANDIODA
# VERSION 1.20.0
# Configuration with MY_VERSION
# SPIGOT_MATERIAL_LINK
# SPIGOT_SOUND_LINK
# SPIGOT_POTIONS_LINK
# DATABASE INFORMATION
database:
enabled
: true
use_local_file
: true
host
: localhost
port
: 3306
database
: database
username
: username
password
: password
tablename
: ZombieGamesData
# Top 10 update rate (in seconds, 0 = disable)
top_10_update_rate
: 300
# Debug mode
debug_mode
: false
# Game mode:
# true = the whole server is for one game.
# false = have a lobby and games in one server.
is_game_per_server
: false
# Admin permissions
admin_permissions
: ZombieGames.admin
# Block commands when in game
block_commands_in_game:
enabled
: true
not_blocked_permission
: ZombieGames.admin
allowed_commands
:
- help
# if is_game_per_server is set to true ignore this
lobby:
world
: world
x
: 0
y
: 64
z
: 0
yaw
: 0
pitch
: 0
return_to_lobby_after_game_ends
: true
# Start
# Start the game when at least 1 players join the game
start_on_player_count
: 1
# Max players count
max_players_count
: 4
# Game start countdown
countdown_time
: 30
# Ending
# Display effects before the game ends
win_celebration_seconds
: 10
# After the game ends restart the server
when_ends_shutdown
: false
downed_time_seconds
: 30
revive_time_seconds
: 4
starting:
money
: 0
effects
:
-
"REGENERATION:1"
-
"SLOW_DIGGING:2"
kill_entities_in_water
: true
# Barricades
barricade:
material
: OAK_SLAB
blocks_per_break
: 1
blocks_per_repair
: 1
money_given
: 10
# Auto leave on teleport.
on_teleport_from_world_leave_game
: false
# Commands
# you can use <player> when not using player mode ( give <player> gold ).
# as well as <uuid>
# format for permission commands:
# '[PERMISSION]Some.MyPermissionNode <command>'
# '[PERMISSION]ZombieGames.vip give <player> minecraft:gold_ingot'
win:
command
:
- 'give <player> minecraft:gold_ingot'
player
: false
lose:
command
:
[
]
player
: false
# Lobby leave item.
# You can replace material with texture.
lobby_leave:
enabled
: true
slot
: 8
material
: RED_BED
name
:
"&cLeave"
lore
:
-
"&eClick to leave the lobby."
# Effects
effects:
end:
fireworks:
enabled
: true
color
: ff1778
#Sounds
sounds:
countdown:
sound
: BLOCK_NOTE_BLOCK_PLING
play_per_sec
: 5
player_downed
: ENTITY_WITHER_DEATH
new_round
: ENTITY_WITHER_SPAWN
round_ended
: ENTITY_PLAYER_LEVELUP
game_end
: ENTITY_BAT_TAKEOFF
power_up
: ENTITY_ZOMBIE_INFECT
money:
dont_have_enough
: BLOCK_NOTE_BLOCK_BASS
bought_item
: ENTITY_PLAYER_LEVELUP
already_bought
: BLOCK_NOTE_BLOCK_BASS
open_door
: BLOCK_IRON_DOOR_OPEN
barricade:
damage
: BLOCK_STONE_BREAK
repair
: BLOCK_IRON_DOOR_OPEN
# Queue
queue:
enabled
: true
priority_permission
: ZombieGames.queue.priority
# Formats
formats:
commands:
no_games_for_player
: '&8
[&2ZombieGames&8
] &cThere is
no games you can join!'
already_in_game
: '&8
[&2ZombieGames&8
] &cYou are already in a game!'
not_in_game
: '&8
[&2ZombieGames&8
] &cYou are not in a game!'
game_not_exist
: '&8
[&2ZombieGames&8
] &cA game with this name does not exist!'
game_already_playing
: '&8
[&2ZombieGames&8
] &cThe game is already running!'
help
:
-
"&8&m &a"
-
" &e&lHelp &r&e- &aZombie Games"
-
""
-
"&e/zg join &8- &7Join the best game."
-
"&e/zg join [name] &8- &7Join the game."
-
"&e/zg leave &8- &7Leave game."
-
""
-
"&8&m &a"
help_admin
:
-
"&8&m &a"
-
" &e&lHelp &r&e- &aZombie Games Admin"
-
""
-
"&e/zg join &8- &7Join the best game."
-
"&e/zg join [name] &8- &7Join the game."
-
"&e/zg leave &8- &7Leave game."
-
"&e/zg reload &8- &7Reload the config."
-
"&e/zg create [name] &8- &7Create a new game."
-
"&e/zg edit [name] &8- &7Edit a game."
-
"&e/zg test [weapon_key] [test_hit] &8- &7Test guns outside of game. test_hit - true/false."
-
"&e/zg scan item &8- &7To get the text for the item."
-
"&e/zg give item <item_text> &8- &7To get the item from text."
-
""
-
"&8&m &a"
connection:
join
:
"&8[&2ZombieGames&8] &fPlayer &a<player_name> &fhas joined the game! &8[&2<count_players>&8/&2<count_max>&8]"
leave
:
"&8[&2ZombieGames&8] &fPlayer &a<player_name> &fhas left the game! &8[&2<count_players>&8/&2<count_max>&8]"
rules:
lines
:
-
"&8&m &a"
-
""
-
"&aRULES:"
-
"Players begin the game with basic gear to combat mobs"
-
"and earn gold. Zombies typically emerge from windows"
-
"covered with wooden slabs, which they will break through."
-
"Players can repair these windows by sneaking next to them."
-
"Gear can be upgraded throughout the game. The game"
-
"continues until all rounds are completed, with each round"
-
"ending when all mobs are defeated."
-
""
-
"&8&m &a"
queue:
join
:
"&8[&9QUEUE&8] &fNo games available! You have joined the queue for &2ZombieGames&f..."
join_priority
:
"&8[&9QUEUE&8] &fNo games available! You have joined the priority queue for &2ZombieGames&f..."
leave
:
"&8[&9QUEUE&8] &fYou have left the queue for &2ZombieGames&f..."
moved_up_in_queue
:
""
countdown:
chat:
format
: '&8
[&2ZombieGames&8
] &fStarting in &2<time>&f!'
display_per_sec
: 5
title:
format
: '&fStarting in &e<time>'
sub
: '&aThe game will start soon!'
display_per_sec
: 5
win_display:
chat
:
- '&2&l<num_1_name> &e&lhas got the best score!'
- ''
- '
----------------------------'
- '&a&l1st &e<num_1_name>'
- '&a&l2nd &e<num_2_name>'
- '&a&l3rd &e<num_3_name>'
- '&a&l4th &e<num_4_name>'
- '
----------------------------'
game:
block_command
:
"&8[&2ZombieGames&8] &cYou can't execute this command while in game!"
chat:
enabled
: true
waiting
: '&7<player_name>
:
&f<message>'
playing
: '&7<player_name>
:
&f<message>'
spectating
: '&8
[SPEC
] &7<player_name>
: <message>'
barricade:
finished
:
"&8[&2ZombieGames&8] &aYou have fully repaired the barricade!"
interrupted
:
"&8[&2ZombieGames&8] &cYou can't repair while there's mobs around!"
status:
WAITING
: Waiting
STARTING
: Starting
PLAYING
: Playing
ENDING
: Ending
player_status:
downed
: REVIVE
dead
: DEAD
round_start:
head
: '&cRound <round>'
sub
: ''
round_ended:
head
: '&cAll mobs slayed!'
sub
: ''
game_ended_win:
head
: '&fGame finished!'
sub
: '&aYou won the game.'
game_ended_lose:
head
: '&fGame finished!'
sub
: '&cYou lost the game.'
player_downed:
head
: '&7<player> &cdowned!'
sub
: '&7<player> was in <room>'
action_bar
: '&eYOU ARE DOWNED, WAIT FOR OTHERS TO REVIVE YOU'
hologram
: '&7<player> &cwill die in <time> sec!'
player_died
: '&8
[&2ZombieGames&8
] &c<player> died.'
player_died_from_water
: '&8
[&2ZombieGames&8
] &c<player> drowned in the water.'
player_reviving:
revived:
chat
: '&7<reviver> &ahas revived &7<player>&a!'
stopped:
chat
: '&aYou stopped reviving!'
started:
chat
: '&aYou are reviving &7<player>&a!'
room_open:
head
: '&aRoom open!'
sub
: '&7<player> opened <room>.'
room:
hologram
: '&a<room> &7| &6<cost>'
power_up:
probability
: 0.2
boss_bar:
format
: '<power> &7- &f<time>'
separator
: '&7 | '
color
: BLUE
max_ammo:
name
: '&9Max Ammo'
material
: 'LAPIS_LAZULI'
head
: '&9Max Ammo!'
sub
: ''
probability
: 0.5
duration_seconds
: 1
double_money:
name
: '&6Double Gold'
material
: 'GOLD_INGOT'
head
: '&6Double Gold!'
sub
: ''
probability
: 0.5
duration_seconds
: 30
insta_kill:
name
: '&cInsta Kill'
material
: 'REDSTONE'
head
: '&cInsta Kill!'
sub
: ''
probability
: 0.5
duration_seconds
: 10
money:
chat
: '&6+<money> Gold'
not_enough
:
"&8[&2ZombieGames&8] &cYou don't have enough gold!"
bought_item
: '&8
[&2ZombieGames&8
] &aBought the &e<name>!'
can_not_buy_item
: '&8
[&2ZombieGames&8
] &cCan not buy this item!'
upgrade:
display
: '&a<name> &7- &e<cost>'
weapon:
ammo_name
:
"Ammo"
buy_display:
line_1
:
"<name> &7- &6<cost_weapon> gold"
line_2
:
"&eammo &7- &6<cost_ammo> gold"
name
:
"<name>"
lore
:
-
""
- "&7- Damage
:
&a<damage> HP
"
- "&7- Ammo
:
&a<ammo>"
- "&7- Magazine
:
&a<magazine>"
- "&7- Fire rate
:
&a<fire_rate>s"
- "&7- Reload
:
&a<reload_time>s"
-
""
-
"&eLeft click &7to reload."
-
"&eRight click &7to shoot."
scoreboard:
waiting:
title
: Zombie Games
lines
:
- ''
- '&7<date>'
- '&7<time>'
- '&aServer
:
&fserver_id'
- ''
- '&aStatus
:
&f<lobby_status>'
- '&aPlayers
:
&f<count_players>&7/&f<count_max>'
- ''
- '&eplay.myserver.net'
playing:
title
: Zombie Games
lines
:
- '&7<date>'
- ''
- '&a&lRound <round>'
- '&fZombies left
:
&a<zombies_left>'
- ''
- '&7<name_p_1>&f
:
&e<status_p_1>'
- '&7<name_p_2>&f
:
&e<status_p_2>'
- '&7<name_p_3>&f
:
&e<status_p_3>'
- '&7<name_p_4>&f
:
&e<status_p_4>'
- ''
- '&fKills
:
&a<kills>'
- '&fTime
:
&a<time>'
- ''
- '&eplay.myserver.net'
# '<inventory_slot>': "<material>:<amount>:<name>"
# '<inventory_slot>': "<weapon_/slot_weapon/knife>"
# '<inventory_slot>': "WeaponMechanics_<weapon_title>"
start_inventory:
'0'
: 'knife'
'1'
: 'weapon_default'
'2'
: 'slot_weapon'
'3'
: 'slot_weapon'
# Other
weapon_slot:
material
: LIGHT_GRAY_DYE
name
:
"&9Weapon slot"
lore
:
-
"&7Free slot for an"
-
"&7additional weapon."
knife:
material
: IRON_SWORD
name
:
"&eKnife"
lore
:
-
"&7A starter knife."
# Armor
armor:
armor_chain_top:
name
: Chain top set
price
: 300
priority
: 5
head
: CHAINMAIL_HELMET
chest
: CHAINMAIL_CHESTPLATE
armor_chain_bottom:
name
: Chain bottom set
price
: 400
priority
: 5
legs
: CHAINMAIL_LEGGINGS
feet
: CHAINMAIL_BOOTS
armor_iron_top:
name
: Iron top set
price
: 600
priority
: 10
head
: IRON_HELMET
chest
: IRON_CHESTPLATE
armor_iron_bottom:
name
: Iron bottom set
price
: 700
priority
: 10
legs
: IRON_LEGGINGS
feet
: IRON_BOOTS
weapons:
weapon_default:
info:
name
:
"Pistol"
timings:
reload_millis
: 1500
shoot_rate_millis
: 500
movement:
shoot_range
: 20
spread_degrees
: 0
spread_degrees_sneeking
: 0
offset_degrees_x
: 0
offset_degrees_y
: 0
amount_of_rays_per_shoot
: 1
damage:
body
: 5.0
head
: 8.0
display:
material
: WOODEN_HOE
particle:
prokectile
: CRIT
ray_by_distance
: 0.7
probability
: 1
sound:
shoot:
type
: ENTITY_IRON_GOLEM_HURT
volume
: 0.8
pitch
: 1.8
play_rate_millis
: 1000
reload:
type
: ENTITY_HORSE_GALLOP
volume
: 0.9
pitch
: 1
no_ammo:
type
: BLOCK_NOTE_BLOCK_HAT
volume
: 0.6
pitch
: 0.5
reload:
magazine
: 10
ammo_holding
: 300
auto_reload
: true
money:
head_shoot
: 8
hit
: 6
cost_gun
: 500
cost_ammo
: 400
weapon_test1:
info:
name
:
"Rifle"
timings:
reload_millis
: 1500
shoot_rate_millis
: 200
movement:
shoot_range
: 25
spread_degrees
: 0
spread_degrees_sneeking
: 0
offset_degrees_x
: 0
offset_degrees_y
: 0
amount_of_rays_per_shoot
: 1
damage:
body
: 5.0
head
: 8.0
display:
material
: WOODEN_HOE
particle:
prokectile
: CRIT
ray_by_distance
: 0.7
probability
: 1
sound:
shoot:
type
: ENTITY_IRON_GOLEM_HURT
volume
: 0.8
pitch
: 1.8
play_rate_millis
: 1000
reload:
type
: ENTITY_HORSE_GALLOP
volume
: 0.9
pitch
: 1
no_ammo:
type
: BLOCK_NOTE_BLOCK_HAT
volume
: 0.6
pitch
: 0.5
reload:
magazine
: 32
ammo_holding
: 280
auto_reload
: true
money:
head_shoot
: 7
hit
: 5
cost_gun
: 500
cost_ammo
: 400
# Here you define the enemies for your game.
# You can use /zg scan item - to get the item format.
enemies:
normal_zombie:
entity_type
: ZOMBIE
size
: 1
health
: 12.0
damage:
amount
: 5.0
is_fire
: false
kill_reward
: 10
effects
:
-
"HASTE 1"
equipment:
hand
: ''
head
: 'type=LEATHER_HELMET,color=212:87:33'
chest
: ''
leggings
: ''
boots
: ''
wolf:
entity_type
: WOLF
size
: 1
health
: 8.0
damage:
amount
: 5.0
is_fire
: false
kill_reward
: 15
effects
:
[
]
equipment:
hand
: ''
head
: ''
chest
: ''
leggings
: ''
boots
: ''
strong_zombie:
entity_type
: ZOMBIE
size
: 1
health
: 20.0
damage:
amount
: 14.0
is_fire
: false
kill_reward
: 20
effects
:
[
]
equipment:
hand
: 'type=IRON_SWORD'
head
: 'type=GOLDEN_HELMET'
chest
: ''
leggings
: ''
boots
: ''
# health can be: '10.0|60.0'
# amount can be: '8.0|14.0'
# items can be: 'type=STONE_SWORD|type=IRON_SWORD'
rounds_settings:
rewards:
command
:
- '
[PERMISSION
]ZombieGames.vip tell <player> You got calc
(
(int
)
(1 + round
(
(10 * <round>
) /
(<round> + 10
) + random
(
) * 2
)
)
) made up points!'
player
: false
preset_and_finite_rounds
: true
# settings below are used if you set the preset_and_finite_rounds to false
start_delay_seconds
: 10
end_delay_seconds
: 4
start_spawn_per_second
: 0.2
end_spawn_per_second
: 5
start_money_for_winning
: 40
end_money_for_winning
: 250
start_money_for_not_survive
: 10
end_money_for_not_survive
: 120
start_mobs
: 8
max_mobs
: 120
max_mobs_at_round
: 20
mobs
:
-
"normal_zombie"
-
"wolf"
# ENTITY_TYPE:health:hand:head:chest:leggings:boots:damage:money:is_fire
rounds:
'1':
start_seconds_delay
: 5
money_for_winning
: 100
money_for_winning_not_survived
: 20
enemies_per_second
: 0.2
enemies
:
- 'normal_zombie 4'
'2':
start_seconds_delay
: 2
money_for_winning
: 100
money_for_winning_not_survived
: 20
enemies_per_second
: 0.2
enemies
:
- 'strong_zombie 2'
- 'wolf 2'
- 'strong_zombie 2'
'3':
start_seconds_delay
: 5
money_for_winning
: 100
money_for_winning_not_survived
: 20
enemies_per_second
: 0.2
enemies
:
- 'normal_zombie 4'
- 'strong_zombie 2'
- 'normal_zombie 8'
'4':
start_seconds_delay
: 5
money_for_winning
: 100
money_for_winning_not_survived
: 20
enemies_per_second
: 0.1
enemies
:
- 'wolf 2'
- 'normal_zombie 4'
- 'wolf 4'
- 'normal_zombie 8'
'5':
start_seconds_delay
: 5
money_for_winning
: 100
money_for_winning_not_survived
: 20
enemies_per_second
: 1
enemies
:
- 'normal_zombie 5'
- 'strong_zombie 1'
- 'normal_zombie 6'
- 'strong_zombie 6'
'6':
start_seconds_delay
: 5
money_for_winning
: 100
money_for_winning_not_survived
: 20
enemies_per_second
: 2
enemies
:
- 'normal_zombie 2'
- 'wolf 2'
- 'strong_zombie 4'
- 'normal_zombie 12'
- 'wolf 4'
- 'strong_zombie 12'
- 'wolf 2'
- 'normal_zombie 4'
Other plugins:
Before you buy the plugin make sure to read carefully this page just so you'll understand what you're getting.
Terms and conditions:
This plugin cannot be refunded.
You aren't allowed to redistribute/resell this plugin.
You aren't allowed to modify or decompile the plugin.
Support: https://discord.gg/2dcXEtP