Thread: PI how do i make players automatically wear gear when they ogin

Results 1 to 2 of 2
  1. #1 PI how do i make players automatically wear gear when they ogin 
    Registered Member
    Join Date
    May 2012
    Posts
    335
    Thanks given
    43
    Thanks received
    10
    Rep Power
    15
    When a player logs into my server how do i make them automatically have gear on?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Apr 2009
    Posts
    38
    Thanks given
    1
    Thanks received
    1
    Rep Power
    0
    Quote Originally Posted by Stevie View Post
    When a player logs into my server how do i make them automatically have gear on?

    Open Player.java and search for:
    playerEquipment[playerHat] = -1;
    playerEquipment[playerCape] = -1;
    playerEquipment[playerAmulet] = -1;
    playerEquipment[playerChest] = -1;
    playerEquipment[playerShield] = -1;
    playerEquipment[playerLegs] = -1;
    playerEquipment[playerHands] = -1;
    playerEquipment[playerFeet] = -1;
    playerEquipment[playerRing] = -1;
    playerEquipment[playerArrows] = -1;
    playerEquipment[playerWeapon] = -1;

    Change the "-1" to the item ID of whatever you want them to be wearing. I'm not much on PI, but thats my best guess. If it doesnt work let me know.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 6
    Last Post: 08-08-2011, 11:25 AM
  2. Replies: 4
    Last Post: 10-25-2010, 03:36 AM
  3. [PI] How do I make an item stackable?
    By pk3r john in forum Help
    Replies: 1
    Last Post: 08-16-2010, 09:26 PM
  4. Replies: 4
    Last Post: 07-22-2010, 02:51 AM
  5. Replies: 2
    Last Post: 12-11-2009, 05:36 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •