MonitoringMinecraft MonitoringMinecraft

GunGame

Датапак Datapack

Standard Gun Game (Arms Race). Kill an enemy to obtain the next weapon. Complete the entire weapon chain to win.

34 скачивания 1 подписчик
Оцените первым

GunGame

A standard GunGame (Arms Race) game where you kill players to earn the next weapon. Great for playing with friends (only one game can be running at a time!). You can also use my other datapack, RandomSpawn, to set random spawn points.

This datapack works with the gamerule keepInventor enabled (Enabled when loading the datapack)

Features

  • Custom weapon list: You can create your own weapon chain presets from any items, including modded ones.
  • Multi Items: There can be several items on one level. For example, a crossbow with arrows or fireworks.
  • Starter Kit: Create a list of items that will be given to all players at the beginning of the game.
  • Preset: The data pack already includes three weapon presets that you can use without manual configuration: vanilla preset and presets from the TaCZ and Superb Warfare mods

Commads

General:

  • /function gun_game:start - Starts the game.
  • /function gun_game:end_game - Finish the game. The game ends automatically when all but one player have won.
  • /function gun_game:give_current_gun - Give yourself a weapon at the current level. In case an unexpected problem occurs.
  • /function gun_game:next_gun - Counts the kill and give the next weapon. In case you can't complete it.
  • /function gun_game:get_guns - Give a barrel containing a list of weapons for GunGame.
  • /function gun_game:give_starter_kit - Give yourself a starter kit (it is also given at the beginning of the game).

Set a list of weapons:

  • /function gun_game:set_guns/from_block - Sets a list of weapons from the chest/barrel block below you (you must be standing on it).
  • /function gun_game:set_guns/from_hand - Sets a list of weapons from a chest/barrel in your hand (block must contain NBT).
  • /function gun_game:set_guns/from_inventory - Sets a list of weapons from your inventory.

Set starter kit (Max 9 items):

  • /function gun_game:set_starter_kit/from_block - Sets a list of items for the starter kit from the chest/barrel block below you (you must be standing on it).
  • /function gun_game:set_starter_kit/from_hand - Sets a list of items for the starter kit from a chest/barrel in your hand (block must contain NBT).
  • /function gun_game:set_starter_kit/from_inventory - Sets a list of items for the starter kit from your inventory.

Presets:

  • /function gun_game:preset/vanilla - Set Vanilla preset (default).
  • /function gun_game:preset/tacz - Set TaCZ mod preset.
  • /function gun_game:preset/superb_warfare - Set Superb Warfare mod preset.

How to place multiple items on the same level

To give players multiple items at once at a specific level, place them in a separate barrel (make sure it's a barrel!), and then copy it with NBT tags using Ctrl + Mouse Wheel. Then put this barrel in your main chest/barrel with weapons (if you use /function gun_game:set_guns/from_block) or in your inventory (if you use /function gun_game:set_guns/from_inventory).

Configuring actions

You can freely modify the data pack to suit your needs.

  • In the start function, you can add additional functions at the end of the file when starting the game. For example, teleport to the desired position.
  • In the end_game function, you can specify what happens at the end of the game. For example, teleport back to the lobby.
  • The private/player_last_gun function is run when the player is on their last gun.
  • The private/win function is run when the player has completed all weapons. The game can still continue (if there are more than two players).

Also, when a player is on his last weapon, he is given the tag last_gun. You can use this to give him effects. For example effect give @a[tag=last_gun] speed 1 0 true will give him speed (Place this function in a repeating command block.).

Presets

Vanilla

A preset consisting exclusively of vanilla Minecraft items. It includes swords, axes, trident with loyalty, bows and crossbows. The starter kit includes one arrow (for bow with infinity).
Command: /function gun_game:preset/vanilla

List of items from the vanilla preset

TaCZ

A preset consisting of guns from the Timeless and Classics Zero mod. It includes 5 submachine guns, 4 shotguns, 7 rifles, 2 sniper rifles, 2 machine guns, a grenade launcher (it does not destroy blocks), 5 pistols and at the end a golden sword with a sharpness of 10. The starter kit includes a creative ammo box (for infinite ammo).

⚠️ To use this preset you must have the [TaCZ] Timeless and Classics Zero mod installed.

Command: /function gun_game:preset/tacz

List of items from the TaCZ preset

Superb Warfare

A preset consisting of guns from the Superb Warfare mod. Preset similar to TaCZ.

⚠️ To use this preset you must have the Superb Warfare mod installed.

Command: /function gun_game:preset/superb_warfare

List of items from the Superb Warfare preset

Tips

If you're playing with firearm mods (TaCZ or others), it's best to give all players the resistance effect (command: /effect give @a resistance infinite 2 true). This way, players won't die too quickly.

If you're playing with the Superb Warfare mod, you can disable block destruction from explosions using commands:

/superbwarfare config blockDestroy false
/superbwarfare config explosionDestroy false
/superbwarfare config collisionDestroy none

And then you will be able to use RPGs, grenade launchers, C4 and other explosive weapons without destroying the map.

To make players spawn at different random points on the map, use my RandomSpawn datapack.

You can also use my Minimal hunger datapack so as not to go hungry and so that health doesn't regenerate too quickly (more details in the description).

Discord

On my Discord server, you can report bugs in my datapacks and suggest improvements. If you need this datapack for the new version, write to me about it on Discord! You can also order a datapack from me.

Смотри также

Похожие подборки датапаки — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
603 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
SparkTime
SparkTime Bedrock
82 онлайн
1.0 — 26.20 версия
SparkTime | Анархия на телефон
PazikCraft
9 онлайн
1.17 — 26.1.2 версия
Ванильное выживание со свадьбами, прокачкой боевых навыков и голосовым чатом
MigosMc
MigosMc Java + BE
844 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.1, 26.1. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат