Planets.nu - Message Links Plugin

Adds links to ships/planets/bases in reports and messages.

Author
big beefer
Daily installs
0
Total installs
173
Ratings
0 0 0
Version
1.0
Created
2014-11-27
Updated
2014-11-27
Size
7.87 KB
License
N/A
Applies to

This add-on improves inter-player communications by adding links into the
message to replace strings of the following formats:

s#XXX
p#XXX
b#XXX

where s, p, b are for ship, planet, base respectively, and XXX is the id
number of the object. The # may be omitted. If the object is found,
the text is replace by a link including the name, that when clicked
selects the object on the map.

Example, the string:

s#42

will be replaced by a link similar to "S#42: GOBRIE CLASS BATTLE CARRIER",
which will also select that ship when clicked.

Version History:
0.3 Adds notes to bottom of ship and planet screens. Applies same link format.
0.4 Adds links to system messages too, searching for "ID#XXX". Simple mided
implementation, will likely give strange results in some corner cases,
such as a planet and a ship having both the same ID *and* name, or a ship
having a name set to the name and ID of a different ship/planet.
0.5 Fixes system message links to handle ship names with special chars.
0.7 Changes link color for new version
1.0 Major update for new version
- now uses plugin toolkit
- fixed some links to stuff owned by others
- added map highlighting of object when selected
- added parsing of formats without the # sign in between, ie. s42 or p123
(this seems to be a more common usage)
- links are now also added to activity feed
- activity feed is detachable, can be viewed as movable window and is visible
on map and other screens