[REQ] Offline TP [FORMATTED]

Discussion in 'Archived: Plugin Requests' started by The Wizard, Jan 21, 2012.

  1. Offline

    The Wizard

    What I want: a small plugin to change coordinates to an offline player.
    Next time the player enters the server he will be put to that coordinates.
    I need this to make games (like SAW). I want to put players in rooms with traps and they will have to escape.

    Ideas for commands: /otp [username]

    Ideas for permissions: offline.tp

    Willing to pay up to: $0

    When I'd like it by: when it's done, not a rush.

    Similar plugin requests: none.

    Devs who might be interested in this: @codename_B or any dev that can make it.
     
  2. Offline

    mrcheesete0

    I would love this.
     
  3. Offline

    dkabot

    I'd call it doable, as player.teleport() supports using a location as the data.
    It would have to store the name/location somewhere and look for the name in a PlayerLoginEvent.


    I guess I'll do it.
     
  4. Offline

    JWhy

    Just edit the playername.yml or .dat (cant remember) in the world directory
     
  5. Offline

    mrcheesete0

    Thanks dka! Whenever I update my server rules/plugins on the Spawn Notice Board, i usually update my MoTD to tell people to check the board, but most people never do, so if I was able to offline-force-TP them, I would love it.
     
  6. Offline

    dkabot

    If I thought it were that easy I would have looked into it. There's a function to read playerdata but I didn't see one for set.
     
  7. Offline

    JWhy

    It wont be the best programmed plugin ever then, but you could just use the filesystem functions of java. Extract the world directory of the players current world and then open the file with the streamreader (wasnt it called like that in Java?)
     
  8. Offline

    The Wizard

  9. Offline

    mrcheesete0

    Very useful plugin. Helped me catch 2 griefers and a Creative Mode abuser (before I installed multi inv)^

    On a note though when using offline players, it IS case-sensitive.
     
  10. Offline

    dkabot

    I'll look into it.
    Once I can figure out my (standard) noob fail (it isn't liking the external command executor), I'll look into it.

    EDIT: It appears openinv is built against CraftBukkit rather than Bukkit.

    EDIT 2: openinv also listens for player logon and sets the inventory then... so not much new info there.
     
  11. Offline

    mrcheesete0

    Whats the difference between craftbukkit and bukkit? -is a noob-
     
  12. Offline

    Madnessium

    Simply put:
    Craftbukkit is the server client and
    Bukkit is the API for developers to make Addons/plugins
     
  13. Offline

    dkabot

    I'll have to suspend progress until tomorrow (well, later today now).
    HashMaps are not my friend, so I'll have to look into something else.
     
  14. Code:java
    1. public voin onPlayerJoin(PlayerJoinEvent event)
    2. {
    3. event.getPlayer().teleport(event.getPlayer().getWorld().getSpawnLocation());
    4. }

    Just an idea... ;)
     
  15. Offline

    mrcheesete0

    also if you could TP yourself to offline players, would be awesome.
     
  16. Offline

    The Wizard

    Anyone?
     
  17. Offline

    dakester99

    I could REALLY USE this kind of plugin so I'm gonna request for it too, I need this plugin because i get griefers and i need rollback em without rolling back the whole world, so if theres one out there PLEASE respond
     
  18. Offline

    np98765

    Necro... February to August. :p
     
  19. Offline

    fredoduquartier

  20. Offline

    Onlineids

    fredoduquartier Congrats it took you almost 2 years to code a tp plugin -_-
     
  21. Offline

    fredoduquartier

    nono, looked for one 2 days ago and made it XD

    actually the owner of the Happydiggers community asked for it

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016

Share This Page