Thread: Jail Problems

Results 1 to 2 of 2
  1. #1 Jail Problems 
    Registered Member
    Join Date
    Oct 2012
    Posts
    88
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    After adding a jail command. I tested if people were able to tele out of it.

    It turns out they were...

    I was just curious how I can make it so people cannot teleport out of jail.

    This includes commands like ::home or any sort of teleportation commands as well as spell book teleports.
    Reply With Quote  
     

  2. #2  
    Dark-Perfection Owner

    Join Date
    Jun 2012
    Posts
    485
    Thanks given
    51
    Thanks received
    45
    Rep Power
    22
    if (c.isInJail()) {
    return;
    }


    Check if u have the boolean isInJail in player.java

    If not add it with the coords of the jail..
    [Only registered and activated users can see links. ]

    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: 3
    Last Post: 10-15-2012, 05:49 PM
  2. ::jail
    By Aymen in forum Help
    Replies: 4
    Last Post: 06-27-2012, 06:59 AM
  3. Jail
    By Austin_ in forum Help
    Replies: 5
    Last Post: 06-27-2009, 04:02 PM
  4. Adding Jail command & Right Click Jail
    By snpteen in forum Tutorials
    Replies: 22
    Last Post: 12-23-2008, 04:25 AM
  5. Jail?
    By milkdudspwns in forum Requests
    Replies: 5
    Last Post: 10-11-2008, 01:22 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
  •