Code Monkey home page Code Monkey logo

datapack_survivalgames's Introduction

Survival Games datapack

What is this?

This Minecraft datapack lets you instantly create a hunger games/survival games set up in your world. The datapack spreads players over an area and introduces a shrinking border which over a time of max 30 minutes will unit all the players in the middle. The pack comes equipped with multiple options to enable customizability, such as: toggle coordinates, toggle UHC mode, toggle teams, etc...

Furthermore, this pack also has support for map re-generation by moving the whole playing area, thus enabling for different maps every match if requested.

Installation

Simply install the datapack by dragging it into the "datapacks" folder in your world and get going in unzipped form. After installing the pack it is instantiated by running the command /function sg:triggers/init which will set up everything and prepare the game. Only moderators can start and change settings in-game, to become a moderator simply give yourself the tag Moderator by running the command /tag @p add Moderator

You're good to go, good luck in the games

Gallery

datapack_survivalgames's People

Contributors

anorinarycabbage avatar hampfh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

datapack_survivalgames's Issues

World preload script

Larger worlds have more chunks to load, thus resulting in a lot of processing power required during the game to generate chunks. This can be solved by adding a sign linked to a loading script that will teleport around all players (with blindness) in order to generate the chunks before the game starts

No loot chest found

I activated loot crates but when in game I still can't find any chest or barrels. May be with the coding? I saw the first line in tier json file write chest but in mcfunction files it writes barrel.

Variable playing area

It should be possible to change the size of the worldborder & shrink time as a setting. Preferably completely custom but otherwise predefined steps could also work.

OPTION: Airstrikes

At some moment, a bunch of ender dragons fly quickly through the sky and drops tagged things and summon primed TNTs

Bonus effect for compeleting parkour

As you mentioned in an update, the lobby does have a parkour course, so we should have some li'l reward for them right? I suggest that we should give that player an effect (such as strength, haste, resistance, etc...) so the parkour wouldn't be useless.

preloading after game started

After starting the game (in countdown) I can still start preloading and if the countdown ends, the game still preloads and then tp back to the lobby

New sign editing feature breaks the datapack in versions 1.20+

Title. I understand the datapack is depricated now so I don't expected anything to get fixed, but there still isn't a datapack like this that exists so if anyone has a solution to using the signs on versions after 1.19 please let me know.

As fas as I know, everything else about the datapack works perfectly fine, but many signs are no longer interactable due to this new feature. I'm not sure if there's a way to get the same functionality of the sgins by using in-game commands.

UHC regeneration problem

When UCH mode is active, winning players will not regenerate health when teleported back to the lobby

Late-game implementations

When playing the game I've noticed that in the very late game there are only two players/teams alive, almost always at different altitudes, (one blocking himself in the skies and one in the mines). The datapack need some form of implementation to handle this as the current situation allows for camping and thus for the game to continue far beyond the max game duration. I've tested to have the border shrink to one block instead of 20, however this does not solve the problem as it still allows for the players to be on different altitudes.

One thing I have considered is either start spawning mobs around both players or even better, teleport the two into some form of arena (or simply to the same altitude) in order to force action from the players.

Blip function

When the function is called it will reveal players every x second in order to force engagement

Optional Disable Shields

Implement a sign for shield settings so that shields can be disabled per game

Would it be better to remove the shield and give back the items, or just outright warn the player not to make a shield in that game?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.