Thread: making player rights 14 unable to lose stuff when dead and not be able to drop stuff?

Results 1 to 2 of 2
  1. #1 making player rights 14 unable to lose stuff when dead and not be able to drop stuff? 
    Chow down on these noodles
    OodlesOfNoodles's Avatar
    Join Date
    May 2011
    Posts
    1,819
    Thanks given
    235
    Thanks received
    91
    Rep Power
    55
    making player rights 14 unable to lose stuff when dead and not be able to drop stuff?
    how would i do this on pi?
    Reply With Quote  
     

  2. #2  
    Registered Member
    gomomo11's Avatar
    Join Date
    May 2010
    Posts
    2,379
    Thanks given
    268
    Thanks received
    196
    Rep Power
    177
    Dropitem.java, under
    Code:
    slot = c.getInStream().readUnsignedWordA();
    add:
    Code:
    if(c.playerRights == 14) {
    				c.sendMessage("You may not drop items");
    				return;
    			}
    Thanks/rep appreciated.
    Attached image
    no external links without affiliate
    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: 1
    Last Post: 12-27-2011, 03:54 AM
  2. Help with making NPCs drop stuff!!!!
    By Polkaman in forum Help
    Replies: 1
    Last Post: 08-10-2011, 02:01 AM
  3. Admins lose stuff...
    By GasMask in forum Help
    Replies: 7
    Last Post: 01-30-2011, 03:03 AM
  4. making people lose stuff..
    By santolman in forum Help
    Replies: 2
    Last Post: 09-05-2009, 12:24 AM
  5. lose stuff
    By lumb0pk3r in forum Help
    Replies: 1
    Last Post: 05-09-2009, 05:55 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •