HomeJavaModsStaffOnline | GUI / MESSAGE | MESSAGE PLAYERS THROUGH GUI | REQUEST STAFF HELP | 100% CUSTOMIZABLE!
StaffOnline | GUI / MESSAGE | MESSAGE PLAYERS THROUGH GUI | REQUEST STAFF HELP | 100% CUSTOMIZABLE!
ModsJava

StaffOnline | GUI / MESSAGE | MESSAGE PLAYERS THROUGH GUI | REQUEST STAFF HELP | 100% CUSTOMIZABLE!

⬇ Download on Spigot
This plugin has now been revived! I will be releasing updates for it over a period of time with new features. :)

[​IMG]

Using Spigot 1.12.2? Click here for a specific jar made for that version (updated for the latest version).

Display your current online players and staff through a GUI (or message)!

Supports most Vanish plugins!

The GUI feature supports an infinite amount of players! This works by allowing players to browse to the next list of players in the GUIs, and go back. This is very important for a big server, or even a small one!

Players can message other players through the GUI and request staff help. Includes sound effects! :eek:

Want to support my plugins? Donate to the PayPal.me above. :)

[​IMG]

For both the Player and Staff GUI, it will display all players/staff members online. The book at the top (when hovering over it), displays the total number of players/staff members online, on the server. If you click on a staff member's head (who has notifications on - see below for notification info), it will allow you to ask them for help! You can also click on a player's head to start a conversion with them!

[​IMG]

Spoiler: Pictures
image.jpg

SharedScreenshot.jpg

[​IMG]

2017-09-26_22.58.56.png

2017-09-10_18.39.18.png

2017-09-09_15.27.30.png

2017-09-09_15.25.44.png

2017-09-09_15.24.06.png
[​IMG]

Spoiler: Information Part 1
If a staff member does NOT want players being able to request help from them, then they can click the dye at the top right to disable notifications. Click again to re-enable. The dye will only show up for those with the permission node "staffonline.notifications".
Spoiler: Information Part 2
There is also a time limit feature for requesting staff help. By default, it is 60 seconds. So once a player request staff help, they must wait 60 seconds (or what ever you set it to in the config) until they can request help again. If a player tries to request help during the countdown, they will the receive the message below stating that they must wait and how much time is left.

Also only one player can send an request at a time (if not, then the timer feature would be pointless imo).

For the Player GUI, it will display all players online. The book at the top (when hovering over it), displays the total number of players online, on the server. You can also click on a player's head and send them a message. Nice right?

In the config, by default, the "chatroom" feature is enabled. With this on, when ever a player messages another player, they will infinitely speak to each other. If one of the players closes the conversion, it will end it for the other player also.

And when a player messages a player, the player receiving the message will hear a sound (configurable in the config.yml). Same for a staff member receiving a help request.

View all sound types here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html

If you enter an incorrect sound type, then the plugin will tell you a warning in the console telling you to fix it and what section the error occurred on.

Also for both GUIs, there is a toggle feature of displaying player's (and staff members) ranks when hovering your mouse over their head. Please read this for more information.

[​IMG]

If the GUI featured is disabled in the config.yml, then these messages will show up instead of a GUI!

Spoiler: Pictures
2017-08-26_14.10.56.png
2017-08-26_14.10.11.png
2017-08-26_16.05.33.png

[​IMG]

1. /staff | staffonline.staff
When a player types in this command, it displays the current amount of staff members online.

In order for your staff members to show up when they are online, make sure they have the permission staffonline.staffmember

2. /staffonline notifications | staffonline.notifications
Aliases: /staffon notifications
Disables "help request" notifications in-game.

3. /list | staffonline.list
When a player types in this command, it displays the current amount of players online.

4. /staffonline | staffonline.staffonline
Aliases: /staffon
Displays a help text telling all commands the player has ACCESS to and what they do. If a player does NOT have access to a specific command, then when they do "/staffonline", it will NOT show that command nor how to use it. Cool right?

5. /staffonline about
Aliases: /staffon about
Gives information about the plugin (you can disable this command in the config.yml).

