PlayerInformation
PlayerInformation
Version: 1.3.5
Updated for the new version Minecraft! :D
This is Simple plugin that allows you to view another players Information ( Listed below ) through either Right Clicking the Player or using /pinfo [Player]! They now work through the Console as well!
This plugin comes with an automatic update checker (Doesn't automatically download the file though). You can Enable/Disable this update checked via the config.yml (Found in the plugins/PlayerInformation folder). Just set to CheckForLatestVersion to true/false to suit your needs!
How to Install...
Easy! Just drop the PlayerInformation.jar into your Plugins folder and Start the Server! Simple as!
Vault READ THIS
This Plugin does not require you to have Vault UNLESS you want to use the Balance and Permission Group option!!!!!
If you want to use the Balance and Permission Group option, you MUST install Vault to do so and then set the BalanceEnabled and PermissionsEnabled option in the config to true then set the price(s). Any bugs or error's post a comment, send a ticket, read the help section on this page!
Commands
The Commands are as the following:
- /pinfo [Player] - See's the Information for a player ( The things they can view are definable from the Permissions)
- /sethealth [Amount] [Player] - Sets the players Health to the desired Amount
- /setfood[Amount] [Player] - Sets the players FoodLevel to the desired Amount
- /reloadpinfo - Reloads the Config
- /playerinformation - Show's Information about the Plugin
Permissions
There are not Many permissions for this Plugin ( Yay :D ), Here they are:
- - PInfo.use.command - Allow's the player to use the /pinfo Command
- - PInfo.view - Allow's the player to view Information
- - PInfo.view.displayname - Allow's the player to view another players Display name if he has one
- - PInfo.view.world - Allow's the player to view another players World
- - PInfo.view.ip - Allow's the player to view another players IP
- - PInfo.view.balance - Allow's the player to view another players Balance ( VAULT IS REQUIRED IF YOU WISH TO USE THIS )
- - PInfo.view.permgroup - Allow's the player to view another players Permission Group ( VAULT IS REQUIRED IF YOU WISH TO USE THIS )
- - PInfo.view.gm - Allow's the player to view another players Game-Mode
- - PInfo.view.level - Allow's the player to view another players Level
- - PInfo.view.exp - Allow's the player to view another players Experience
- - PInfo.view.location - Allow's the player to view another players Location
- - PInfo.view.direction - Allow's the player to view another players Direction ( North, East etc etc )
- - Pinfo.view.onfire - Allow's the player to view whether another player is on fire or not
- - PInfo.view.health - Allow's the player to view another Health
- - PInfo.view.food - Allow's the player to view another FoodLevel
- - PInfo.view.iteminhand - Allow's the player to view annothers Item in Hand
- - PInfo.view.iteminhand - Allow's the player to view the ItemInHand
- - PInfo.view.lastonline - Allow's the player to view when the player was last online
- - PInfo.view.hasplayed - Allow's the player to view if the player has played before
- - PInfo.sethealthself - Allow's the Player/Rank with this Permission to Set their own Health.
- - PInfo.sethealthother - Allow's the Player/Rank with this Permission to Set their own and others Health.
- - PInfo.setfoodself - Allow's the Player/Rank with this Permission to Set their own Health.
- - PInfo.setfoodother - Allow's the Player/Rank with this Permission to Set their own and others Health.
- - PInfo.reload
- - PInfo.* - Gives the player all Permissions
To Do List:
- Any Others you may want? Send Below or send a Ticket ( Ticket Checked more )!
Thanks! I know there may be many other Plugins out there that do this, but I am determined to be the best one out there! Leave your ideas and comments and possible bugs/error's below!
Help
Need any Help? Please either;
- Ask in the comments
- Post a Ticket
- Go on the IRC. You can get to the website from here. and Join channel #Grimlock257
-
View User Profile
-
Send Message
Posted Apr 25, 2012@cloudafloat
Yes :) I have added a world option and direction ( North, NorthEast etc )
-
View User Profile
-
Send Message
Posted Apr 25, 2012@Grimlock257
Yeah maybe a call to getPrimaryGroup()
-
View User Profile
-
Send Message
Posted Apr 25, 2012@cloudafloat
Hai again, I added the Current world about 1 min ago ( Spooky Timing ) and superperms, I'll see... might have to use vault for that option ...
-
View User Profile
-
Send Message
Posted Apr 25, 2012@Grimlock257
You could also show the current world the user is in (If not doing so already) and show their current group via superperms as well if you want.
-
View User Profile
-
Send Message
Posted Apr 25, 2012@cloudafloat
Yes, Sure, It will be in the Version 1! Released on the 28th April. Any other features you want?
-
View User Profile
-
Send Message
Posted Apr 25, 2012@Grimlock257
Can you add /pinfo support for usage through console?
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Punjarbs
Also, what would you want/need from essentials?
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Punjarbs
Maybe, some time in the Future, When I get better at Java coding... :) Money will be in my plugin HealMe, Released to tonight or tomorrow.
I did actually see this message 20 minutes after you posted it but i could't work out how to send messages from my phone XD so sorry for the non-immediate reply
-
View User Profile
-
Send Message
Posted Apr 24, 2012Hey nice plugin, but in my opinion, it could list some more helpful information. I was thinking more to do with things such as; hours spent in-game, times logged in, amount of players you have banned (lol) (supportive of essentials or something), last kick reason, money, etc.
Tell me these seem too unrealistic, I don't know much about coding and developing plugins. haha
-
View User Profile
-
Send Message
Posted Apr 22, 2012@DeusAmplus
Hello, Are you using CraftBukkit 1.2.5? and make sure you have Java 7 JRE, Available from the link in plugin description, or just download it here
-
View User Profile
-
Send Message
Posted Apr 22, 2012How to solve this???
[SEVERE] Could not load 'plugins/PlayerInformation.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/Grimlock257/PlayerInformation/PlayerInformation : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150)
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:422)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.UnsupportedClassVersionError: me/Grimlock257/PlayerInformation/PlayerInformation : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139)
... 8 more
-
View User Profile
-
Send Message
Posted Apr 13, 2012@MR_Schell
Ok
-
View User Profile
-
Send Message
Posted Apr 10, 2012@Grimlock257 If you compile something with JDK1.7 it can only be run on JRE1.7 or higher. Most-likely JDK1.7 got set as the default in the java IDE program you use for developing. If you are using NetBeans, you can change the JDK version by selecting your project then clicking File >> Project Properties. Then in the window that comes up you should see a drop down menu next to "Source/Binary Format" that is where you can select the version you want to compile your project with. If you are using Eclipse you should see "JRE system library [JavaSE-1.7] right click it then select properties. A window should then come up, from it you can select the "execution environment." This is where you set version for your project.
-
View User Profile
-
Send Message
Posted Apr 10, 2012@MR_Schell
0h, so it requires Java 1.7 to run because I use Java 1.7??
-
View User Profile
-
Send Message
Posted Apr 9, 2012I can't seem to get the plugin(both versions) to load in bukkit 1.2.5(git-Bukkit-1.2.5-R1.0-b2149jnks)
EDIT: After seeing this I realized this problem is caused by the plugin being compiled on java 1.7 and run under an older version. I have verified this by downloading 1.7 and running bukkit under it. Unless there is something your plugin requires that is only in 1.7, I recommend you use 1.6 to compile instead because it is the version that most people have. (And is the default version on the main jre download page)
I get the following output from the console: