Planets.nu - Message Links Plugin

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
big beefer
今日安裝
0
安裝總數
173
評價
0 0 0
版本
1.0
建立日期
2014-11-27
更新日期
2014-11-27
尺寸
7.9 KB
授權條款
未知
腳本執行於

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