About Teleport Status
A useful plugin that displays the time until teleportation with the ability to automatically generate hooks. Depends on AdvancedStatus plugin.
- The ability to display status bars until teleportation;
- The ability to automatically generate code for teleport hooks;
- The ability to automatically generate language files for different languages(filled in English);
- The ability to customize the status bar for each teleport hook;
- The ability to choose between bar types(TimeCounter and TimeProgressCounter);
- The ability to specify the order of the bar;
- The ability to change the height of the bar;
- The abillity to customize the color and transparency of the background;
- The ability to set a material for the background;
- The ability to switch between CuiRawImageComponent and CuiImageComponent for the image;
- The ability to get images from the local folder(*SERVER*\oxide\data\AdvancedStatus\Images);
- The abillity to set own image and customize the color and transparency of the image;
- The abillity to set sprite instead of the image;
- The ability to customize the color, size, font and outline of the text.
{
"Is it worth generating teleport hooks? 0 - disabled, 1 - one-time activation, 2 - always enabled": 2,
"List of language keys for creating language files": [
"en"
],
"List of 'cancel' teleport commands": [
"tpc"
],
"Limits the length of the displayed teleport name. A value of 0 disables the limitation": 10,
"List of hooks for generation. Leave empty or null to recreate the default list": [
{
"IsEnabled": true,
"Hook method name": "OnTeleportAccepted",
"Language key for the text": "BarTeleportToPlayer",
"Specify the status bar Id used for this hook": "ToPlayer",
"Is it worth sending the status bar for the target player?": true,
"Language key for the text for the target player": "BarTeleportFromPlayer",
"Specify the status bar Id used for the target player": "FromPlayer",
"Specify all hook arguments(type and name) in order, separated by commas. Example: BasePlayer target, BasePlayer player, int countdown": "BasePlayer target, BasePlayer player, int countdown",
"Indicates whether this hook represents a teleport cancelation event(e.g. OnTeleportInterrupted). Only InitiatorIndex is required": false,
"Specify the index of the argument that contains the initiator": 1,
"Specify the index of the argument that contains the target": 0,
"Specify the argument index that contains the teleport countdown. Note: this index must not overlap with others, only int type is supported": 2
},
{
"IsEnabled": true,
"Hook method name": "OnHomeAccepted",
"Language key for the text": "BarTeleportToHome",
"Specify the status bar Id used for this hook": "Home",
"Is it worth sending the status bar for the target player?": false,
"Language key for the text for the target player": null,
"Specify the status bar Id used for the target player": null,
"Specify all hook arguments(type and name) in order, separated by commas. Example: BasePlayer target, BasePlayer player, int countdown": "BasePlayer player, string home, int countdown",
"Indicates whether this hook represents a teleport cancelation event(e.g. OnTeleportInterrupted). Only InitiatorIndex is required": false,
"Specify the index of the argument that contains the initiator": 0,
"Specify the index of the argument that contains the target": 1,
"Specify the argument index that contains the teleport countdown. Note: this index must not overlap with others, only int type is supported": 2
},
{
"IsEnabled": true,
"Hook method name": "OnHomeAccepted",
"Language key for the text": "BarTeleportToHome",
"Specify the status bar Id used for this hook": "Home",
"Is it worth sending the status bar for the target player?": false,
"Language key for the text for the target player": null,
"Specify the status bar Id used for the target player": null,
"Specify all hook arguments(type and name) in order, separated by commas. Example: BasePlayer target, BasePlayer player, int countdown": "BasePlayer player, string home, Vector3 pos, int countdown",
"Indicates whether this hook represents a teleport cancelation event(e.g. OnTeleportInterrupted). Only InitiatorIndex is required": false,
"Specify the index of the argument that contains the initiator": 0,
"Specify the index of the argument that contains the target": 1,
"Specify the argument index that contains the teleport countdown. Note: this index must not overlap with others, only int type is supported": 3
},
{
"IsEnabled": true,
"Hook method name": "OnTownAccepted",
"Language key for the text": "BarTeleportToTown",
"Specify the status bar Id used for this hook": "Town",
"Is it worth sending the status bar for the target player?": false,
"Language key for the text for the target player": null,
"Specify the status bar Id used for the target player": null,
"Specify all hook arguments(type and name) in order, separated by commas. Example: BasePlayer target, BasePlayer player, int countdown": "BasePlayer player, string name, int countdown",
"Indicates whether this hook represents a teleport cancelation event(e.g. OnTeleportInterrupted). Only InitiatorIndex is required": false,
"Specify the index of the argument that contains the initiator": 0,
"Specify the index of the argument that contains the target": 1,
"Specify the argument index that contains the teleport countdown. Note: this index must not overlap with others, only int type is supported": 2
},
{
"IsEnabled": true,
"Hook method name": "OnTeleportBackAccepted",
"Language key for the text": "BarTeleportToBack",
"Specify the status bar Id used for this hook": "Back",
"Is it worth sending the status bar for the target player?": false,
"Language key for the text for the target player": null,
"Specify the status bar Id used for the target player": null,
"Specify all hook arguments(type and name) in order, separated by commas. Example: BasePlayer target, BasePlayer player, int countdown": "BasePlayer player, Vector3 location, int countdown",
"Indicates whether this hook represents a teleport cancelation event(e.g. OnTeleportInterrupted). Only InitiatorIndex is required": false,
"Specify the index of the argument that contains the initiator": 0,
"Specify the index of the argument that contains the target": 1,
"Specify the argument index that contains the teleport countdown. Note: this index must not overlap with others, only int type is supported": 2
},
{
"IsEnabled": true,
"Hook method name": "OnTeleportInterrupted",
"Language key for the text": "BarTeleportToWarp",
"Specify the status bar Id used for this hook": "Warp",
"Is it worth sending the status bar for the target player?": false,
"Language key for the text for the target player": null,
"Specify the status bar Id used for the target player": null,
"Specify all hook arguments(type and name) in order, separated by commas. Example: BasePlayer target, BasePlayer player, int countdown": "BasePlayer player",
"Indicates whether this hook represents a teleport cancelation event(e.g. OnTeleportInterrupted). Only InitiatorIndex is required": true,
"Specify the index of the argument that contains the initiator": 0,
"Specify the index of the argument that contains the target": -1,
"Specify the argument index that contains the teleport countdown. Note: this index must not overlap with others, only int type is supported": -1
}
],
"List of status bar settings. The keys of these settings can be used for generated hooks. Leave empty or null to recreate the default list": {
"ToPlayer": {
"BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
"Order": 21,
"Height": 26,
"Main_Color(Hex or RGBA)": "#FFFFFF",
"Main_Transparency": 0.15,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/NuAl6T5.png",
"Image_Local(Leave empty to use Image_Url)": "TeleportStatus_Player",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#15AC9D",
"Image_Transparency": 1.0,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#15AC9D",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 0,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#15AC9D",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75",
"Progress_Reverse": false,
"Progress_Color(Hex or RGBA)": "#009688",
"Progress_Transparency": 0.7,
"Progress_OffsetMin": "0 0",
"Progress_OffsetMax": "0 0"
},
"FromPlayer": {
"BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
"Order": 22,
"Height": 26,
"Main_Color(Hex or RGBA)": "#FFFFFF",
"Main_Transparency": 0.15,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/G3TrHoc.png",
"Image_Local(Leave empty to use Image_Url)": "TeleportStatus_FromPlayer",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#E2DBD6",
"Image_Transparency": 0.55,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#15AC9D",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 2,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#15AC9D",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75",
"Progress_Reverse": false,
"Progress_Color(Hex or RGBA)": "#009688",
"Progress_Transparency": 0.7,
"Progress_OffsetMin": "25 0",
"Progress_OffsetMax": "0 0"
},
"Home": {
"BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
"Order": 23,
"Height": 26,
"Main_Color(Hex or RGBA)": "#FFFFFF",
"Main_Transparency": 0.15,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/3xQmCKv.png",
"Image_Local(Leave empty to use Image_Url)": "TeleportStatus_Home",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#E2DBD6",
"Image_Transparency": 0.55,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#E2DBD6",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 2,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#E2DBD6",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75",
"Progress_Reverse": false,
"Progress_Color(Hex or RGBA)": "#009688",
"Progress_Transparency": 0.7,
"Progress_OffsetMin": "25 2.5",
"Progress_OffsetMax": "-3.5 -3.5"
},
"Town": {
"BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
"Order": 24,
"Height": 26,
"Main_Color(Hex or RGBA)": "#FFFFFF",
"Main_Transparency": 0.15,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/FswyqvJ.png",
"Image_Local(Leave empty to use Image_Url)": "TeleportStatus_Town",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#E2DBD6",
"Image_Transparency": 0.55,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#E2DBD6",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 0,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#E2DBD6",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75",
"Progress_Reverse": false,
"Progress_Color(Hex or RGBA)": "#009688",
"Progress_Transparency": 0.7,
"Progress_OffsetMin": "0 0",
"Progress_OffsetMax": "0 0"
},
"Back": {
"BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
"Order": 25,
"Height": 26,
"Main_Color(Hex or RGBA)": "#FFFFFF",
"Main_Transparency": 0.15,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/I9B2joa.png",
"Image_Local(Leave empty to use Image_Url)": "TeleportStatus_Back",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#E2DBD6",
"Image_Transparency": 0.55,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#E2DBD6",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 2,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#E2DBD6",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75",
"Progress_Reverse": false,
"Progress_Color(Hex or RGBA)": "#009688",
"Progress_Transparency": 0.7,
"Progress_OffsetMin": "25 0",
"Progress_OffsetMax": "0 0"
},
"Warp": {
"BarType(TimeProgressCounter or TimeCounter)": "TimeProgressCounter",
"Order": 26,
"Height": 26,
"Main_Color(Hex or RGBA)": "#FFFFFF",
"Main_Transparency": 0.15,
"Main_Material(empty to disable)": "",
"Image_Url": "https://i.imgur.com/sczcAdC.png",
"Image_Local(Leave empty to use Image_Url)": "TeleportStatus_Warp",
"Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Image_IsRawImage": false,
"Image_Color(Hex or RGBA)": "#E2DBD6",
"Image_Transparency": 0.55,
"Is it worth enabling an outline for the image?": false,
"Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Image_Outline_Transparency": 1.0,
"Image_Outline_Distance": "0.75 0.75",
"Text_Size": 12,
"Text_Color(Hex or RGBA)": "#E2DBD6",
"Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Text_Offset_Horizontal": 0,
"Is it worth enabling an outline for the text?": false,
"Text_Outline_Color(Hex or RGBA)": "#000000",
"Text_Outline_Transparency": 1.0,
"Text_Outline_Distance": "0.75 0.75",
"SubText_Size": 12,
"SubText_Color(Hex or RGBA)": "#E2DBD6",
"SubText_Font": "RobotoCondensed-Bold.ttf",
"Is it worth enabling an outline for the sub text?": false,
"SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
"SubText_Outline_Transparency": 1.0,
"SubText_Outline_Distance": "0.75 0.75",
"Progress_Reverse": false,
"Progress_Color(Hex or RGBA)": "#009688",
"Progress_Transparency": 0.7,
"Progress_OffsetMin": "0 0",
"Progress_OffsetMax": "0 0"
}
},
"Version": {
"Major": 0,
"Minor": 1,
"Patch": 2
}
}
EN:
{
"BarTeleportToPlayer": "Teleport to {0} in:",
"BarTeleportFromPlayer": "{0} will be at you in:",
"BarTeleportToHome": "Teleport to {0} in:",
"BarTeleportToTown": "Teleport to {0} in:",
"BarTeleportToBack": "Teleport to {0} in:",
"BarTeleportToWarp": "Teleport to {0} in:"
}
RU:
{
"BarTeleportToPlayer": "Телепорт к {0} через:",
"BarTeleportFromPlayer": "{0} будет у вас через:",
"BarTeleportToHome": "Телепорт в {0} через:",
"BarTeleportToTown": "Телепорт в {0} через:",
"BarTeleportToBack": "Телепорт в {0} через:",
"BarTeleportToWarp": "Телепорт в {0} через:"
}
