[Plugin Request] - Player Information -

Discussion in 'Archived: Plugin Requests' started by Jok, Apr 29, 2012.

  1. Offline

    Jok

    Still doing it? :D Or did you decide to not? :)
     
  2. Offline

    Fyre

    Got bored, wrote the plugin. Link

    It's exactly the way you described, but for one thing. I decided not to add a command that would let you edit the information of a player, because next time the information got updated your changes would be overwritten.

    Instead I added flexible message formatting to the config.yml, one for each of the five messages. Color codes are supported, and the variables are as follows:

    $name
    $joindate
    $currency
    $lastonline
    $rank

    Currently each variable can only be used within its own format.
    ($name only works in Name-Format, $rank only works in Rank-Format, etc.)
     
  3. Offline

    Jok

    Fyre

    Plugin won't work D:

    [SEVERE] Could not load 'plugins\PlayerInfo.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NullPointerException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:148)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
    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:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
    at me.fyre.PlayerInfo.PlayerInfo.<init>(PlayerInfo.java:36)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144)
    ... 8 more
     
  4. Offline

    Fyre

    Fixed
     
  5. Offline

    Whisk

    Jok You realize that /whois in essentials does all of what oyu want?
     
  6. Offline

    acuddlyheadcrab

    Fyre

    Thanks/Nice job :) If I need to I will work on mine more in a couple days or so, and release it here. I've just been very busy this week.
     
  7. Offline

    Fyre

    The essentials /whois command is meant for admins and moderators, it gives out the user's IP, which should not be visible to everyone else on the server. This plugin is meant to be usable by all players, not just staff.
     
    Jok likes this.
  8. Offline

    Whisk

    Fyre easy enough to remove that from the code.
     
  9. Offline

    Fyre

    From the essentials code. Quite a few people don't use essentials, and I'm not going to repost the entire plugin just to remove one line from /whois.
     
  10. Offline

    Royalgamer06

  11. Offline

    Fyre

    Jok likes this.
  12. Offline

    Christhirteen

    It would be epic to have a cinfigurable message that the player itself can set.
     
  13. Offline

    lDucks

    I would recommend to the person who made this plugin to use Vault to play with the economy, that way OP can change the economy plugin to something else and it would still work. Just a suggestion.
     
  14. Offline

    Fyre

    Honestly I'd rather just rip the hooks out from vault so people don't need to have it.
     
    Jok likes this.
  15. Offline

    lDucks

    That's fine too, I'm just saying in order to keep it easier on the user of the plugin (especially if you are hoping to release it publicly) Vault is a pretty nice thing to use for it's hooks.
     
  16. Offline

    RobotA69

    Lol, I was the originally creator of PlayerInfo and then a bunch of skiddies decide to "remake" the exact same plugin. Never using GitHub again...
     
  17. Offline

    JollyGiant16

    Silly person just do /whois (name)
    With Essentails 1.2.5-R1:)
    [creeper]
     
  18. Offline

    Fyre

    All of you idiots who keep posting here on a thread that should be locked:

    1) I don't care what essentials can do, and that point has already been shot down. So take your smartass responses, shove them back down your throat, and glue it shut, before I do it for you.

    2) I did not take the source from this plugin from anywhere, I wrote it from scratch, and the only references I used were the sources of PermissionsBukkit and iConomy for hooks.
     

Share This Page