Teleports player to marker on map when placed

Supported Games
GameServerKingsGameServerKings

When player placing marker on map this plugin allows to instantly teleport player to that marker, if player has a permission, or is admin and teleporting without permission for andmins is set in config file. Plugin simply teleports you to marker placed on map. You will get Godmode enabled and teleport will be on cooldown. You can set duration in config file. While you are able to set it to 0, it is strongly recommended you to keep minimal cooldown time at least 5 seconds (default).

Permissions

  • mapnoteteleport.use -- Allows player to teleport to map markers

Commands

  • /mnt <time (seconds)> - Set teleport cooldown time
  • /mnt <t | toggle> - Enable/Disable teleporting to map marker
  • /mnt <n | notify> - Enable/Disable chat notification

Configuration

{
  "Global settings": {
    "Use permissions": true,
    "Allow admins to use without permission": true,
    "Default Enabled": true,
    "Default Cooldown": 10.0,
    "Maximum Cooldown": 15.0,
    "Minimum Cooldown": 5.0,
    "GodMode Cooldown": 5.0,
    "Commands list": [
      "mnt",
      "mapnoteteleport"
    ]
  },
  "Chat settings": {
    "Chat steamID icon": 0,
    "Notifications Enabled by default": true
  }
}

Localization

{
  "CooldownEnded": "Cooldown is now ended. You can teleport again.",
  "GodModeEnded": "Godmode is now <color=#B22222>Disabled</color>.",
  "Disabled": "<color=#B22222>Disabled</color>",
  "Enabled": "<color=#228B22>Enabled</color>",
  "MapNoteTeleport": "Teleporting to map marker is now {0}",
  "MapNoteTeleportCooldown": "Teleporting to map marker Cooldown set to <color=#FFA500>{0}</color>s.",
  "MapNoteTeleportCooldownLimit": "Teleporting to map marker Cooldown allowed is between <color=#FFA500>{0}</color>s and <color=#FFA500>{1}</color>s",
  "MapNoteTeleportDead": "You can't teleport while being dead!",
  "MapNoteTeleportMounted": "You can't teleport while seated!",
  "MapNoteTeleportNotification": "Notification to chat is now {0}",
  "NotAllowed": "You do not have permission to use this command!",
  "Prefix": "<color=#00FFFF>[MapNote Teleport]</color>: ",
  "Teleported": "Teleported to <color=#FFA500>{0}</color>. Godmode is now <color=#228B22>Enabled</color> for <color=#FFA500>{1}</color>s. Teleport is on Cooldown for <color=#FFA500>{2}</color>s.",
  "SyntaxError": "Syntax error occured!\n<color=#FFFF00>/{0} <time (seconds)></color> - Set teleport Cooldown time, the allowed time is between <color=#FFA500>{1}</color>s and <color=#FFA500>{2}</color>s.\n<color=#FFFF00>/{0} <t | toggle></color> - Enable/Disable teleporting to map marker\n<color=#FFFF00>/{0} <n | notify></color> - Enable/Disable notification to chat"
}

Credits

Talha, for the Teleport Marker plugin which this is inspired by

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.