Git Product home page Git Product logo

dmpinventoryplayerinfo's Introduction

This release is part of the source code release as outlined in this announcement.

DMPInventoryPlayerInfo for DeathMessagesPrime

This plugin adds the %inventory% and %inventorykiller% tags to DeathMessagesPrime, after which they can be added to death messages. The text they appear as can be configured within the configuration of this plugin.

Clicking %inventory% will show the player's inventory at the time of death, including the hotbar (bottom), armor slots (top left), offhand slot (top middle), list of potion effects active at the time (top right, potion) and the amount of damage that caused the death (top right, redstone).

%inventorykiller% does the same action, but for the inventory of the player that acted as the killer (if the player wasn't killed by a player, the tag will be replaced with nothing). Instead of the damage being shown in the top-right, it shows the amount of health the killer had at the time of the kill.

There are also the tags/placeholders %plrtaginv%, %victiminv%, %killerinv% and %killer2inv%. These show up as the vanilla DMP %plrtag%, %victim%, %killer% and %killer2% respectively, but can be clicked to open the inventory of that player.

There is some extra customizability: hunger and XP items exist, but are hidden by default. See the configuration on details how to enable them as well as how to customize the other items and how they appear.

Here is an example, with a sample inventory:

Inventory example

...which will appear like this:

Inventory example when viewed through link

with the potion list provided in the tooltip of the potion in the top right and the amount of damage (or the killer's health) in the name of the redstone item in the top right.

dmpinventoryplayerinfo's People

Contributors

cosmoconsole avatar

Watchers

 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.