Git Product home page Git Product logo

deathtoll's Introduction

Death Toll Datapack Copyright (C) 2024 orian34

Version 2.1 For Minecraft 1.20.5+

Death Toll

Now death has consequences, but without the inventory management tedium! Will set keepInventory, but in exchange, each death will have a toll and if you die while in debt, it will wipe your inventory. Breaking spawners will give you an Obol, with a limit of 3 times the amount needed per death. Default is 12 Obols per death. It also gives back one of the lost items from previous deaths.

Objectives and shulker boxes will NOT be saved in Challenge and Ordeal despite having keep inventory.

There is a difficulty setting to change the amount and some extra features:

Reprimand: 6 Obols, only removes shulker boxes and objectives. Gives Resistance when in debt.

Challenge(default): 12 Obols. Doesn't remove the hotbar and equipped slots.

Ordeal: 18 Obols. Reduced max obol stock amount to 2 times. Also removes ender chest inventory.

And hardcore difficulty options:

Bankruptcy: If hard isn't hard enough. No take-backs. Breaking spawners doesn't reimburse items. Items are gone forever.

Mortgage: If hard isn't hard enough. No mistakes allowed. Breaking spawners doesn't pay your toll. Permanent debt state.

For mapmakers

To have your objectives be compatible, simply add the custom tag "objective:1b" to them.

A score "toll_counter" counts the amount of items left to reimburse, for easy hooking.

Also use the function deathtoll:give_book to allow easy config for players. I recommend using a book lectern in lobby and a spare at the monument(one will be given when a player wipes for the first time).

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.