Difference between revisions of "Plugins/StaticMarker"

From Torch Wiki
Jump to: navigation, search
(Created page with "The plugin ''[https://torchapi.net/plugins/item/5650e141-2d24-408c-aa56-49a78734ce9e StaticMarker]'' adds an option to send GPS coordinates predefined in a file to players whe...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[category:Plugins]]
 +
 
The plugin ''[https://torchapi.net/plugins/item/5650e141-2d24-408c-aa56-49a78734ce9e StaticMarker]'' adds an option to send GPS coordinates predefined in a file to players when they login to a server or via a command. It was brought to torch by Fank.
 
The plugin ''[https://torchapi.net/plugins/item/5650e141-2d24-408c-aa56-49a78734ce9e StaticMarker]'' adds an option to send GPS coordinates predefined in a file to players when they login to a server or via a command. It was brought to torch by Fank.
  
 
== Configuration ==
 
== Configuration ==
Until know, the plugin lacks a feature complete interface, the only option in the client is to turn the plugin on or off via checkmark.
+
Until now, the plugin lacks a feature complete interface, the only option in the client is to turn the plugin on or off via checkmark.
  
 
When the plugin gets added to torch, it will create two files <code>StaticMarker.cfg</code> and <code>StaticMarkerEntries.cfg</code> in the Instance directory. The second holds the GPS entries:
 
When the plugin gets added to torch, it will create two files <code>StaticMarker.cfg</code> and <code>StaticMarkerEntries.cfg</code> in the Instance directory. The second holds the GPS entries:
Line 12: Line 14:
  
 
     <Entry>
 
     <Entry>
       <name>&lt;Map Center&gt;</name>
+
       <name>&amp;lt;Map Center&amp;gt;</name>
 
       <description>The center of the universe.. at least of this SE world.</description>
 
       <description>The center of the universe.. at least of this SE world.</description>
 
       <coords>
 
       <coords>
Line 41: Line 43:
 
</pre>
 
</pre>
  
Some of the tags may not be relevant - you may try for yourself, which lines can be omited.
+
Some of the tags may not be relevant - you may try for yourself, which lines can be omitted.

Latest revision as of 21:53, 8 September 2019


The plugin StaticMarker adds an option to send GPS coordinates predefined in a file to players when they login to a server or via a command. It was brought to torch by Fank.

Configuration

Until now, the plugin lacks a feature complete interface, the only option in the client is to turn the plugin on or off via checkmark.

When the plugin gets added to torch, it will create two files StaticMarker.cfg and StaticMarkerEntries.cfg in the Instance directory. The second holds the GPS entries:

<?xml version="1.0" encoding="utf-8"?>
<MarkerEntriesConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Entries>

    <Entry>
      <name>&lt;Map Center&gt;</name>
      <description>The center of the universe.. at least of this SE world.</description>
      <coords>
        <X>0</X>
        <Y>0</Y>
        <Z>0</Z>
      </coords>
      <isFinal>true</isFinal>
      <showOnHud>true</showOnHud>
      <alwaysVisible>true</alwaysVisible>
      <color>
        <PackedValue>4278255360</PackedValue>
        <X>0</X>
        <Y>255</Y>
        <Z>0</Z>
        <R>0</R>
        <G>255</G>
        <B>0</B>
        <A>255</A>
      </color>
      <entityId>0</entityId>
      <isObjective>false</isObjective>
      <DisplayName>0/0/0</DisplayName>
    </Entry>

  </Entries>
</MarkerEntriesConfig>

Some of the tags may not be relevant - you may try for yourself, which lines can be omitted.