Join the Game4Freak Discord Get exclusive plugin sneak peeks, talk directly with VisEntities, never miss important updates, and unlock special discount codes!
Map Marker Teleport

Map Marker Teleport 1.2.0

Sign in to download
Teleport to any location by placing a map marker
Map Marker Teleport lets players move to any point on the map by dropping a marker. Open the map, place a marker on the destination, and you are teleported there instantly.

Permissions

  • mapmarkerteleport.use -- Allows teleporting by placing a map marker and using the toggle command

Commands

  • /mmt <on|off>-- Enables or disables map marker teleportation
    • on (also accepts enable) -- Turns teleportation on
    • off (also accepts disable) -- Turns teleportation off

Configuration

JSON:
{
  "Toggle Command": "mmt"
}
  • Toggle Command -- Chat command used to turn map marker teleportation on or off

Localization

JSON:
{
  "Command.NoPermission": "You don't have permission to use this command.",
  "Command.Usage": "Usage: /{0} <on|off>",
  "Teleportation.Enabled": "Map marker teleportation is now <color=#ADFF2F>enabled</color>.",
  "Teleportation.Disabled": "Map marker teleportation is now <color=#FF6347>disabled</color>.",
  "Teleportation.BlockedWhileMounted": "You can't teleport while mounted."
}

Developer Hooks

OnMapMarkerTeleport

Called before a player is teleported. Return a non-null value to cancel the teleport.
C#:
object OnMapMarkerTeleport(BasePlayer player, Vector3 destination)
  • player -- The player about to be teleported
  • destination -- The world position the player is teleporting to
Author
VisEntities
Downloads
94
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

Latest updates

  1. 1.2.0

    Added a chat command to enable or disable map marker teleportation on the fly. Players can no...
  2. 1.1.1

    Patched for the May 7 Rust update.
  3. 1.1.0

    Fixed players teleporting underwater when placing markers on water/ocean. Added...
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart