Cuberite Forum
[Plugin] JumpTo - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+---- Forum: Archived Plugins (https://forum.cuberite.org/forum-18.html)
+---- Thread: [Plugin] JumpTo (/thread-214.html)



[Plugin] JumpTo - Kwen - 11-06-2011

-JumpTo-
Created by Kwen, additional credit to FakeTruth and Luthrandel

Instructions

It's basically a jumpto. It jumps to the block you're looking at. To use, look at target block and do /jumpto. For your ease, you could just pull out a compass and right click the target block you want to jumpto. To install, put this in your /Plugins folder.

Commands
  • /jumpto
    • Desc: Jumpto the block your crosshair is pointing at.

Download

Dropbox

Changelog

v1.0v0.01v0.002
  • Cleaned unnecessary function usages that ThuGie pointed out.

v1.0v0.01v0.001
  • Fixed /jumpto so it teleports you to the highest block instead of getting you stuck on the location you teleported to.







RE: [Plugin] JumpTo - ThuGie - 11-11-2011

Hey,

These arent used right
Code:
PluginManager:AddHook( self, cPluginManager.E_PLUGIN_TICK )
    PluginManager:AddHook( self, cPluginManager.E_PLUGIN_BLOCK_DIG )
and
local World = cRoot:Get():GetWorld()
In the init

Same for

Code:
local Name = Player:GetName()
In blockplace


RE: [Plugin] JumpTo - FakeTruth - 11-11-2011

ThuGie is right, you should remove those


RE: [Plugin] JumpTo - Kwen - 11-11-2011

Cleaned it. Smile