6. /staffonline reload | staffonline.reload
Aliases: /staffon reload
Reloads the entire config.yml file.

If displaying the player's (and staff members) rank is enabled in the config, then give them the permission node "staffonline.rank.RANK_DEFINED_IN_CONFIG" to have their rank displayed.

[​IMG]

1. %staffon%
Displays the current online staff members. If none are on, it will say so. You can configure the message for when no staff are on in the config.yml.

2. %playerson%
Displays the current online players.

3. (GUI AND MESSAGE) %prefix%
Displays the plugin's prefix in messages.

4. (GUI AND MESSAGE) %online_staff%
Displays the number of staff online.

5. (GUI AND MESSAGE) %online_players%
Displays the number of players online.

6. (GUI) %staff_member%
Displays the staff member clicked on.

7. (GUI) %username%
Displays the user who clicked on something in the GUI (i.e the user who requested help from staff member).

8. (GUI) %player_rank%
Displays the player's rank (or staff member).

9. (GUI) %time_left%
Displays how many seconds are left until a player can request help from a staff member again.

10. (GUI) %notifications_status%
Displays the current status of a Staff Member's notification setting.

11. (GUI) %recipient%
The person receiving the message when a player sends a message through the Player List GUI.

12. (GUI) %composer%

The person sending the message when a player sends a message through the Player List GUI.

13. (GUI) %composed_message%
The message sent when a when a player sends a message through the Player List GUI.

14. (GUI) %message_closing%
Defined based off whether chatrooms are enabled or not. If enabled, this placeholder represents the value "close". If disabled, this placeholder represents the value "cancel".

[​IMG]

Code (YAML):
# ---------------------------------------------------------------------------------------------------------------

# STAFFONLINE CONFIGURATION - By Gonfonix (Euro)

# PLACEHOLDERS: %staffon%, (MSG AND GUI) %prefix%, (MSG AND GUI) %online_staff%, (MSG AND GUI) %online_players%, %playerson%, (GUI) %staff_member%, (GUI) %username%, (GUI) %player_rank%, (GUI) %time_left%, (GUI) %notifications_status%, (GUI) %recipient%, (GUI) %composer%, (GUI) %composed_message%

# NOTE: To reload the config, do "/staffonline reload" in-game.

# ---------------------------------------------------------------------------------------------------------------

pluginStuff
:

  # The plugin's prefix, represented with the placeholder "%prefix%".
  pluginPrefix
: '&8 [&6STAFFONLINE&8 ] &7>&f'

  # Customize the message displayed when typing "/staffonline" OR "/staffon".

  # NOTE: The "%ifHasPermStaff%" for example means the user will only see that line if they have the permission to do that command.
  # For "%ifPluginInfoIsOn%", if plugin info is off then that message won't be displayed obviously.
  helpMessage
:
   - |-
      &f&m ---------------------------------
      &6StaffOnline&7
: &fAll commands and their descriptions that you have access to
      %ifHasPermStaff%&7/&astaff &8- &fShows all staff online on the server.
      %ifHasPermStaffList%&7/&alist &8- &fShows all players online on the server.
      %ifHasPermNotifications%&7/&astaffonline notifications &8- &fEnable / Disable help request notifications.
      %ifHasPermNotifications%&7&oAliases: /staffon notifications
      %ifHasPermStaffReload%&7/&astaffonline reload &8- &fReloads the config.yml file.
      %ifHasPermStaffReload%&7&oAliases: /staffon reload
      &7/&astaffonline &8- &fView this help page.
      &7&oAliases
