Thread: How to make it so you cant trade someone on the same ip

Results 1 to 2 of 2
  1. #1 How to make it so you cant trade someone on the same ip 
    Registered Member
    Join Date
    Feb 2014
    Posts
    34
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    I was wondering how I can make it so that people cant trade with their second account to transfer stuff, so they cant keep making characters and trading over the starter items, How can i do that to not allow people to trade on the same ip?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2010
    Posts
    354
    Thanks given
    17
    Thanks received
    61
    Rep Power
    47
    where ever it handles the trade when you first click it add something like.

    Code:
    if(player.getAddress().equals(other.getAddress()) {
    player.sendMessage("You can't trade with your same ip accounts.");
    return;
    }
    You obviously need to change getAddress() because I don't know your naming in the server you are using.
    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. How To Make It So You Cant Say Pw?
    By Xuzk in forum Help
    Replies: 11
    Last Post: 11-20-2009, 05:22 AM
  2. How To Make It So You Cant Say Pw?
    By Xuzk in forum Help
    Replies: 3
    Last Post: 11-20-2009, 05:01 AM
  3. how to make it so you protect claws over whip?
    By range to dds in forum Help
    Replies: 9
    Last Post: 08-25-2009, 04:28 AM
  4. how to make it so you cant 1 item pk?
    By Balla in forum Help
    Replies: 1
    Last Post: 06-17-2009, 09:45 PM
  5. [release] how to make it so you start with items on
    By Dragonking in forum Configuration
    Replies: 13
    Last Post: 02-07-2009, 01:25 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
  •