Inactive [GEN/INFO] WhoAreYou v0.3 - /who commands done properly [1337]

Discussion in 'Inactive/Unsupported Plugins' started by oliverw92, Apr 25, 2011.

  1. Offline

    oliverw92

    WhoAreYou - /who done properly!!
    [​IMG] Download v0.3 [1337]


    [​IMG]

    Knowing who is on your server is one of the most important things when you are a server moderator/admin. The basic playerlist most plugins provide lacks information. WhoAreYou can provide you with loads of information about your players with very simple commands.
    Preview (open)

    [​IMG]

    [​IMG]

    [​IMG]

    Features
    • Coloured usernames according to Permissions group prefix in /who
    • Find out who is in a certain world with /who <world>
    • Get information about a particular user with /who <player>
    • Configure aliases for your worlds to make it easier for your users
    • Works in console (only basic listing in console)
    Requirements
    • Craftbukkit #740
    • Permissions - without permissions you need to be op to use commands
    Installation
    Installation (open)

    1. Place WhoAreYou.jar in your plugins/ folder
    2. The plugin will auto create plugins/WhoAreYou/config.yml file when it runs
    3. Set up your permissions using the nodes below

    Config.yml
    config.yml (open)

    This is contained in plugins/WhoAreYou/config.yml. The main configuration in this file is world aliases. The server auto-creates this file and adds as many homes as are loaded at the time of server start as possible. You can then add your other worlds to it. World aliases are used when doing something like /home <world> - say you have an undersirable world name like creativeworld4, you can use world aliases to change it to something simple like creative for use in MultiHome commands. When the plugin creates the file it will look something like this:


    Code:
    aliases: world: world
    msg-online-on-join: true
    You can then customise it and add in your custom worlds like this:
    Code:
    aliases:     atrium1: atrium     survival1: survival     build4: build     pvp3: pvp     nether1: nether
    msg-online-on-join: true
    
    msg-online-on-join controls whether a player is messaged the player list when they join the server.

    Usage
    Usage (open)

    • /who <- Lists all online players
    • /who <world> <- Lists all players on specified world/alias
    • /who <player> <- Lists information about that player
    • You can use /list /online /listplayers /playerlist and /whois as aliases of /who

    Permission Nodes
    Permission Nodes (open)

    • whoareyou.list <- For basic /who
    • whoareyou.player <- For /who <player>
    • whoareyou.player.personal <- Shows IP and location in /who <player>
    • whoareyou.world <- For /who <world>


    Changelog
    Version: v0.3 [740]
    • Added whoareyou.player.personal node
    • Fixed suffix bug
    Version: 0.2 [740]
    • Added console support
    • Added group suffix in listings
    Version: 0.1.5 [733]
    • Fixed line colours
    Version: 0.1.4 [733]
    • Added leading line to /whois
    Version: 0.1.3 [733]
    • Fixed partial naming
    Version: 0.1.2 [733]
    • Added partial naming support for /who <player>
    Version: 0.1.1 [733]
    • Added command aliases /list /online /listplayers /playerlist /whois
    Version: 0.1 [733]
    • Plugin released
    Plugin originally created for MinecraftCC.com

    Checked against 733

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
    AS1LV3RN1NJA likes this.
  2. Offline

    Ratarn

    Problem, when i use /who this will show up:
    Server player list (1/20): AdminPlayer

    i using PermissionsEx on an mySQL-Database.
    The prefix of the User "Player" is: "&4Admin"

    What do?
     
  3. Offline

    oliverw92

    What is the issue - do you not want the 'admin' part?
     
  4. Offline

    Ratarn

    yes! :) sry
     
  5. Offline

    oliverw92

    There currently isn't a way to do that. I will get around to completely redoing this plugin at some point.
     
    Oscarius likes this.
  6. Offline

    Ratarn

    Ok i solved the Problem by myself:
    I just added ".substring(0,2)" at Line 43 of the WhoAreYou.class:
    Code:
                message = message + " " + permissions.getPrefix(player).substring(0,2) + player.getName() + permissions.getSuffix(player);
     
  7. Offline

    rolandostar

    Works in 953?
     
  8. Offline

    Ratarn

    yes
     
  9. Offline

    oliverw92

    I will add in an option in config to do that when I get round to redoing this plugin.
     
  10. Offline

    rob4001

    Hey WHen you get round to redoing the plugin could you use player.getDisplayName() instead of player.getName() when listing the players so that it is compatible to plugins that change the Display name
     
  11. Offline

    ToastedJelly

    Works on 1060

    edit: doesnt use bukkit permissions, though

    Wrong thread?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  12. Offline

    oliverw92

    That has nothing to do with WhoAreYou :confused:
     
  13. Offline

    ZombieRampage

    I know, my bad. To many windows open. Sorry.
     
  14. Offline

    rob4001

    Hey have a look at Github subed some pull requests
    small changes
     
  15. Offline

    oliverw92

    Pulled them, thanks
     
  16. Offline

    KingTempus

    will this show all the ips ever used by a player?
     
  17. Offline

    ToastedJelly

    No, just the current and as this is inactive, I wouldn't recommend to use it anymoe
     
  18. Offline

    oliverw92

    It works fine... I use it on my server
     
  19. Offline

    ToastedJelly

    There you go.. 1337 :)
     
  20. Offline

    AS1LV3RN1NJA

    Would it be possible to add a permission node to show only your info?
    With some players starting to use Spout, and with Spout blocking some F3 info (with Visual cheats disabled), some players are annoyed they can't see their coordinates.
     
  21. Offline

    ToastedJelly

    most general cmd plugins like essentials or commandBook have a /getpos cmd
     
  22. Offline

    AS1LV3RN1NJA

    They probably do a lot more than I need, and Essentials causes a lot of problems.
    It'd just be nice to not have another plugin to keep checking for updates, if he doesn't want to add it i'll look into others.
     
  23. Offline

    ToastedJelly

    - CommandBook is configurable. You can remove every cmd and just keep /getpos.
    - Another idea would be CommandHelper, which is a good idea for creating aliases for cmds. Helps a lot if you want something shorter or switch a plugin and don't want users to need to learn a new cmd. And you could easily either script your own /getpos or make an alias /who that just calls this /who if the name parameter is the current user calling the cmd.

    CommandHelper aliases would be something like that:

    /who = /who
    /who $ = if ( equals($,player()), /who $, msg('You can only use /who on yourself') )

    or ignore the name parameter and always use the same player: replace second line with:
    /who $ = /who player()

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  24. Offline

    AS1LV3RN1NJA

    By the looks of things I'm the only one that still uses this.

    Anyone out there willing to help a brother out and update it?
     
  25. Offline

    rob4001

    Hey You arnt the only one

    Updated to R6ish : <Edit by Moderator: Redacted mediafire url>
    <font color="#064392">oliverw92</font>
    if you want this removed tell me : If not i would take this plugin over if you are having problems/lack of time to update this plugin
     
    Last edited by a moderator: Dec 14, 2016
    dwi and AS1LV3RN1NJA like this.
  26. Offline

    dwi

    [quote uid=96 name="rob4001" post=1005836]Hey You arnt the only one

    Updated to R6ish : <Edit by Moderator: Redacted mediafire url>

    <font color="#064392">oliverw92</font>

    if you want this removed tell me : If not i would take this plugin over if you are having problems/lack of time to update this plugin
    [/quote]
    Thanks!! btw there is plugin.yml missing, I had to put it there from original .jar
     
    Last edited by a moderator: Dec 14, 2016
  27. Offline

    ratty

    That works, thanks for fixing that.
    It prints warnings sometimes when people join, "16:11:25 [SEVERE] Could not pass event PlayerJoinEvent to WhoAreYou org.bukkit.event.EventException" but everything appears to actually function.
     
  28. Offline

    DrMadFellow

    [quote uid=96 name="rob4001" post=1005836]Hey You arnt the only one

    Updated to R6ish : <Edit by Moderator: Redacted mediafire url>

    <font color="#064392">oliverw92</font>

    if you want this removed tell me : If not i would take this plugin over if you are having problems/lack of time to update this plugin
    [/quote]
    Oliver is the admin of our server. He retired, so if you would like I can send him a message on your behalf about updating this from now on.
     
    Last edited by a moderator: Dec 14, 2016
    ratty and AS1LV3RN1NJA like this.
  29. Offline

    AS1LV3RN1NJA

    On 1.2.5 R3
    Using the same config as before.

    [SEVERE] Could not load 'plugins\WhoAreYou.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:193)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    ... 8 more

    Any chance you could ask oliverw92 for a a quick update DrMadFellow ?
     
  30. Offline

    DrMadFellow

    AS1LV3RN1NJA likes this.
  31. Offline

    AS1LV3RN1NJA

Share This Page