GithubHelp home page GithubHelp logo

deathdb's Introduction

DeathDB

About

DeathDB is a plugin that allows Staff Members to log data about Player Deaths.

When a player dies, DeathDB will log the following information to a Table with the name of their UUID in an SQLite Database:

  • The location (X, Y, Z) of the death.
  • The name of the world the player died in.
  • A serialized copy of the players inventory.

This information can then be retrieved at a later date by Staff Members. They also have the option of restoring the players inventory, if they deem necessary.

Compilation

If you wish to compile DeathDB yourself, please follow the steps below:

  • Clone the repository into a directory of your choice through running git clone https://github.com/105hua/DeathDB.git
  • Navigate to the directory you cloned the repository into.
  • In a terminal, run gradlew build on Windows or ./gradlew build on Linux.
  • The compiled jar file will be located in build/libs/DeathDB-<version>.jar, upon completion.
  • You can then move this jar file into your plugins folder.

Usage

DeathDB provides two commands for Staff Members to use:

  • /showdeaths <player>: Using this command on a valid player will display the last 5 available deaths in your chat.
  • /restoreinventory <player> <index>: Using this command on a valid player, alongside an index taken from the previous command will restore the players inventory to the state it was in before the death occurred.

To run the showdeaths command, you will need the deathdb.showdeaths permission. For the restoreinventory command, you will need the deathdb.restoreinventory permission.

deathdb's People

Contributors

105hua avatar mtresnik 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.