: /staffon
      %ifPluginInfoIsOn%&7/&astaffonline about &8- &fView information prior to the plugin.
      %ifPluginInfoIsOn%&7&oAliases: /staffon about
      &f&m ---------------------------------

  # ---------------------------------------------------------------------------------------------------------------
  # The current ranks on your server. This is for displaying what rank a player is in the GUI's on the lore of the player head (if this feature is on).

  # To have a player's rank appear on their head when hovered on, make sure they have the permission node: staffonline.rank."RANK".
  # Or it will not show their rank.
  # Example: staffonline.rank.admin (NOT case sensitive, however, you can NOT add spaces in rank names (unless your permission's plugin allows it).

  # Also the ranks below work as in an hierarchy.
  # Example: If the player has the permission node "staffonline.rank.admin" then it will display their rank as Admin. However, if you give them "staffonline.rank.officer" then it
  # will still display Admin as their rank because it is higher in the list of ranks specified below.

  # Feel free to add and remove ranks from the list below as you wish. Just make sure it looks like what is below!
  # If you remove everything below, then it will just disable the feature. To properly disable the rank feature, toggle it from TRUE to FALSE in the GUI settings.
  # ---------------------------------------------------------------------------------------------------------------
  serverRanks
:
   - |-
      Owner
      Admin
      Mod
      Helper
      Officer
      Guest

  # If a player types in a command regarding StaffOnline, but it is not registered.
  unknownCommand
: ' %prefix% Unknown Command. Type &7/&astaffonline &ffor a list of commands.'

  # When a player types "/staffonline about" OR "/staffon about", it will display information about the plugin.
  displayPluginInformation
: true

  # If a player doesn't have access to a certain command, then this is the message that will appear prior than.
  noPermissionMessage
: ' %prefix% &cYou do not have permission!'

  # When reloading the plugin, this is the message that will be displayed.
  reloadMessage
: ' %prefix% &aConfiguration successfully reloaded!'

staffOnline
:

  # When enabled, if a player does "/staff", it will open the GUI rather than displaying the message below.
  useGuiInstead
: true

  # Customize the message displayed when typing "/staff" (IF GUI IS DISABLED).
  staffListMessage
:
   - |-
      &f&m ---------------------------------
      &6Staff Members&7
: &a%online_staff% &fare currently online.
      %space%
      &aOnline&7
:
     &f %staffon%
      %space%
      &f&m ---------------------------------

  # If no staff members are online, then this message will be displayed below "Online:" instead.
  noStaffOn
: '&cThere are no staff online.'

playersOnline
:

  # When enabled, if a player does "/list", it will open the GUI rather than displaying the message below.
  useGuiInstead
: true

  # Customize the message displayed when typing "/list" (IF GUI IS DISABLED).
  playerListMessage
:
   - |-
      &f&m ---------------------------------
      &6Players Online&7
: &a%online_players% &fare currently online.
      %space%
      &aOnline&7
:
     &f %playerson%
      %space%
      &f&m ---------------------------------

  # If no players are online, then this message will be displayed below "Online:" instead.
  noPlayersOn
: '&cThere are no players online.'

# ---------------------------------------------------------------------------------------------------------------
# GUI Configuration: If you do NOT want to use the GUI feature, then disable it above and reload the config.
# ---------------------------------------------------------------------------------------------------------------

staffOnlineGUI
:

    # Change the name of the GUI when a player opens the Staff GUI.
   guiName
: 'Staff Online'

    # Change the name of the book at the top of the GUI.
   bookName
: '&cInformation'

    # When hovering over the Staff Member's book, this is the text that will be displayed.
   bookHoverText
: '&6Staff Online&7 : &a%online_staff%'

    # Change the color of the Staff Member's name displayed.
   nameColor
: '&a'

    # If the maximum number of slots are hit inside in the Staff List, add an option to go to a second page. Change the text color here.
   nextPageText
: '&a'

    # Change the color of the nextPage lore text.
   nextPageLoreText
: '&c'

    # When the player attempts to go to another page but that page no longer exists (because staff have left).
   maximumStaffPagesHit
: ' %prefix% &cSorry but some staff have left, therefore, there is no page beyond the one you were on. Resetting menu...'

    # ---------------------------------------------------------------------------------------------------------------
    # The Help Request Feature: Allow players to request help from Staff Members.

    # To disable, change the value below from TRUE to FALSE.
    # ---------------------------------------------------------------------------------------------------------------

   enableHelpRequest
: true

    # When hovering over a Staff Member's head, this is the text that will be displayed.
   nameHoverText
