Method: Minecraft::Commands#tp
- Defined in:
- lib/minecraft/commands.rb
#tp(user, target) ⇒ Object
Note:
ops: hop
Note:
all: is teleporting all users to their location.
Teleports the current user to the target user.
406 407 408 409 |
# File 'lib/minecraft/commands.rb', line 406 def tp(user, target) return if check_dnd(target) @server.puts "tp #{user} #{target}" end |