Shielder

Shielder

Description:

Do you own a PVP server? Are you tired of spawn killers? Then this is the plugin for you! Shielder is a lightweight plugin which turns new players invulnerable to PVP (you can also configure if they are invincible to mobs, see the Configuration section) for 30 minutes by default when they first join your server! However, if they attack another player before the 30 minutes are up, they will lose invulnerability (same with mobs, unless you state otherwise). It also announces to everyone on the server when somebody is invulnerable or is no longer invulnerable.

Features:

  • Makes new players invulnerable to PVP and/or mobs for a configurable amount of time
  • Stops spawn killing!
  • Announces when a player is and isn't invulnerable. (Configurable)
  • Shielded players cannot attack other players! (Configurable)

Commands:

GroupCommandDescription
Admin/s or /shielderMain command for the plugin.
Admin/s time <number>Set the time in minutes on how long a player has the shield.
If no time is provided it will show how much it is currently.
Admin/s loseshield or /s lToggles between true and false,
the loss of shield on attack a player/mob.
Admin/s broadcast or /s bToggles between true and false,
the broadcast of when a player loses the shield.
Admin/s mob or /s mToggles between true and false,
if a player should have mob protection.
Admin/s pickup or /s pToggles between true and false,
if shielded players can pickup items or not.
GroupPermissionDescription
Admins.adminPermission to change the settings of the plugin.

Configuration:

Configuration is very straightforward. Simply copy the Shielder.jar into your plugin directory. Stop and Start the server. It will then make a folder in your plugin directory named "Shielder" double click the folder. 'config.yml' is where you can edit how long the player is invincible and if they can be damaged by mobs. If you want to change how long the player is invincible for, change "30" on "time limit: 30" to whatever you want (it has to be in minutes) default, it's 30 minutes. If "mob protection" is set to true, the shielded player will not be damaged by mobs, if it's set to false the shielded player will be damaged by mobs. And finally, if "remain shield" is set to false the shielded player will lose mob protection if the player damages a mob and if it's set to true the player won't be able to attack mobs at all. From version 1.3 onwards you can now enable/disable if broadcasts are shown when a player is made invincible or when the player loses invincibility. Default, this is set to true (enabled). That's it for the default configuration settings! If you have any questions please feel free to leave a comment.

To Do:

  1. Open for suggestions!

Thanks to:

Vandrake, without him, I'd still be stuck on getting the timer right :P


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    44617
  • Created
    Sep 9, 2012
  • Last Released File
    Sep 29, 2012
  • Total Downloads
    4,595
  • License

Categories

Recent Files