Player VisibilityToggle

Player VisibilityToggle

2.8k Downloads

Description

PROJECT ABANDONATED
Active one is here ยป https://www.spigotmc.org/resources/player-visibilitytoggle.2094/

I made this plugin for my server, and i decided to public it. With this plugin you can hide or show your players in the hub server. You can customize the plugin in the config.yml and that's all. I think you will like this!

This is the toogle off http://i.imgur.com/3EeUJQ0.png

This is toggle on http://i.imgur.com/lDvhUWk.png

http://i.imgur.com/PJy8jYZ.pngGitHub Surce: You can view my code on GitHub

Features

  • Play on your hub server without lag!
  • Make custom items for the 'toggler' of visibility
  • Choose the amount for the item
  • Custom messages
  • Players:
    • can't break (on the hub server)
    • can't drop items (on the hub server)
    • can't pickup items (on the hub server)
  • Colored messages (on the hub server)
  • Have fun with this

Planned Addons

  1. Make the color code like it is
  2. No more need of a separate server for the break, drop and pickup items
  3. Set the displayName with a command: /setdisplayname[on/off] <newDesplayName>
  4. Set any message with a command: /setmessage[type] <newMessage>
  5. Add a reload command: /pvreload
  6. Make the permissions
  7. Don't hide the players with permission
  8. Use the plugin on only one server!
  9. Add all the messages in english or customisable language :D

Config File

# Config for Player Visibility by 1Tudor1
# The materials can be found here: http://goo.gl/qJVLlE
# You can get the colors from here: http://goo.gl/m6xrq2
PlayerVisibility:
# The item material when players are hide
  itemMaterialON: REDSTONE_TORCH_ON
# The item material when players are shown
  itemMaterialOFF: LEVER
# The amount for how much of the material should be
  amount: 1
# Don't touch this :D
  shrt: 0
# This is the time in seconds until the player can click again
  timeDelay: 5
# This is the name of the item when players are shown
  displayNameON: '&2Players &7>> &2Enabled'
# This is the name of the item when players are hidden
  displayNameOFF: '&2Players &7>> &4Disabled'
# This is the world where the player gets the toggler
worldToGetItem:
  world: hub
messages:
# The message when the player shows the players
  visibilityActivated: '&8[&eVisibility&8] You have toggled player visibility: &2on'
# The message when the player hides the players
  visibilityDeactivated: '&8[&eVisibility&8] You have toggled player visibility: &4off'
# The message which tells the player how much time should wait
# %timeDelay% will be replaced with the time from 'timeDelay'
  timerMessage: '&ePlease wait %timeDelay% seconds before using the Torch!'
# This message is if the player hasn't the permisson to do something
  noPermMessage: "&cYou don't have the permission to use the torch!"
miscellaneous:
#If you want to show the debug set it to true
  debug: false
#When pluginOn = true the player on join has the gamemode set to adventure and gets the torch
  pluginOn: true

Permissions

Permissions page


Plugin is original Romanian(language) - more languages coming soon


MY SERVER IP: invitee.net

Join our server: UniteElite website