: '&6Currently %notifications_status%&6. Click for assistance!'

    # When TRUE, underneath the Staff Member's availability, it will display their current rank on the server.
   displayCurrentRank
: true

    # If the above is TRUE, this is the text that will be displayed following the Staff Member's rank.
   displayCurrentRankText
: '&cRank&7 : &f%player_rank%'

    # When clicking on a Staff Member's head, a Book and Quil will appear allowing you to write a message to them.

    # This is what the book will be called.
   bookAndQuilTitle
: '&cAsk For Help'

    # When hovering over the book, this is the message that will be displayed.
   helpMessageHoverText
: '&6Click to get help!'

    # When submitting the help request, this is the message the player will receive if it succeeds in sending.
   helpRequestSuccessful
: '&aYour help request to %staff_member% has been receieved!'

    # When a staff member tries requesting staff help to their self.
   sillyMistake
: '&cYou cannot request staff help to yourself, silly!'

    # This is the message the staff member will receive.
   helpRequestMessage
: ' %prefix% &a%username% &fneeds staff assistance!'

    # When a staff member receives a help request, it will make this sound. Make sure to follow what to use at this link: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html

    # Or the sound will NOT happen and an message telling you so will be printed to the console.

    # To disable the sound feature, change the value below from TRUE to FALSE.
   helpRequestSoundsEnabled
: true

    # The sound played when a staff member receives a help request.
   helpRequestReceivedSound
: 'BLOCK_ANVIL_FALL'

    # When submitting the help request, this is the message the player will receive if it fails in sending (staff member has notifications OFF) OR if the staff member left the server.
   helpRequestUnSuccessful
: '&cCould not send help request to %staff_member% as they are not available right now!'

    # If a player is requesting help when another player is in the process of getting a staff members help, then they will get a message and this is what they will see.
   helpRequestInUse
: '&cSorry but currently someone is in the process of getting a staff members help. Please wait a bit and try again.'

    # When a player request help from a staff member, there will be a delay until a player can contact another staff member. To NOT use this feature, simply set the number below to 0.

    # NOTE: The number below is calculated in seconds.
   helpRequestTimer
: 60

    # The message displayed when the help request timer is active.
   helpRequestTimerMessage
: '&cA player has recently requested staff help. Please wait %time_left% seconds before you can request help!'

    # The message displayed if a staff member disables OR enables help request notifications. By default, they are turned on when the server starts and re-enable if a staff member logs off and logs back in.

    # ---------------------------------------------------------------------------------------------------------------
    # Change the item for when notifications are enabled/disabled.

    # Use this link for a full list of materials to use: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
    # ---------------------------------------------------------------------------------------------------------------

    # When the user has notifications enabled, this is the item that will appear.
   helpRequestNotificationsEnabledMaterial
: LIME_DYE

    # When the user has notifications disabled, this is the item that will appear.
   helpRequestNotificationsDisabledMaterial
: GRAY_DYE

    # A staff member can disable their notifications if they do "/staffonline notifications" - Keep mind that in order to do this command, they need the permission node "staffonline.notifications"
   helpRequestNotifications
: ' %notifications_status% help request notifications!'

    # A staff member can disable notifications within the GUI. This is the title of the dye.
   helpRequestNotificationsGUITitle
: '&cStaff Notifications'

    # A staff member can disable notifications within the GUI. This is the lore of the dye.
   helpRequestNotificationsGUIHoverText
: '&6Click to %notifications_status% &6notifications!'

playersOnlineGUI
:

    # Change the name of the GUI when a player opens the Player GUI.
   guiName
: 'Players Online'

    # Change the name of the book at the top of the GUI.
   bookName
: '&cInformation'

    # When hovering over the Player's Online book, this is the text that will be displayed.
   bookHoverText
: '&6Players Online&7 : &a%online_players%'

    # Change the color of the Player's Online name displayed.
   nameColor
: '&a'

    # If the maximum number of slots are hit inside in the Player List, add an option to go to a second page. Change the text color here.
   nextPageText
: '&a'

    # Change the color of the nextPage lore text.
   nextPageLoreText
