HidePlayers [1.8 1.13] 1.2

Register now to download for free
An elegant way to hide players. Comes with cooldown and is very customizable.
Tags
Tags
None
What is HidePlayers?
HidePlayers lets your players hide other players in the lobby. This is both a great way for players to reduce lag or if other players are getting in the way.

Features:
  • Hide other players on the server.
  • Cooldown between use.
  • Customizable item and messages.
  • Make staff unhide-able (OPs and players with hideplayers.staff)

Commands:
/HP Reload - Reload the plugin.

Permissions:
hideplayers.use - Use the HidePlayers item.
hideplayers.reload - Reload the plugin.
hideplayers.bypass - Bypass the cooldown.
hideplayers.staff - Become unhide-able.

Configuration:
Code:
#===============================#
#                               #
# HidePlayers Plugin            #
# Version: 1.0                  #
# Developer: LazyDk             #
#                               #
#===============================#

#==========================================#
#               Placeholders               #
#                                          #
# {remaining} - This gets replaced with    #
# the remaining seconds of the cooldown.   #
#                                          #
# {prefix} - This gets replaced with the   #
# plugins prefixThis will show the prefix. #
#                                          #
#==========================================#

# if this is set to 'false' all players with OP or the permission hp.staff
# won't be hidden when players use the HidePlayers item.
Hide-Staff: false

#=============================#
#       HidePlayers Item      #
#=============================#

# The slot the item should appear in (1 - 9)
HidePlayers-Item-Slot: 1

# At 'Material' you can use either the name of the material or its ID.

Show-Players-Item:
  Name: '&6Show Players &7(Right-Click)'
  Material: INK_SACK
  Data-Value: 10
  Slot: 1
  Lore:
    - '&9&m--------------------'
    - '&7Click to show all players'
    - '&7on the server.'
    - ''
    - '&b&oTip: Used to reduce lag'
    - '&b&oor hide annoying players.'
    - '&9&m--------------------'

Hide-Players-Item:
  Name: '&6Hide Players &7(Right-Click)'
  Material: INK_SACK
  Data-Value: 8
  Slot: 1
  Lore:
    - '&9&m--------------------'
    - '&7Click to hide all players'
    - '&7on the server.'
    - ''
    - '&b&oTip: Used to reduce lag'
    - '&b&oor hide annoying players.'
    - '&9&m--------------------'

#=========================#
#         Cooldown        #
#=========================#

# The cooldown time is in seconds.
# Players with the permission 'hp.bypass' will be able to bypass the cooldown.
Cooldown:
  Cooldown-Time: 5
  Cooldown-Message: '{prefix} &bYou need to wait {remaining} seconds before using again!'

#========================#
#        Messages        #
#========================#

Prefix: '&9[&6HP&9]'

Messages:
  Show-Message: '{prefix} &aAll players are no longer hidden!'
  Hide-Message: '{prefix} &cAll players are now hidden!'
  Reload-Message: '{prefix} &aThe config.yml file was Sucessfully reloaded.'
  Only-Players: '{prefix} &cOnly players can use that command.'
  Invalid-Item-Material: '{prefix} &cInvalid item material. Please contact an administrator.'
  No-Permission: '{prefix} &cYou do not have permission for this action.'

Support:
Please do not use the review section for bug reports or issues. You can instead send me a private message over Mc-Market by clicking here.

Latest updates

  1. v1.2 - Bugfixes

    - Fixed error occurring when a player with hiding enabled leaves the server and another player joins
  2. v1.1 - Bugfixes

    - Fixed creative players being able to remove the HidePlayers item from their inventory

Latest reviews

Nice! I needed the plugin that can do this!
LazyDk
LazyDk
Thank you for your review!
Working plugin, I would recommend to anyone who has a hub server.

Author

LazyDk

Owner
Author
LazyDk
Downloads
43
Views
622
First release
Last update
Rating
5.00 star(s) 2 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.