This plugin is currently marked as broken and unavailable for download
Tricky
Hit stuff with the hammer and do things

Supported Games
GameServerKingsGameServerKings

Magic Hammer is a simple plugin that allows users with permission to use the hammer as more than just a building tool.

Features

  • 1 Click repair/destroy
  • Can charge for repairs (optional)
  • Can delay repairs after entity takes damage (enter 0 to disable)

Permissions

  • magichammer.allowed -- Required to use the plugin

Commands

This plugin provides universal chat and console commands. When using a command in the chat, prefix it with a forward slash: /.

  • mh

Configuration

{
  "bChargeForRepairs": true,
  "bDestroyCupboardCheck": true,
  "bMessagesEnabled": true,
  "bUsePopupNotifications": false,
  "iProtocol": 1949,
  "nModesEnabled(1=repair only, 2=destroy only, 3=both enabled)": 1,
  "nTimeSinceAttacked": 8,
  "tHammerEnabled": "Status: {hammer_status}.",
  "tHammerMode": "You have switched to: {hammer_mode} mode.",
  "tHammerModeText": "Choose your mode: 1 = <color=#2EFE64>repair</color>, 2 = <color=#FF4000>destroy</color>.",
  "tMessageDestroyed": "Entity: <color=#F2F5A9>{entity_name}</color> <color=#FF4000>destroyed</color>.",
  "tMessageModeDisabled": "{disabled_mode} mode is currently <color=#FF4000>disabled</color>",
  "tMessageRepaired": "Entity: <color=#F2F5A9>{entity_name}</color> health <color=#2EFE64>updated</color> from <color=#FF4000>{current_hp}</color>/<color=#2EFE64>{new_hp}</color>.",
  "tMessageUsage": "/mh <enabled/mode>.",
  "tNoAccessCupboard": "You <color=#FF4000>don't</color> have access to all the tool cupboards around you."
}

To-do

  • Migrate messages to Lang API to allow other languages
  • Enable economy support
  • Enable raid block support
This plugin is unlicensed and the original author reserves all rights to it.

The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.

Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.