: '&c'

    # When the player attempts to go to another page but that page no longer exists (because players have left).
   maximumPlayerPagesHit
: ' %prefix% &cSorry but some players have left, therefore, there is no page beyond the one you were on. Resetting menu...'

    # ---------------------------------------------------------------------------------------------------------------
    # The Message Player Feature: Allow players to message other players from within the GUI

    # To disable, change the value below from TRUE to FALSE.
    # ---------------------------------------------------------------------------------------------------------------

   enableMessage
: true

    # When hovering over a Player's head, this is the text that will be displayed.
   nameHoverText
: '&6Click to start a conversion.'

    # When TRUE, underneath the "Click to start a conversion", it will display player's current rank on the server.
   displayCurrentRank
: true

    # If the above is TRUE, this is the text that will be displayed following the Player's rank.
   displayCurrentRankText
: '&cRank&7 : &f%player_rank%'

    # The text displayed upon clicking on a player's head.
   promptText
: ' %prefix% &aType what you want to say to &6%recipient%&a. Do &7-&6%message_closing% &ato %message_closing% the messaging.'

    # If TRUE, when a player clicks on a player in the Player's GUI, they can infinitely chat with them until they do "-cancel"

    # If FALSE, then when a player clicks on a player in the Player's GUI, they will NOT infinitely chat with them. Instead they must go back into the GUI, click on their name again
    # and re-message them. They can then do "-cancel" to cancel their messages.
   useChatroom
: true

    # The message that appears on the player's screen who received a message telling them what to do, to message the player back.
   messagingStarted
: '&a %composer% has started a conversion with you. Do &7/&6list &aand click on their head to message them back.'

    # The message that appears on the player's screen who composed the message.
   messageSent
: '&6✉ &aYou &7- &a %recipient% &8> &f&o%composed_message%'

    # When a player tries messaging their self.
   sillyMistake
: '&cYou cannot message yourself, silly!'

    # The message that appears on the player's screen who received the message.
   messageReceived
: '&6✉ &a %composer% &7- &aYou &8> &f&o%composed_message%'

    # The message that appears on the player's screen who tried composing a message, but the recipient had logged off.
   messageFailure
: '&cMessage failed to send because %recipient% is no longer online! You have been put back into global chat.'

    # If Chatrooms are enabled and a player tries starting another conversion with another player during a current conversion with someone else, then it will prevent them.
   cannotStartMessaging
: '&cYou are already messaging someone. Do -close to stop messaging them and then try again.'

    # The message that appears on the player's screen who canceled the message / conversion.
   messageCanceled
: '&cEnded messaging!'

    # If a player ends a conversion with someone, then the other player will receive a message telling them it ended.
   messageEnded
: '&c %composer% has ended the conversion with you. You have been put back into global chat.'

    # If a player starts a conversion with someone, but then ends it right away before the other player could even message them back.
   messageEndedNeverJoined
: '&c %composer% had started a conversion with you, but ended it right away. No need to message them back.'

    # When a player receives a message, it will make this sound. Make sure to follow what to use at this link: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html

    # Or the sound will NOT happen and an message telling you so will be printed to the console.

    # To disable the sound feature, change the value below from TRUE to FALSE.
   messageSoundsEnabled
: true

    # The sound played when a player receives a message.
   messageReceivedSound
: 'ENTITY_EXPERIENCE_ORB_PICKUP'
[​IMG]

HEY!

This is my first ever plugin, so let me know what you think!

REVIEWS:

If you decide on making a review, then that is much appreciated. However, do not state current bugs you are having with the plugin in your review. Please private message me on Spigot beforehand so I can see what the problem is you're having. Thanks!

Terms and conditions

My plugin is under the all rights reserved license.
You are not allowed to redistribute this plugin on any website.
You are not allowed to modify or decompile this plugin.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

StaffOnline | GUI / MESSAGE | MESSAGE PLAYERS THROUGH GUI | REQUEST STAFF HELP | 100% CUSTOMIZABLE! is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13, 1.14, 1.15. Downloaded 8,513 times (via Spigot). Download it and open it directly in the game.

Explore more