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.
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.
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.
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.
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?)
With OpenInv plugin you can change inventory to offline players. Probably it is similar with coordinates? OpenInv: http://forums.bukkit.org/threads/fu...y-as-a-chest-real-time-1-0-1-r1-1-1-r1.15379/
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.
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.
Simply put: Craftbukkit is the server client and Bukkit is the API for developers to make Addons/plugins
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.
Code:java public voin onPlayerJoin(PlayerJoinEvent event){ event.getPlayer().teleport(event.getPlayer().getWorld().getSpawnLocation());} Just an idea...
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
Hehey everyone, I'v done it: http://dev.bukkit.org/bukkit-plugins/freds-offline-tp/ It still needs approval so it will probably take few hours or so if you want to download it.
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.