Speedgot
SwapLocations
-----
Swap-Locations is a fully configurable plugin that makes your players swap locations.
Download Now
14.1 KB .jar
Overview
Documentation
Updates (
--
)
Reviews (
---
)
Version History
Discussion
Throwing an
Egg
a
Snowball
an
Arrow
or even an
Ender Pearl
at another player, will make the two of you swap locations by this amazing and smart plugin !
The plugin uses config variables to make it easier on server's owners.
not
Code (Java):
public
void
SwapLocations
(
Entity
entity1,
Entity
entity2
)
{
Location entity1loc
=
entity1.
getLocation
(
)
;
Location entity2loc
=
entity2.
getLocation
(
)
;
entity1.
teleport
(
entity2loc
)
;
entity2.
teleport
(
entity1loc
)
;
}
obviously..
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
75
First Release:
Jun 10, 2022
Last Update:
Jun 10, 2022
Category:
---------------
All-Time Rating:
0 ratings
Find more info at github.com...
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings
Ask Questions / Get Support