GithubHelp home page GithubHelp logo

1whohears / gravestone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from henkelmax/gravestone

0.0 0.0 0.0 958 KB

Places a gravestone with your inventory items inside when you die.

Java 100.00%

gravestone's Introduction

GraveStone Mod

Links


Basic Functionality

Every time you die, a grave is placed at your position. To retrieve your items just break the grave. There is also a config option to get your items back by sneaking on the grave (1.16.3+ only).

When you right-click the grave it will show information regarding the death of the player.

Sorting (1.16.3+)

Since version 1.16.3-2.0.0 the grave is now able to store your items back into their original slots.

The Obituary

Everytime you die you get an obituary. If you don't want that you can disable it in the config.

It contains:

  • The name of the player
  • The dimension the player died in
  • The date the player died
  • The coordinates where the player died
  • An image of the player with its equipment at the time of death
  • A list of every item the player had when he died

If you don't want to keep the obituary after you recovered your items, you can enable the automatic removal in the config.

Naming the Grave

If you break the grave with silk touch, you get it dropped as an item. You can also craft graves.

Naming the grave in an anvil, allows you to have custom text displayed on your grave.

Customization

There are several things you can change in the configs:

  • The color of the text on the grave
  • If the skull on the grave should be rendered
  • Whether you want to get the obituary on death
  • The blocks that can get replaced by a grave
  • If the death note should get removed form the players inventory when breaking a grave
  • If only the owners of the grave should be able to break it
  • If a ghost of the player should spawn when breaking the grave
  • If the ghost should be friendly and defend the player or if it should attack the player
  • If the grave should get broken when sneaking on the grave
  • If the items should get sorted back into their original slots when breaking the grave

Recovering Lost Items (1.16.3+)

If you somehow lost your items you can recover them with the recover command.

The syntax is /restore <player> <death_id> <replace|add>.

The parameter player is the player whose inventory should get restored.

The parameter death_id is the ID of the death. You can find it out by enabling advanced tooltips (F3 + H) and opening the obituary. The death ID also gets written into the logs if a grave couldn't get placed.

The last parameter defines if you want to get the players inventory replaced (Overwritten) or added (Just adds the items to the players existing inventory).

You can also get a pre made restore command by sneaking and right-clicking the obituary as an admin.

Edge Cases

If you die inside a block, the grave is placed at the next empty space above your location. If there is no free block above your position, or you are above the build limit, your items drop as usual.

If you fall into the void, the grave is placed at the lowest point in the world where blocks can be placed. If there is no free space it will get placed at the next free spot above.

gravestone's People

Contributors

henkelmax avatar greg-21 avatar regnander avatar buuz135 avatar canaleta avatar enterfor avatar ganbare-lucifer avatar kagaribi172 avatar bricktricker avatar polarni avatar rabrunos avatar blackaures1 avatar othuntgithub avatar

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.