Giter VIP home page Giter VIP logo

magichealth's Introduction

MagicHealth

Minecraft Plugin that mimics the functionality of the Scaling Health mod ( or at least inspired by it ) adding new items including Heart Crystals that can permanently expand a player's health. Or completely limit a player's health all-together to less hearts.

• Have a full twenty hearts:

• A more challenging three hearts:

• Or even a ridiculous 100 hearts:

Items

  • Heart Dust

    Heart Dust is an item that will very rarely drop from many different hostile and passive mobs. It is the basis of most of the crafting for other items. On it's own it won't do much of anything at all.

  • Heart Shard

    The Heart Shard is a crafted item that once again is another rare drop, it will always have a drop chance of 100% but only from boss mobs like the Wither or Ender Dragon. It is used for crafting a Heart Crystal.

  • Heart Crystal

    The Heart Crystal is an extremely powerful item, when used by the player it will permanently expand their health by one heart ( or by how much is in the config.yml ). The player can not use a Heart Crystal if theyre already at the maximum health set in config.yml.

  • Heart Drain Amulet

    If player with an expanded health would ever wish to decrease their health they can craft a Heart Drain Amulet. This item can permanently decrease a players health by one heart. ( Or once again by how much is in the config.yml, and assuming the player has an expanded health to begin with. )

Crafting

  • Heart Shard Crafting

  • Heart Crystal Crafting

  • Heart Drain Amulet Crafting

Commands

Commands for MagicHealth, bare with me these commands get lengthy. They also all support TabComplete.

  • Magic Health Give Item

    • This command can be supplied with the argument list to show the available items within the plugin, or the name of the item itself to give to yourself. A second number argument can also be provided as the amount of that item.

    Example:

    /magichealthgive list
    

    Result:

    Example:

    /magichealthgive [yourname] heart_dust 5
    

    Result:

  • Magic Health Set Max

    • This command can set the maximum health of yourself or a specified player, the second argument can either be a player name or a double, if it's a player name the 3rd argument must also be a double.

    Example:

    /magichealthsetmax 20
    

    Result:

    Example:

    /magichealthsetmax portalsam 20
    

    Result:

Configuration

  • All the drop rate percentages and amounts can be configured in config.yml, you can also change how much a Heart Crystal changes your max health or how much a Heart Drain Amulet takes away. You can also change how many hearts a player starts out with or their maximum health they can get ever. There is also another data file playerHealthData that holds UUID key-value pairs for how big a players health-bar is, you may change these manually if you so desire. As of Release-1.2 you can customize a list of what mobs are in the common, uncommon, and boss mob categories so you can choose which mobs will drop these items, or if you'd like you can completely disable mob drops all together. Note: to add a mob to the mob drop list they must be in the EntityType Enum (Usually the Mob's name in capital letters with spaces separated in underscores).

Permissions

  • magichealth.giveitem

    Access to the /magichealthgive command, default permission level: op.

  • magichealth.sethealth

    Access to the /magichealthsetmax command, default permission level: op.

magichealth's People

Contributors

nyaomidev avatar portalsam1 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.