Sueta

HidePlayers [1.8 - 1.12]

1.2

An elegant way to hide players. Comes with cooldown and is very customizable.

·Plugin

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:

config.yml
#===============================#
#                               #
# HidePlayers Plugin            #
# Version: 1.2                  #
# 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 spigot by clicking here.

Similar projects

Plugin →