Giter Club home page Giter Club logo

statreset's Introduction

This is a simple plugin that takes the RPG plugin, mcMMO, to the next level. When the player dies, a user-specified penalty is applied to the chosen skill(s). This feature can be turned off per player or even per world with the use of permissions.

As this is an extension to mcMMO...mcMMO is required!

PERMISSIONS:
statreset.user.check - Allows usage of the /statreset check command.
statreset.user.reset - If true, the player's skills will be reset on death. If false, no stat loss will occur.
statreset.admin.deathmessage - Allows usage of the /statreset deathmessage command.

COMMANDS:
(/sr is the alias of /statreset)
/statreset check - Shows if StatReset on death is on/off.
/statreset deathmessage - Shows the displayed death message (for debug).

CONFIG:
type - The type of penalty; "level" to remove levels or "experience" to remove experience.
penalty - When using type "level", this is the number of levels remove and if the number is set to 0, ALL levels are removed. When using type "experience" this is the percentage of current experience to be removed (eg 100 = 100% and 17 = 17%).
affectedSkills - the list of the skills that are affected by the penalty.
deathMessage - the string that is displayed when a player's stats are reset. Use "&skills" to display the skills affected and "&penalty" to display the applied penalty.

statreset's People

Contributors

shillysit avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

teegee543

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.