No world crossing

Discussion in 'Archived: Plugin Requests' started by crysisone, May 20, 2013.

  1. Offline

    crysisone

    A plugin that stops players from using teleporting to enter other world, tpa and set home commands should only work in the world the player is in at the time.
    I want my players only to be able to cross into other worlds by using gate I have set up.
    If there are plugins that let do this already, just post me a link
     
  2. Offline

    timtower Administrator Administrator Moderator

    crysisone Would be hard, you need to block the commands but not the portals.
     
  3. Offline

    crysisone

    So it is possible ,Would it just be like the plugin checks to see what world you are in and only lets you tp in that same world not another one? i dont know alot about java and bukkit
     
  4. Offline

    timtower Administrator Administrator Moderator

    crysisone It is possible indeed, and what you suggest is even better that the method I thought of, and could you tahg me if you reply?
     
  5. Offline

    crysisone

    timtower
    I got the ideal from a character I code for mugen (http://elecbyte.com/wiki/index.php/CNS) ,I don’t know a lot about java and how its codes works ,I did like one tutorial ,that stopped tnt from exploding and damaging anything it just made cats when it exploded .
     
  6. Offline

    timtower Administrator Administrator Moderator

    crysisone Still need to see when the player is using an portal, what plugin are you using? Maybe I can hook into it.
     
  7. Offline

    crysisone

  8. Offline

    slayr288

    timtower

    I'm pretty sure all portal plugins call 'PlayerTeleportEvent'
     
  9. Offline

    timtower Administrator Administrator Moderator

    slayr288 how do you check if it is an portal or not then?
     
  10. Offline

    crysisone

    timtower slayr288 Found out that Essentials can set tpa commands to work only for specific world already ,all I need is a plugin from stopping them from using warps that are in other worlds

    # Set to true to enable per-world permissions for teleporting between worlds with essentials commands.
    # This applies to /world, /back, /tp[a|o][here|all], but not warps.
    # Give someone permission to teleport to a world with essentials.worlds.<worldname>
    # This does not affect the /home command, there is a separate toggle below for this.
    world-teleport-permissions: true

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  11. Offline

    crysisone

  12. Offline

    timtower Administrator Administrator Moderator

  13. Offline

    crysisone

    ok, is it not possible to control what warps players can use from each world
     

Share This Page