StaffOnline | GUI / MESSAGE | MESSAGE PLAYERS THROUGH GUI |
1.5.7See all players / staff online through a GUI or MESSAGE! File help request to staff members!
1.5.7latestApr 15, 2020 1.5.6SMALL BUG FIXFeb 24, 2020 Due to a previous update feature, if a player had clicked outside of a GUI window, it would print an NullPointerException error to the console every time. This has now been fixed!1.5.5MINOR FIXFeb 23, 2020 If you had entered an invalid material type for the notification material in the config.yml, it would error in the console. Now I made it so it catches this error and prints an warning message in the console telling you how to fix it. Make sure your notification materials are set properly in the config.yml or the staff GUI won't display properly (you will be warned if something is wrong)!1.5.4Minor Bug FixFeb 23, 2020 I fixed a minor NullPointerException error that would occur if you dragged a player head into the GUIs. I also made it so the code now checks if you clicked within that inventory - not just if it's open.1.5.1"IMPORTANT" MAJOR ADDITION | INFINITE PLAYERS IN GUI NOW!Feb 23, 2020 Major Changes: · Before this update, only up to 36 players would be displayed in the player list and staff list GUI. Now it supports INFINITE players! When there is too many players on a given page, you can now click to go to the next page and go back, of course. This is super important for a large player base! · I added new text options to the config now for this update (see below). Major Fixes: · I fixed a few bugs with the player list and staff list (if the GUI options are NOT enabled). · Some other minor bugs fixes and tweaks were made. Config Changes: In order to have an updated config.yml file, delete it, update the plugin on your server, and restart your server. If you want to compare your config.yml with the NEW one, then go to this link. Pictures: .SpoilerTarget">Spoiler: Pictures Thanks for supporting the plugin! 1.5.0Feb 23, 2020 1.4.6BUG FIXESFeb 18, 2020 I fixed a small NullPointerException Error and a few bugs with the player message system.1.4.5ADDED VANISH SUPPORTFeb 18, 2020 I added support for many vanish plugins, including PremiumVanish, SuperVanish, VanishNoPacket and so forth. Therefore, if a player is vanished, they will be hidden from the Player List menu and Staff List menu (this includes both GUI and message). Also make sure to add the following to your config.yml under the playersOnline section: Code (YAML): # If no players are online, then this message will be displayed below "Online:" instead. noPlayersOn : '&cThere are no players online.' OR delete the config.yml file before updating the plugin and restarting the server.1.4.2Minor ChangeFeb 17, 2020 I added bStats support for the plugin now.1.4.0Updated the plugin for Spigot 1.15 + support, new changes, and bug fixes!Feb 16, 2020 Hello everyone! I present you this plugin, now updated for 1.15. It was previously not updated past Spigot 1.12. This was due to me losing my source code, however, I have found a way to decompile the plugin decently enough to update it. I fixed a few bugs in this update and added space support in the message strings that are more than one line. I am going to also be releasing new changes to this plugin over time, so stay tuned! Find any bugs? Send me a private message on Spigot ASAP for help or reporting issues. Thank you! 3.7SLIGHT CHANGE IN DISPLAYING CURRENT RANKSep 27, 2017 Make sure to change the version number in your config from "3.6" to "3.7"! I made it now so when a player hovers over a player's (or staff members) head, it will now show their rank first then below that will be the message (i.e click for staff help / click to start a conversion). Here is an image of what I mean: Make sure to change the version number in your config from "3.6" to "3.7"! 3.6INTRODUCING DISPLAYING PLAYER RANKS! | A SLIGHT BUG FIX | "HOPEFULLY" FIXED PLUGIN UPDATE CHECKINGSep 26, 2017 Config changes! Go on the plugin page to view the config and run a comparison to see what changes I made using diffchecker.com and add those changes to your config... OR.... just delete the config.yml, install the new version of the plugin, and restart your server to get a fresh new config. Due to a request by Kramcraft, I have added a brand new feature to the plugin and that is displaying the player / staff member's rank when hovering your mouse over their head in the GUI! This feature, of course, can be turned on and off for each GUI in the config.yml. To have a player's rank displayed, simply give them, or the group they are apart of, the permission node "staffonline.rank.RANK". The "RANK" represents the name of the rank in the config.yml. NOTE: Rank names are NOT case sensitive, however, you can NOT add spaces in rank names (unless your permission's plugin allows it). Example: In the config, I have made some default ranks as an example. You can of course add more to these or remove some at your own will. But as an example, if you wanted an Admin on your server to have their rank displayed as "Admin", then you would give them the permission node "staffonline.rank.admin". If, however, admin was not a defined rank in the list of ranks below, then giving them that permission would do nothing. Code (Text): serverRanks: - |- Owner Admin Mod Helper Officer Guest ALSO... (based of the defined ranks above) if a player (or staff member) has the permission node "staffonline.rank.mod", for example, then their rank displayed will be "Mod". However, if they are given the permission node "staffonline.rank.admin", for example, then their displayed rank will now be "Admin" since Admin, in this example, is higher in the list of ranks defined on your server. Image of this in-game: If a player is not given a permission defining their rank, then nothing is displayed: This is the same look for both the Staff and Player GUI. You can customize how the message appears (displaying their rank) though separately for both GUIs. Bug Fixes: I fixed a bug where when a player would click on a player to start a conversion with them (if, of course conversions are enabled) but then closed it right away without even sending the other player a message, it would then send that player a message saying "the conversion has ended no need to message them back" when they were never alerted of a conversion being started to begin with (since the player starting the conversion never sent a message to begin the conversion. All they did was click on the player's head and did -close). I also (hopefully...) fixed the update bug. Basically the plugin would say their were updates available when in reality the plugin was actually up to date. If for some reason I still did not manage to fix this bug, I will then extensively look into it and release an update later hopefully fixing it then. But lets hope it is fixed . Lastly... I added something new to the config and that being the prefix of the plugin. You know the messages that say "STAFFONLINE - ...message"? Well the "STAFFONLINE" is the plugin prefix. Now you can customize it and change it to your liking more easier by just editing one thing in the config versus going through all of it. You can delete the config by removing the placeholder (%prefix%) from all messages containing it or by removing the prefix entirely in which where you edit it. The reason I added this is for messages you cannot edit. i.e the update messages, as they display a prefix. Config changes! Go on the plugin page to view the config and run a comparison to see what changes I made using diffchecker.com and add those changes to your config... OR.... just delete the config.yml, install the new version of the plugin, and restart your server to get a fresh new config. 3.5NEW FEATURES | MINOR CHANGES | MINOR BUG FIXESSep 13, 2017 Just some small changes. All changes made: - If a player clicks on a player head now when they are in a conversion with someone already, then it cancels saying they need to end the current conversion to start another one with another player. The following changes only affect you if you have the Chatroom feature enabled: - If a player sends a player a message, the recipient receives a message saying how to message them back. - If a player sends a player a message and then does "-close" without the other player being able to respond at all, it then sends that player a message saying it ended; no need to message back. - If two players are in an ongoing conversion and one of them does "-close", then it ends the conversion for the both of them warning the other player that they were talking to ended the conversion. Other changes: - If a player logs out during an ongoing conversion, then it says the other player left, their message is canceled, and they are put back into local chat. - Added a check for useGui: Basically if you have GUIs off now, then notifications are disabled (as they are useless since they only work if GUIs are on) and the command usage is removed from the help message. - some minor bug fixes (honestly can't remember as I did this really late) Make sure to refresh the entire config.yml to ensure you have everything correct. 3.4NEW "CHATROOM" FEATURESep 11, 2017 I added a new option to the config.yml (now on by default), that makes it so when you click on a player in the Player List GUI, you will infinitely chat with them until you do "-close" to end the messaging. If you disable this in the config, then when you message a player it will only send one message. You will have to go back into the Player List GUI to resend another message. In this scenario, do "-cancel" to cancel a message. Also I made it so if you have the chatroom enabled, then when a player messages you, you will only hear the ding once. Only until the player sending you messages does "-close" and re-messages you again, you will hear it again (this is to prevent constant sounds going off ). Config changes! Make sure to change the version number, and add or change the following edits below : .SpoilerTarget">Spoiler: Config Changes Code (Text): # The text displayed upon clicking on a player's head. promptText: '&6STAFFONLINE &8- &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 Or to be safe, just delete the config.yml and restart your server.3.3SLIGHT CHANGE | CHANGED THE RELOAD COMMANDSep 11, 2017 Sorry for another update right after the last one Anyways I made it so now so a player has to actually confirm a help request in order for the timer to start (by timer, I mean the duration in which a player can contact a staff member after one was just contacted). Beforehand, if a player clicked on a staff member's head, and didn't do anything and closed the GUI, then the timer would start regardless. So that is now changed I also changed the reload command. Instead of doing "/staffreload" to reload the config, you now must do "/staffonline reload" (or "/staffon reload"). Also some spelling fixes in the config.yml. Make sure to refresh the version number and the "pluginStuff" section of the config.yml OR just completely reload the config.yml.3.2GUI BUG FIXES | NEW MESSAGE FEATURE FOR THE PLAYER LIST GUI | SOME MINOR TWEAKS | SOUND EFFECTS!Sep 10, 2017 Config changes! Make sure to refresh the version number, Staff, and Player GUI settings in the config.yml (I added new things and edited the existing stuff). OR just delete the config.yml file and restart your server just to be safe. Okay so first of off, as the title states, I fixed some bugs in both of the GUIs. This bug being where not all heads would get removed sometimes when a player would leave or the heads would duplicate (hopefully fixed). I also added a brand new feature for the Player List GUI, and this being a new message system. Basically upon clicking on a player's head, you will be prompted to type out a message to them. When hitting enter, they will receive your message and it will also play a sound effect! If you want to cancel your message, then simply type -cancel. You can change the message look and the sound effect in the config.yml. I also added a sound effect now for when a staff member receives a help request. Once again, configurable. Also if you try help requesting yourself now or if you try messaging yourself, it will print out a silly message (configurable). And finally, you can disable both the message system for the Player GUI now and the request help feature in the Staff GUI, if you rather not use these. If you disable the help request feature, it will also disable the notification system, as it would not be necessary. Config changes! Make sure to refresh the version number, Staff, and Player GUI settings in the config.yml (I added new things and edited the existing stuff). OR just delete the config.yml file and restart your server just to be safe.3.0INCREDIBLE UPDATE!! INTRODUCING GUIS NOW, REQUESTING STAFF ASSISTANCE, AND SO ON!!Sep 9, 2017 Config changes! Make sure to refresh the ENTIRE config.yml (I added TONS of new stuff to it!!). Oh my, what I surprise I have for all of you! So this update is a BIG ONE! I added tons of new features that everyone should hopefully enjoy. Lets get started shall we? First of off, GUIs! Yes, you heard that right! By default, this new feature is enabled in the config.yml. With it enabled, it will replace the text that used to show up when doing "/staff" OR "/list" with a GUI now! You can, however, disable the GUIs in the config and continue using the old message system if you so choose. I would like to thank _EBgaming_ for giving me the idea for doing the GUIs! <3 However, I decided to do way more than they request So what is offered in the GUIs you ask? Lots! For the Staff Online GUI, it will display all staff members online (their heads) and it will display the number of staff members online in the book at the top of the GUI. If there are more than 55 on, then those staff members will NOT be shown, unless a staff member already on the list logs off. Hovering over their heads, will show their current status. Yes, as a new feature now, staff members can receive "Help Request" from players on the server. If a staff member disables their notifications (/staffonline notifications - staffonline.notifications), then they will NOT receive alerts and the player will be notified stating this. If players have the notifications permission node, then they will see a dye at the top right of the Staff GUI. Upon clicking this, will disable / re-enable their notifications! If they do not have the notifications permission node, then the dye will NOT show up for them! Ikr lit. 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 players only one player can send an request at a time to prevent bugs. For the Player List GUI, it will just displays the number of players online in the book at the top of the GUI. It also, of course, will display all players currently online. If there are more than 55 on, then those players will NOT be shown, unless a player already on the list logs off. Other things... An update checker! When ever I release a brand new update to my plugin from now on, you will receive an alert in-game saying an update is out when you either login to the server OR by doing the command "/staffonline updates". In order to receive update notifications, make sure they are enabled in the config and the player has the permission "staffonline.updates". Also... 99.9% of all features in my plugin are customizable in the config.yml. Keep mind that some edits to how the GUI looks may not fully take effect until you restart the server, or use Plugman. Config changes! Make sure to refresh the ENTIRE config.yml (I added TONS of new stuff to it!!). 2.0BRAND NEW LOOKS / NEW FEATURES / CODE OVERHALL (AND A BUG FIX)Sep 2, 2017 First of off, the command "/staffonline" (or "/staffon"), will now display a help text (fully configurable in the config) about all commands used in the plugin! If a player does NOT have access to a certain command, then when they do /staffonline it will NOT show that command. So it will only show commands they have permission to use! Cool right? NOTE: In order to use "/staffonline", a player must have the permission node "staffonline.staffonline". And again the message displayed when doing that now is fully customizable in the config.yml. Also to view information prior to the plugin now, the command has been changed to "/staffonline about" (or "/staffon about"). If you disable this command in the config, then that command will NOT show up when a player does /staffonline to view a list of commands. Second of off, when a player does a command now related to StaffOnline, and it is NOT registered, then it will say an "Unknown Command" text letting them know. This message, again, is fully configurable. And you can now also configure the message displayed when a player does NOT have access to a command. FIXES: &o color code was broken and displaying text as "underlined" versus "italic". I fixed this now. Config changes! Make sure to refresh the ENTIRE config.yml (I added new stuff to it and completely remade the file, making it so everything is organized into categories for easier editing). 1.2Placeholder Change!Aug 26, 2017 I fixed the version number and edited the placeholder that is used to display the correct number of staff online. I apologize for releasing this after the previous update right away. I just wanted to edit this Config changes! Make sure to change the "%online%" to "online_staff%" in the config!1.1NEW! "/list" Command! Plus Changes In the Config and Code CleanupAug 26, 2017 I cleaned up some of the code and added a "/list" command to list all players who are currently online, including the correct number! Fully customizable in the config.yml. Make sure to give players "staffonline.list" for them to be able to do "/list". Config changes! Make sure to refresh the config!1.0Aug 26, 2017
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta