health-station

#30 - published 3 months ago

Health Station

This plugin is WillKill’s idea and I made it because I think it’s good for roleplay servers and if it’s someone’s idea I won’t make it only for myself.

The plugin lets you heal yourself for free or for money in a Health Station.

 

Commands:

  • /hs add – Sets free HealthStation on your current position.
  • /hs add <cost_for_heal> – Sets paid HealthStation on your current position
  • /hs remove – Removes HealthStation if you\’re in range of a one.
  • /hs remove <index> – Removes HealthStation by index.
  • /hs move <index> – Moves HealthStation to your current position.
  • /hs index – Gets index of HealthStation if if you\’re in range of a one.
  • /hs count – Gets number of HealthStations.
  • /yes – Heals yourself if you\’re in HealthStation.

Permissions:

  • healthstation.hs
  • healthstation.yes

Requirements:

  • Uconomy

If you like this plugin you can donate me.

Default configuration


Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Translation Id="station_welcome" Value="Welcome to Health Station! Would you like to heal yourself? (Type /yes to agree)" />
  <Translation Id="station_welcome_pay" Value="Welcome to Health Station! Would you like to heal yourself for {0} {1}? (Type /yes to agree)" />
  <Translation Id="hs_usage" Value="Use: /hs add/remove/move/index/tp/count" />
  <Translation Id="hs_ucon_false" Value="Uconomy is disabled" />
  <Translation Id="hs_added" Value="Station added! Index = {0}" />
  <Translation Id="hs_added_pay" Value="Station with cost {0} added! Index = {1}" />
  <Translation Id="hs_wrong_cost" Value="Enter correct cost" />
  <Translation Id="hs_too_close" Value="You're too close station" />
  <Translation Id="hs_no_stations_exist" Value="There's no existing stations" />
  <Translation Id="hs_wrong_index" Value="Enter correct index" />
  <Translation Id="hs_removed" Value="Station removed" />
  <Translation Id="hs_not_in" Value="You're not in station" />
  <Translation Id="hs_moved" Value="Station moved" />
  <Translation Id="hs_index" Value="Index: {0}" />
  <Translation Id="hs_count" Value="Number of stations: {0}" />
  <Translation Id="yes_cooldown" Value="Tou have to wait {0} seconds before healing" />
  <Translation Id="yes_not_money" Value="You don't have enough money to heal yourself" />
  <Translation Id="yes_healed" Value="You were healed" />
</Translations>

Commands and permissions


/healthstation <args>

Permissions: healthstation

Add or remove Health Station


/yes <playername>

Permissions: yes

Heals players


Git changelog


40f0933768f2a43 2016-10-09 13:06:50

Merge branch 'master' of https://github.com/LuxarPL/HealthStation.git

    Download

    Build #30
    By downloading this file, you agree to our license terms.

    Repository

    github.com

    License

    MIT

    Author

    Raxul