PlayerInfo

ON SPIGOT IT IS BETTER FORMAT!! https://www.spigotmc.org/resources/playerinfo.27536/

Information

This plugin is a plugin what saves all player info of all players. Wich contains: Last Location, IP'S, Names, Health, Food, Level and much more. Also there is a file what gives the player names to UUID'S.

Comments

The plugin also allows you to make comments. Use /playerinfo comment <player> add <comment> to make a comment. More info about the command see Commands tab

Command

Standard: /playerinfo - Requires permission "playerinfo" or op.

Get Playerinfo: /playerinfo<player> [page] - Pages: player, ingame, comments, 1, 2, 3

Comment: /playerinfo comment <player> <get:add:set:remove>

Comment Get: /playerinfo comment <player> get [id]

Comment Add: /playerinfo comment <player> add <comment>

Comment Set: /playerinfo comment <player> set <id> <comment>

Comment Remove: /playerinfo comment <player> remove <id>

List: /playerinfo list <key> [value] - Keys: OP, IP, gamemode, health and maxhealth

File System

In the plugins folder there will be made a folder called: PlayerInfo. In that folder is 1 folder and 1 file. The file contains a player to uuid transfer and the folder all player info. In the player info is all things saved. Also the inventory.

API

CommentSystem API:

CommentSystem.getComments(OfflinePlayer offlineplayer); Returns a List<String> of all comments the offlineplayer has.

CommentSystem.checkCommentID(String arg); Returns the boolean true if arg is a number.

CommentSystem.getComment(OfflinePlayer offlineplayer, int id); Returns a List<String> with: list.get(0) == Comment list.get(1) == Since the comment is made (Since) list.get(2) == Who the comment made (Madeby)

CommentSystem.addComment(OfflinePlayer offlineplayer, String comment, String madeby); Returns a int of the maded id of the comment.

CommentSystem.setComment(OfflinePlayer offlineplayer, int id, String comment, String madeby); Returns the boolean false if the comment doesn't exists.

CommentSystem.removeComment(OfflinePlayer offlineplayer, int id); Returns the boolean false if the comment doesn't exists.

Permissions

