[REQ] Hospital (area-based specialty shop)

Discussion in 'Archived: Plugin Requests' started by madflavius, Apr 28, 2011.

  1. Offline

    madflavius

    On my realistic medieval RP server, I use Bandages and Gastronomic to remove the health-giving effects of food and replace it with wool, but the bandages require the player to stand still and only heal for two hearts. I wish to have a plugin that creates hospitals, which would be areas (probably 8x8x6, but customizable would be good too) in which the owners can heal customers. It would work like this:

    1) Owner purchases land (we use Towny for this).
    2) Owner then 'buys' the rights to run a hospital. Effectively, this grants him permissions to heal customers. The amount of money spent should be customizable, and should flow wherever the admin wants (for us, it would be a "drain," similar to upkeep whereby money is removed from the server)
    3) It would be neat if a hospital had to have a certain number of beds/torches/customizable block type in the cuboid that defines the hospital, which would make them even more of an investment.
    4) When a customer enters the area of the hospital, it would notify the customer in chat like a normal shop. ("You have entered "Aventinus Hospital")
    5) There would be various healing "products", refilling half hearts or all hearts, that the owner could designate both amounts and prices for each. The customer could chose one (with chat, or with something like CommandSigns), and viola, instant health.

    I would write this myself, except I know nothing about writing for the Bukkit API (or enough Java to make this an efficient project). I figured you could scavenge code from various existing plugins to speed up the process: LocalShops or WorldGuard for the definition of cuboids, LocalShops for the "products" and the menu systems, heal code from Essentials or any number of similar plugins, and, of course, iConomy and Permissions compatible.

    Is anyone interested in working on this? From my limited understanding of Java, it seems that it shouldn't cause too much difficulty, but it would make our towns significantly more useful.
     

Share This Page