teleportation-2

last built 2 weeks ago
Build #7
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: MCrow
Do you like this plugin? You can fund the maintenance of this plugin with a donation to MCrow.
The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

Teleportation

Teleportation – Unturned Plugin

  • Don’t allow players to run away from combat or while raiding
  • Don’t allow players to teleport while they are in cave or glitched underground
  • Notifies when combat/raid mode starts and expires
  • Plugin has it’s own cooldown system
  • Allows you to set a delay before player is teleported after request is accepted
  • Set the color of messages sent by plugin!

Commands

  • /tpa <player> – Sends a TPA request to the given player
  • /tpa <accept> – Accepts TPA request from the last player
  • /tpa <cancel> – Cancels your last TPA request
  • /tpa <deny> – Denies latest TPA request to you

Alies: /tpa a, /tpa c, /tpa d

Configuration

<?xml version="1.0" encoding="utf-8"?>
<TeleportationConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MessageColor>magenta</MessageColor>
  <TPACooldown>90</TPACooldown>
  <TPADelay>3</TPADelay>
  <AllowCave>false</AllowCave>
  <AllowRaid>false</AllowRaid>
  <RaidDuration>30</RaidDuration>
  <AllowCombat>false</AllowCombat>
  <CombatDuration>20</CombatDuration>
</TeleportationConfiguration>

Translation

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="TargetNotFound" Value="Failed to find a target" />
  <Translation Id="CombatStart" Value="Combat mode started" />
  <Translation Id="CombatExpire" Value="Combat mode expired" />
  <Translation Id="RaidStart" Value="Raid mode started" />
  <Translation Id="RaidExpire" Value="Raid mode expired" />
  <Translation Id="TPAHelp" Value="Use: /tpa &lt;player/accept/deny/cancel&gt;" />
  <Translation Id="TPACooldown" Value="You have to wait {0} before you can send request again" />
  <Translation Id="TPADuplicate" Value="You already sent a teleportation request to that player" />
  <Translation Id="TPASent" Value="Successfully sent TPA request to {0}" />
  <Translation Id="TPAReceive" Value="You received TPA request from {0}" />
  <Translation Id="TPANoRequest" Value="There is no TPA requests to you" />
  <Translation Id="TPAAccepted" Value="Successfully accepted TPA request from {0}" />
  <Translation Id="TPADelay" Value="You will be teleported to {0} in {1} seconds" />
  <Translation Id="TPAWhileCombat" Value="Teleportation canceled because you or {0} is in combat mode" />
  <Translation Id="TPAWhileRaid" Value="Teleportation canceled because you or {0} is in raid mode" />
  <Translation Id="TPADead" Value="Teleportation canceled because you or {0} is dead" />
  <Translation Id="TPACave" Value="Teleportation canceled because {0} is in cave" />
  <Translation Id="TPANoSentRequest" Value="You did not send any TPA request" />
  <Translation Id="TPACanceled" Value="Successfully canceled TPA request to {0}" />
  <Translation Id="TPADenied" Value="Successfully denied TPA request from {0}" />
  <Translation Id="TPASuccess" Value="You have been teleported to {0}" />
  <Translation Id="TPAYourself" Value="You cannot send TPA request to yourself" />
</Translations>

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<TeleportationConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MessageColor>gray</MessageColor>
  <TPACooldown>90</TPACooldown>
  <TPADelay>3</TPADelay>
  <AllowCave>false</AllowCave>
  <AllowRaid>false</AllowRaid>
  <RaidDuration>30</RaidDuration>
  <AllowCombat>false</AllowCombat>
  <CombatDuration>20</CombatDuration>
