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) +--- Thread: Jumpto (/thread-771.html) Pages:
1
2
|
Jumpto - NiLSPACE - 02-09-2013 --Original Author-- Kwen This plugin is old. The same functionality is in WorldEdit Additional info I updated kwen's Jumpto plugin. you can now use your compass to teleport somewhere. Commands /jumpto - Toggles wether rightclick teleports you or not. Configuration in your main.lua
Bugs
Permissions Jumpto.jump Changelog v1) Initial release v2) fixed teleporting to X:0 - Y:0 - Z:0 v3) fixed teleporting to the edge of a block v4) added a message if you are not looking at something or if it is too far v5) added a new config option. you can get console messages when someone uses jumpto to teleport somewhere. v6) added /jumpto, it toggles wether teleport on right click or not. you can configure if you want the teleport function on on start. v7) Fixed bug "you can't teleport below a block." RE: Jumpto - xoft - 02-09-2013 What hook are you using for the rightclick? If it has a BlockFace parameter, you can use that to eliminate the second bug - if the BlockFace is less than zero, don't teleport at all. RE: Jumpto - NiLSPACE - 02-09-2013 i tried if (BlockFace == -1) then return false; end;but then it only jumps when i am close enough so i have the hitbox of the block. yay i got it fixed. i now have if Y == 0 then return true end got another fix RE: Jumpto - NiLSPACE - 02-10-2013 got some new versions now, but i found a bug propably in the API. if you click the server says you click twice. becouse of that you see the message in the console (v5) 2 times and sometimes you teleport too far. RE: Jumpto - NiLSPACE - 02-10-2013 New update. you can find the changes in the changelog. RE: Jumpto - xoft - 02-10-2013 It's not a bug, it's a "feature" of the client / protocol. The client sends two packets, one with regular click and the other with a "use item" meaning, for some items. Read the protocol spec for exact details of this. RE: Jumpto - NiLSPACE - 02-10-2013 is there a way to only make it use one of the 2 packets? RE: Jumpto - xoft - 02-10-2013 You need to look at the packets in your plugin and decide whether to use it or not. You'll need to find out how the packet you want is different from the packet you don't want, and then build your plugin around that - ignore the one you don't want. MCServer should not do anything about that, because some other plugin may want the other packet, and a third plugin may want both. So MCServer will not filter anything. RE: Jumpto - NiLSPACE - 02-23-2013 fixed bug
RE: Jumpto - NiLSPACE - 02-23-2013 oops uploaded wrong version. please redownload |