permissions:
  playerinfo.*:
    default: op
    description: This gives you access to all permissions.
    children:
      playerinfo: true
      playerinfo.view.*: true
      playerinfo.comment.*: true
      playerinfo.list.*: true
  playerinfo.view.*:
    default: op
    description: This gives you access to view all playerinfo and the menu.
    children:
      playerinfo.view: true
      playerinfo.view.page1: true
      playerinfo.view.page2: true
      playerinfo.view.page3: true
      playerinfo.view.realname: true
      playerinfo.view.displayname: true
      playerinfo.view.playerlistname: true
      playerinfo.view.op: true
      playerinfo.view.online: true
      playerinfo.view.onlinesince: true
      playerinfo.view.offlinesince: true
      playerinfo.view.latestip: true
      playerinfo.view.allips: true
      playerinfo.view.location.*: true
      playerinfo.view.health: true
      playerinfo.view.maxhealth: true
      playerinfo.view.food: true
      playerinfo.view.level: true
      playerinfo.view.gamemode: true
      playerinfo.view.comments: true
  playerinfo.comment.*:
    default: op
    description: This gives you access to do everything with comments.
    children:
      playerinfo.comment: true
      playerinfo.comment.get: true
      playerinfo.comment.add: true
      playerinfo.comment.set: true
      playerinfo.comment.remove: true
  playerinfo.list.*:
    default: op
    description: This gives you access to do everything with comments.
    children:
      playerinfo.list: true
      playerinfo.list.op: true
      playerinfo.list.ip: true
      playerinfo.list.gamemode: true
      playerinfo.list.health: true
      playerinfo.list.maxhealth: true
  playerinfo:
    default: op
    description: This gives you access to use the command.
  playerinfo.view:
    default: op
    description: This gives you access to show the playerinfo menu.
  playerinfo.view.page1:
    default: op
    description: This gives you access to show page 1.
  playerinfo.view.page2:
    default: op
    description: This gives you access to show page 2.
  playerinfo.view.page3:
    default: op
    description: This gives you access to show page 3.
  playerinfo.view.realname:
    default: op
    description: This gives you access to show real names.
  playerinfo.view.displayname:
    default: op
    description: This gives you access to show display names.
  playerinfo.view.playerlistname:
    default: op
    description: This gives you access to show playerlist names.
  playerinfo.view.op:
    default: op
    description: This gives you access to show if the player has op.
  playerinfo.view.online:
    default: op
    description: This gives you access to show if the player is online.
  playerinfo.view.onlinesince:
    default: op
    description: This gives you access to show the online since time.
  playerinfo.view.offlinesince:
    default: op
    description: This gives you access to show the offline since time.
  playerinfo.view.latestip:
    default: op
    description: This gives you access to show the latest ip.
  playerinfo.view.allips:
    default: op
    description: This gives you access to show all ips.
  playerinfo.view.location:
    default: op
    description: This gives you access to see the last location menu.
  playerinfo.view.location.*:
    default: op
    description: This gives you access to see all last location.
    children:
      playerinfo.view.location: true
      playerinfo.view.location.world: true
      playerinfo.view.location.x: true
      playerinfo.view.location.y: true
      playerinfo.view.location.z: true
      playerinfo.view.location.pitch: true
      playerinfo.view.location.yaw: true
  playerinfo.view.location.world:
    default: op
    description: This gives you access to see the world.
  playerinfo.view.location.x:
    default: op
    description: This gives you access to see the X.
  playerinfo.view.location.y:
    default: op
    description: This gives you access to see the Y.
  playerinfo.view.location.z:
    default: op
    description: This gives you access to see the Z.
  playerinfo.view.location.yaw:
    default: op
    description: This gives you access to see the yaw.
  playerinfo.view.location.pitch:
    default: op
    description: This gives you access to see the pitch.
  playerinfo.view.health:
    default: op
    description: This gives you access to see the health.
  playerinfo.view.maxhealth:
    default: op
    description: This gives you access to see the maxhealth.
  playerinfo.view.food:
    default: op
    description: This gives you access to see the food.
  playerinfo.view.level:
    default: op
    description: This gives you access to see the level.
  playerinfo.view.gamemode:
    default: op
    description: This gives you access to see the gamemode.
  playerinfo.view.comments:
    default: op
    description: This gives you access to see the comments.
  playerinfo.comment:
    default: op
    description: This gives you access to use comments.
  playerinfo.comment.get:
    default: op
    description: This gives you access to get comments.
  playerinfo.comment.add:
    default: op
    description: This gives you access to add comments.
  playerinfo.comment.set:
    default: op
    description: This gives you access to set comments.
  playerinfo.comment.remove:
    default: op
    description: This gives you access to remove comments.
  playerinfo.list:
    default: op
    description: This gives you access to use lists.
  playerinfo.list.op:
    default: op
    description: This gives you access to use the OP list.
  playerinfo.list.ip:
    default: op
    description: This gives you access to use the IP list.
  playerinfo.list.gamemode:
    default: op
    description: This gives you access to use the gamemode list.
  playerinfo.list.health:
    default: op
    description: This gives you access to use the health list.
  playerinfo.list.maxhealth:
    default: op
    description: This gives you access to use the maxhealth list.

More Help: playerinfo is needed to run the command. playerinfo.view is needed to show the playerinfo menu. playerinfo.view.page1 is needed to show the playerinfo menu page 1. playerinfo.view.realname is needed to show the realname. Anything works also with OP.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    101541
  • Created
    Aug 7, 2016
  • Last Released File
    Oct 27, 2016
  • Total Downloads
    941
  • License

Categories

Members

Recent Files