Remove all blocks of a player with a single command. #58


  • Enhancment
  • Started
Open
Assigned to axeldios
  • _ForgeUser10764876 created this issue Oct 22, 2013

    It would be great if you could provide a way to remove all protection blocks placed by a player with a single command, I don't know, something like:

    /ps remove-all-ps <player> - Removes all placed protection blocks owned by a player.

  • _ForgeUser10764876 added the tags New Enhancment Oct 22, 2013
  • AxelDios removed a tag New Oct 22, 2013
  • AxelDios added a tag Started Oct 22, 2013
  • AxelDios posted a comment Oct 22, 2013

    If you read the Commands Page, there are already several options to remove player regions, by player name, and by last played time, etc.

    This information is from the Commands Page:

    To remove all the player's regions: /ps region remove [player]

    To remove and regenerate all the player's regions: /ps region regen [player]

    To remove a player from the owners list of all regions: /ps region disown [player]

    All region commands affect all WorldGuard Regions for the selected player, not just ProtectionStones Created WorldGuard Regions.

    Warning /ps region remove and /ps region regen commands remove the WorldGuard Regions even if other owners own the regions, use with care and always backup your servers.

    These are for time based removal, in case that is your next question:

    To remove all regions for players with a last logon equal or greater than "days": /ps admin cleanup remove [days]

    To remove and regenerate all regions for players with a last logon equal or greater than "days": /ps admin cleanup regen [days]

    To remove player names from all region owner lists for players with a last logon equal or greater than "days": /ps admin cleanup disown [days]

    (If you don't include a number for days then 30 days are used.)

    Admin cleanup commands affect all WorldGuard Regions, not just ProtectionStones Created WorldGuard Regions.

    Warning /ps admin cleanup remove and /ps admin cleanup regen commands remove the WorldGuard Regions even if other owners own the regions, use with care and always backup your servers.


To post a comment, please login or register a new account.