</TeleportationConfiguration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="TargetNotFound" Value="Failed to find a target" />
  <Translation Id="CombatStart" Value="Combat mode started" />
  <Translation Id="CombatExpire" Value="Combat mode expired" />
  <Translation Id="RaidStart" Value="Raid mode started" />
  <Translation Id="RaidExpire" Value="Raid mode expired" />
  <Translation Id="TPAHelp" Value="Use: /tpa &lt;player/accept/deny/cancel&gt;" />
  <Translation Id="TPACooldown" Value="You have to wait {0} before you can send request again" />
  <Translation Id="TPADuplicate" Value="You already sent a teleportation request to that player" />
  <Translation Id="TPASent" Value="Successfully sent TPA request to {0}" />
  <Translation Id="TPAReceive" Value="You received TPA request from {0}" />
  <Translation Id="TPANoRequest" Value="There is no TPA requests to you" />
  <Translation Id="TPAAccepted" Value="Successfully accepted TPA request from {0}" />
  <Translation Id="TPADelay" Value="You will be teleported to {0} in {1} seconds" />
  <Translation Id="TPAWhileCombat" Value="Teleportation canceled because you or {0} is in combat mode" />
  <Translation Id="TPAWhileRaid" Value="Teleportation canceled because you or {0} is in raid mode" />
  <Translation Id="TPADead" Value="Teleportation canceled because you or {0} is dead" />
  <Translation Id="TPACave" Value="Teleportation canceled because {0} is in cave" />
  <Translation Id="TPANoSentRequest" Value="You did not send any TPA request" />
  <Translation Id="TPACanceled" Value="Successfully canceled TPA request to {0}" />
  <Translation Id="TPADenied" Value="Successfully denied TPA request from {0}" />
  <Translation Id="TPASuccess" Value="You have been teleported to {0}" />
  <Translation Id="TPAYourself" Value="You cannot send TPA request to yourself" />
</Translations>

Commands and permissions


/tpa (player/accept/deny/cancel)

Permissions: tpa

Teleportation request command


Git changelog


4b8b995673448bb 2019-10-29 08:02:38

Added support for MoreHomes 2.1+

    305489ca9c57e8b 2019-10-03 18:11:42

    Fix Null issue

      3ec1f900bf2f21d 2019-09-21 20:27:04

      Fixed cooldown issue

        320404b9549579f 2019-09-18 21:04:10

        Made source work for rocket harbor build...

          08e388decbd7817 2019-09-18 20:52:07

          Update README.md

            03c8c51df366fd8 2019-09-18 20:34:23

            Initial RocketMod 4 version commit

              6c3c44a8c770be0 2019-05-01 13:52:03

              Add System.Numerics.Vectors

                6369454c25a13df 2019-05-01 13:50:02

                Add Rocket.UnityEngine

                  734f46c40d39845 2019-05-01 13:44:37

                  Add missing libs

                    cb75e219b87965d 2019-04-17 18:15:54

                    Teleportation 1.0.2

                    • Fixed the issue with home database, "missing default constructor"

                    69c0fb722acb5df 2019-04-12 11:31:51

                    Update README.md

                      7dcbdca7d036b60 2019-04-11 21:10:43

                      Update README.md

                        125a3bdd12bde67 2019-04-11 21:09:47

                        Update README.md

                          0add832021ee2bc 2019-04-11 20:29:41

                          Update README.md

                            3ce77b71b3ade84 2019-04-11 19:59:31

                            Update README.md

                              f27587d17cb6b81 2019-04-10 14:21:51

                              Update LICENSE

                                e9cb2df1454ae75 2019-04-10 14:11:12

                                Patch TeleporationRequestManager

                                  f5c3a6070ce7691 2019-04-10 12:34:56

                                  Add TeleporationRequestManager

                                    5171e19b70c2639 2019-04-09 13:13:46

                                    Update README.md

                                      dada34d560da88f 2019-04-09 13:13:32

                                      Update README.md

                                        7b2d89fc535f6c7 2019-04-09 13:11:36

                                        Update README.md

                                          f9dc3eccd89c36e 2019-04-08 22:09:18

                                          Add solution file

                                            dd9234f7a853395 2019-04-08 22:08:28

                                            Remove git ignored files

                                              e0532b009792a10 2019-04-08 22:07:57

                                              Refactoring & Cleanup

                                                39b5610d7af12db 2019-04-08 21:10:27

                                                Update README.md

                                                  59352acde4e911a 2019-04-08 20:54:03

                                                  Update README.md

                                                    06daeeae551e3b8 2019-04-08 20:52:25

                                                    First Upload