PotionPwner

PotionPwner

Block Potion Grieving
Simple Configuration, powerful implementation

Version: v1.0.0

Licensed under: GNU-GPL 3

Source @ GitHub (soon) | Showcased on mc.minefire.net!

Supports: Bukkit 1.1-R3

PotionPwner is a CraftBukkit Plugin that hooks into NMS code for potion effects to successfully block harmful (configurable) effects from Splash Potions on a configurable set of worlds, and only for other players.

Features:

  • Blocks potion effects when thrown at other players
  • Can selectively block worlds, enabling their full use in other worlds
  • Efficient potion effect checking, no performance impact

Installation:

  • Place jar in plugins folder.
  • Reload plugins with a plugin manager or restart server.

Configuration:

A default configuration file is created when plugin first loads. By default, it contains a list of every 'effect' possible (this means some effects that are not potions are included).

  • EFFECT_NAME:
    • blocked: true / false
  • blocked-worlds:
    • This is a list of worlds you want blocked. Defaults to only 'world'.

Customization:

At the moment, no customization is possible, because no messages are output and no permissions are supported.

Usage:

  1. Throw a potion at another player.
  2. If the effect is configured to be blocked and that world is listed in blocked-worlds, it will not affect that player.
  3. It behaves normally otherwise; yourself, creatures, and other worlds are not affected.
  4. There is a command to check version, /potionpwner
  5. There is a command to reload the configuration, /potionpwner reload

Known Issues:

  • Permission support for the reload command default to isOp, no permission node specified.
  • Disabling PVP also disables damage to self
  • Completely obsolete and handled by craftbukkit as of CB 1.1 R4 (revision 1932+)

Getting support:

Post a ticket including all listed plugins on your server, the entire output for /version for bukkit, your configuration, and the server log (in completeness).

Change Log:

  • (2/7/12) - v1.0.0 - initial release
    • Licensed under GNU-GPL3
    • Block Splash Potions by Type
    • Per World Plugin enabling
    • Reload Config command /potionpwner reload (must be op)
    • Version check command /potionpwner

Todo & Planned Features:

  • support PermissionsBukkit for reload command
  • support permission node configuration, and per-world pre-effect blocking

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files