diff --git a/docs/addons/Advanced-Start.html b/docs/addons/Advanced-Start.html index 96250255..6aeb414d 100644 --- a/docs/addons/Advanced-Start.html +++ b/docs/addons/Advanced-Start.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -361,7 +363,7 @@ generated by LDoc diff --git a/docs/addons/Chat-Popups.html b/docs/addons/Chat-Popups.html index c6e2a872..16c72de1 100644 --- a/docs/addons/Chat-Popups.html +++ b/docs/addons/Chat-Popups.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -362,7 +364,7 @@ generated by LDoc diff --git a/docs/addons/Chat-Reply.html b/docs/addons/Chat-Reply.html index ccdf2d0f..3464d378 100644 --- a/docs/addons/Chat-Reply.html +++ b/docs/addons/Chat-Reply.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -389,7 +391,7 @@ generated by LDoc diff --git a/docs/addons/Compilatron.html b/docs/addons/Compilatron.html index 0282db03..bf731c46 100644 --- a/docs/addons/Compilatron.html +++ b/docs/addons/Compilatron.html @@ -73,6 +73,7 @@ + @@ -128,6 +129,7 @@ + @@ -598,7 +600,7 @@ generated by LDoc diff --git a/docs/addons/Damage-Popups.html b/docs/addons/Damage-Popups.html index 4f63ada1..1d0b632d 100644 --- a/docs/addons/Damage-Popups.html +++ b/docs/addons/Damage-Popups.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -362,7 +364,7 @@ generated by LDoc diff --git a/docs/addons/Death-Logger.html b/docs/addons/Death-Logger.html index f0ca05f9..1514ec1f 100644 --- a/docs/addons/Death-Logger.html +++ b/docs/addons/Death-Logger.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -417,7 +419,7 @@ generated by LDoc diff --git a/docs/addons/Discord-Alerts.html b/docs/addons/Discord-Alerts.html index da597649..fc4544d0 100644 --- a/docs/addons/Discord-Alerts.html +++ b/docs/addons/Discord-Alerts.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -473,7 +475,7 @@ generated by LDoc diff --git a/docs/addons/Inventory-Clear.html b/docs/addons/Inventory-Clear.html index 9c397054..891b2b3e 100644 --- a/docs/addons/Inventory-Clear.html +++ b/docs/addons/Inventory-Clear.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -361,7 +363,7 @@ generated by LDoc diff --git a/docs/addons/Pollution-Grading.html b/docs/addons/Pollution-Grading.html index e37bdcc0..03ead1bd 100644 --- a/docs/addons/Pollution-Grading.html +++ b/docs/addons/Pollution-Grading.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -333,7 +335,7 @@ generated by LDoc diff --git a/docs/addons/Scorched-Earth.html b/docs/addons/Scorched-Earth.html index 70af5da4..ca4ef857 100644 --- a/docs/addons/Scorched-Earth.html +++ b/docs/addons/Scorched-Earth.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -417,7 +419,7 @@ generated by LDoc diff --git a/docs/addons/Spawn-Area.html b/docs/addons/Spawn-Area.html index c9b1fe0d..bb5564e9 100644 --- a/docs/addons/Spawn-Area.html +++ b/docs/addons/Spawn-Area.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -389,7 +391,7 @@ generated by LDoc diff --git a/docs/addons/Tree-Decon.html b/docs/addons/Tree-Decon.html index 4c56e730..80c6f75e 100644 --- a/docs/addons/Tree-Decon.html +++ b/docs/addons/Tree-Decon.html @@ -72,6 +72,7 @@ + @@ -127,6 +128,7 @@ + @@ -389,7 +391,7 @@ generated by LDoc diff --git a/docs/commands/Admin-Chat.html b/docs/commands/Admin-Chat.html index 21482eba..495fcca4 100644 --- a/docs/commands/Admin-Chat.html +++ b/docs/commands/Admin-Chat.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -401,7 +403,7 @@ generated by LDoc diff --git a/docs/commands/Cheat-Mode.html b/docs/commands/Cheat-Mode.html index 4c0fe1ac..9470341f 100644 --- a/docs/commands/Cheat-Mode.html +++ b/docs/commands/Cheat-Mode.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -374,7 +376,7 @@ generated by LDoc diff --git a/docs/commands/Clear-Inventory.html b/docs/commands/Clear-Inventory.html index 78ba22a9..addbf00f 100644 --- a/docs/commands/Clear-Inventory.html +++ b/docs/commands/Clear-Inventory.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -401,7 +403,7 @@ generated by LDoc diff --git a/docs/commands/Connect.html b/docs/commands/Connect.html new file mode 100644 index 00000000..6c136657 --- /dev/null +++ b/docs/commands/Connect.html @@ -0,0 +1,614 @@ + + + + + + + + Connect commands + + + + + + + +
+
+ + + + + + + +
+ + + + + + + + +

Connect commands

+

Commands Module - Connect + - Adds a commands that allows you to request a player move to another server

+

+ + + + + + + + + + + + + +

Dependencies

+ + + + + + + + + + + + + +
expcore.async
expcore.external
expcore.commands
+ + +

Commands

+ + + + + + + + + + + + + + + + +
connectConnect to a different server
connect-playerConnect a player to a different server
connect-allConnect all players to a different server
+ + +
+ + +

Dependencies

+
+
+
+
+ # + expcore.async +
+
+
+
+ + + + + + + + + + + + + + + +
+
+
+
+ # + expcore.external +
+
+
+
+ + + + + + + + + + + + + + + +
+
+
+
+ # + expcore.commands +
+
+
+
+ + + + + + + + + + + + + + + +
+
+

Commands

+
+
+
+
+ # + connect +
+
+
+
+ +

Connect to a different server

+

+ + + Command Parameters: + +
    + + + + + +
  • + + server + + : + + (string) + + The address or name of the server to connect to + +
  • + + + + + +
  • + + is_address + + : + + (boolean) + + If an address was given for the server param + + (default: false) +
  • + + +
+ + + + + + + + + + + + + +
+
+
+
+ # + connect-player +
+
+
+
+ +

Connect a player to a different server

+

+ + + Command Parameters: + +
    + + + + + +
  • + + address + + : + + (string) + + The address or name of the server to connect to + +
  • + + + + + +
  • + + player + + : + + (LuaPlayer) + + The player to connect to a different server + +
  • + + + + + +
  • + + is_address + + : + + (boolean) + + If an address was given for the server param + + (default: false) +
  • + + +
+ + + + + + + + + + + + + +
+
+
+
+ # + connect-all +
+
+
+
+ +

Connect all players to a different server

+

+ + + Command Parameters: + +
    + + + + + +
  • + + address + + : + + (string) + + The address or name of the server to connect to + +
  • + + + + + +
  • + + is_address + + : + + (boolean) + + If an address was given for the server param + + (default: false) +
  • + + +
+ + + + + + + + + + + + + +
+
+ + + +
+
+
+ + + + diff --git a/docs/commands/Debug.html b/docs/commands/Debug.html index 7241009b..3e18232a 100644 --- a/docs/commands/Debug.html +++ b/docs/commands/Debug.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -378,7 +380,7 @@ generated by LDoc diff --git a/docs/commands/Find.html b/docs/commands/Find.html index 250d30d2..a24912fa 100644 --- a/docs/commands/Find.html +++ b/docs/commands/Find.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -373,7 +375,7 @@ generated by LDoc diff --git a/docs/commands/Help.html b/docs/commands/Help.html index 1e48c92f..8d6603f9 100644 --- a/docs/commands/Help.html +++ b/docs/commands/Help.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -417,7 +419,7 @@ generated by LDoc diff --git a/docs/commands/Home.html b/docs/commands/Home.html index 08a4ae33..7ddba845 100644 --- a/docs/commands/Home.html +++ b/docs/commands/Home.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -471,7 +473,7 @@ generated by LDoc diff --git a/docs/commands/Interface.html b/docs/commands/Interface.html index 1648ca1a..5da0a630 100644 --- a/docs/commands/Interface.html +++ b/docs/commands/Interface.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -262,9 +264,6 @@ utils.global - - expcore.common - @@ -329,31 +328,6 @@ - - - - - - - -
-
-
- # - expcore.common -
-
-
-
- - - - - - - - - @@ -429,7 +403,7 @@ generated by LDoc
diff --git a/docs/commands/Jail.html b/docs/commands/Jail.html index cac7fbdf..c6bb3260 100644 --- a/docs/commands/Jail.html +++ b/docs/commands/Jail.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -624,7 +626,7 @@ generated by LDoc diff --git a/docs/commands/Kill.html b/docs/commands/Kill.html index 79db9c51..93d35e5d 100644 --- a/docs/commands/Kill.html +++ b/docs/commands/Kill.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -402,7 +404,7 @@ generated by LDoc diff --git a/docs/commands/Me.html b/docs/commands/Me.html index 34d74506..68121998 100644 --- a/docs/commands/Me.html +++ b/docs/commands/Me.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -373,7 +375,7 @@ generated by LDoc diff --git a/docs/commands/Rainbow.html b/docs/commands/Rainbow.html index c35b611a..75705b05 100644 --- a/docs/commands/Rainbow.html +++ b/docs/commands/Rainbow.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -401,7 +403,7 @@ generated by LDoc diff --git a/docs/commands/Repair.html b/docs/commands/Repair.html index 4434d8ec..03c57b14 100644 --- a/docs/commands/Repair.html +++ b/docs/commands/Repair.html @@ -52,6 +52,7 @@ + @@ -78,6 +79,7 @@ + @@ -334,7 +336,7 @@ generated by LDoc diff --git a/docs/commands/Reports.html b/docs/commands/Reports.html index 3193bf82..cbd14acf 100644 --- a/docs/commands/Reports.html +++ b/docs/commands/Reports.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -598,7 +600,7 @@ generated by LDoc diff --git a/docs/commands/Roles.html b/docs/commands/Roles.html index f7ab5ef0..60445452 100644 --- a/docs/commands/Roles.html +++ b/docs/commands/Roles.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -570,7 +572,7 @@ generated by LDoc diff --git a/docs/commands/Spawn.html b/docs/commands/Spawn.html index 3cd3ae75..e01029bf 100644 --- a/docs/commands/Spawn.html +++ b/docs/commands/Spawn.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -402,7 +404,7 @@ generated by LDoc diff --git a/docs/commands/Teleport.html b/docs/commands/Teleport.html index 71fc2b2d..a78fcb0f 100644 --- a/docs/commands/Teleport.html +++ b/docs/commands/Teleport.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -497,7 +499,7 @@ generated by LDoc diff --git a/docs/commands/Warnings.html b/docs/commands/Warnings.html index 552aedca..941acb8a 100644 --- a/docs/commands/Warnings.html +++ b/docs/commands/Warnings.html @@ -53,6 +53,7 @@ + @@ -79,6 +80,7 @@ + @@ -582,7 +584,7 @@ generated by LDoc diff --git a/docs/configs/Advanced-Start.html b/docs/configs/Advanced-Start.html index a4baf206..3aed98c0 100644 --- a/docs/configs/Advanced-Start.html +++ b/docs/configs/Advanced-Start.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -519,7 +521,7 @@ generated by LDoc diff --git a/docs/configs/Bonuses.html b/docs/configs/Bonuses.html index 20fb9309..183dd04f 100644 --- a/docs/configs/Bonuses.html +++ b/docs/configs/Bonuses.html @@ -81,6 +81,7 @@ + @@ -155,6 +156,7 @@ + @@ -250,7 +252,7 @@ generated by LDoc diff --git a/docs/configs/Chat-Reply.html b/docs/configs/Chat-Reply.html index 4ed8c08f..d445ab74 100644 --- a/docs/configs/Chat-Reply.html +++ b/docs/configs/Chat-Reply.html @@ -90,6 +90,7 @@ + @@ -164,6 +165,7 @@ + @@ -498,7 +500,7 @@ generated by LDoc diff --git a/docs/configs/Commands-Auth-Admin.html b/docs/configs/Commands-Auth-Admin.html index 87c99fb8..069c2cc1 100644 --- a/docs/configs/Commands-Auth-Admin.html +++ b/docs/configs/Commands-Auth-Admin.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -307,7 +309,7 @@ generated by LDoc diff --git a/docs/configs/Commands-Auth-Roles.html b/docs/configs/Commands-Auth-Roles.html index afc9e66e..626c6c60 100644 --- a/docs/configs/Commands-Auth-Roles.html +++ b/docs/configs/Commands-Auth-Roles.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -333,7 +335,7 @@ generated by LDoc diff --git a/docs/configs/Commands-Auth-Runtime-Disable.html b/docs/configs/Commands-Auth-Runtime-Disable.html index 5d38f85f..827aa0db 100644 --- a/docs/configs/Commands-Auth-Runtime-Disable.html +++ b/docs/configs/Commands-Auth-Runtime-Disable.html @@ -90,6 +90,7 @@ + @@ -164,6 +165,7 @@ + @@ -455,7 +457,7 @@ generated by LDoc diff --git a/docs/configs/Commands-Parse-Roles.html b/docs/configs/Commands-Parse-Roles.html index 4ea6c11c..651e371f 100644 --- a/docs/configs/Commands-Parse-Roles.html +++ b/docs/configs/Commands-Parse-Roles.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -367,7 +369,7 @@ generated by LDoc diff --git a/docs/configs/Commands-Parse.html b/docs/configs/Commands-Parse.html index 3763878d..edaa3da2 100644 --- a/docs/configs/Commands-Parse.html +++ b/docs/configs/Commands-Parse.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -351,7 +353,7 @@ see ./expcore/commands.lua for more details

generated by LDoc diff --git a/docs/configs/Compilatron.html b/docs/configs/Compilatron.html index 68d869f8..8c4ac199 100644 --- a/docs/configs/Compilatron.html +++ b/docs/configs/Compilatron.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -367,7 +369,7 @@ generated by LDoc diff --git a/docs/configs/Death-Logger.html b/docs/configs/Death-Logger.html index 99690c01..db88dc39 100644 --- a/docs/configs/Death-Logger.html +++ b/docs/configs/Death-Logger.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -429,7 +431,7 @@ generated by LDoc diff --git a/docs/configs/Discord-Alerts.html b/docs/configs/Discord-Alerts.html index 646dcda2..8ff2a878 100644 --- a/docs/configs/Discord-Alerts.html +++ b/docs/configs/Discord-Alerts.html @@ -81,6 +81,7 @@ + @@ -155,6 +156,7 @@ + @@ -250,7 +252,7 @@ generated by LDoc diff --git a/docs/configs/File-Loader.html b/docs/configs/File-Loader.html index c902276a..8d7055ba 100644 --- a/docs/configs/File-Loader.html +++ b/docs/configs/File-Loader.html @@ -81,6 +81,7 @@ + @@ -155,6 +156,7 @@ + @@ -253,7 +255,7 @@ generated by LDoc diff --git a/docs/configs/Permission-Groups.html b/docs/configs/Permission-Groups.html index 5ee5de2e..217eb4a6 100644 --- a/docs/configs/Permission-Groups.html +++ b/docs/configs/Permission-Groups.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -308,7 +310,7 @@ generated by LDoc diff --git a/docs/configs/Player-List.html b/docs/configs/Player-List.html index 01c15a99..3ab18659 100644 --- a/docs/configs/Player-List.html +++ b/docs/configs/Player-List.html @@ -90,6 +90,7 @@ + @@ -164,6 +165,7 @@ + @@ -797,7 +799,7 @@ generated by LDoc diff --git a/docs/configs/Pollution-Grading.html b/docs/configs/Pollution-Grading.html index 96673fd0..5e2d1d52 100644 --- a/docs/configs/Pollution-Grading.html +++ b/docs/configs/Pollution-Grading.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -397,7 +399,7 @@ generated by LDoc diff --git a/docs/configs/Popup-Messages.html b/docs/configs/Popup-Messages.html index d6a2f305..129eae8b 100644 --- a/docs/configs/Popup-Messages.html +++ b/docs/configs/Popup-Messages.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -427,7 +429,7 @@ generated by LDoc diff --git a/docs/configs/Preset-Player-Colours.html b/docs/configs/Preset-Player-Colours.html index 6c6c4710..cb16dae3 100644 --- a/docs/configs/Preset-Player-Colours.html +++ b/docs/configs/Preset-Player-Colours.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -337,7 +339,7 @@ generated by LDoc diff --git a/docs/configs/Preset-Player-Quickbar.html b/docs/configs/Preset-Player-Quickbar.html index 6c451a89..f4ab75f8 100644 --- a/docs/configs/Preset-Player-Quickbar.html +++ b/docs/configs/Preset-Player-Quickbar.html @@ -81,6 +81,7 @@ + @@ -155,6 +156,7 @@ + @@ -250,7 +252,7 @@ generated by LDoc diff --git a/docs/configs/Repair.html b/docs/configs/Repair.html index ee8835f6..1cb9f8e5 100644 --- a/docs/configs/Repair.html +++ b/docs/configs/Repair.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -427,7 +429,7 @@ generated by LDoc diff --git a/docs/configs/Rockets.html b/docs/configs/Rockets.html index 1bd9ab8c..511fa00c 100644 --- a/docs/configs/Rockets.html +++ b/docs/configs/Rockets.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -847,7 +849,7 @@ generated by LDoc diff --git a/docs/configs/Roles.html b/docs/configs/Roles.html index 3d2a3828..f684cf40 100644 --- a/docs/configs/Roles.html +++ b/docs/configs/Roles.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -305,7 +307,7 @@ generated by LDoc diff --git a/docs/configs/Science.html b/docs/configs/Science.html index bf96f7e7..27081b1e 100644 --- a/docs/configs/Science.html +++ b/docs/configs/Science.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -367,7 +369,7 @@ generated by LDoc diff --git a/docs/configs/Scorched-Earth.html b/docs/configs/Scorched-Earth.html index e8fe0424..121029f2 100644 --- a/docs/configs/Scorched-Earth.html +++ b/docs/configs/Scorched-Earth.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -401,7 +403,7 @@ generated by LDoc diff --git a/docs/configs/Spawn-Area.html b/docs/configs/Spawn-Area.html index ef3a9c24..3d9aebd7 100644 --- a/docs/configs/Spawn-Area.html +++ b/docs/configs/Spawn-Area.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -757,7 +759,7 @@ generated by LDoc diff --git a/docs/configs/Statistics.html b/docs/configs/Statistics.html index 13860f44..555010db 100644 --- a/docs/configs/Statistics.html +++ b/docs/configs/Statistics.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -637,7 +639,7 @@ generated by LDoc diff --git a/docs/configs/Tasks.html b/docs/configs/Tasks.html index af3c2dbd..84859b6d 100644 --- a/docs/configs/Tasks.html +++ b/docs/configs/Tasks.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -397,7 +399,7 @@ generated by LDoc diff --git a/docs/configs/Warnings.html b/docs/configs/Warnings.html index c0b715cd..8c6d3222 100644 --- a/docs/configs/Warnings.html +++ b/docs/configs/Warnings.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -368,7 +370,7 @@ generated by LDoc diff --git a/docs/configs/Warps.html b/docs/configs/Warps.html index a59a2e1d..249332bb 100644 --- a/docs/configs/Warps.html +++ b/docs/configs/Warps.html @@ -89,6 +89,7 @@ + @@ -163,6 +164,7 @@ + @@ -787,7 +789,7 @@ generated by LDoc diff --git a/docs/configs/inventory_clear.html b/docs/configs/inventory_clear.html index 38480f76..98abe81a 100644 --- a/docs/configs/inventory_clear.html +++ b/docs/configs/inventory_clear.html @@ -81,6 +81,7 @@ + @@ -155,6 +156,7 @@ + @@ -250,7 +252,7 @@ generated by LDoc diff --git a/docs/control/Jail.html b/docs/control/Jail.html index 8c95347e..c7247d67 100644 --- a/docs/control/Jail.html +++ b/docs/control/Jail.html @@ -70,6 +70,7 @@ + @@ -130,6 +131,7 @@ + @@ -1221,7 +1223,7 @@ generated by LDoc diff --git a/docs/control/Production.html b/docs/control/Production.html index 7b5e6aef..48b82ed7 100644 --- a/docs/control/Production.html +++ b/docs/control/Production.html @@ -70,6 +70,7 @@ + @@ -130,6 +131,7 @@ + @@ -1342,7 +1344,7 @@ generated by LDoc diff --git a/docs/control/Reports.html b/docs/control/Reports.html index 66551361..423283d2 100644 --- a/docs/control/Reports.html +++ b/docs/control/Reports.html @@ -70,6 +70,7 @@ + @@ -130,6 +131,7 @@ + @@ -1155,7 +1157,7 @@ generated by LDoc diff --git a/docs/control/Rockets.html b/docs/control/Rockets.html index bc6e6c1e..923c8917 100644 --- a/docs/control/Rockets.html +++ b/docs/control/Rockets.html @@ -69,6 +69,7 @@ + @@ -129,6 +130,7 @@ + @@ -997,7 +999,7 @@ generated by LDoc diff --git a/docs/control/Tasks.html b/docs/control/Tasks.html index 03af2e53..1632e2e8 100644 --- a/docs/control/Tasks.html +++ b/docs/control/Tasks.html @@ -69,6 +69,7 @@ + @@ -129,6 +130,7 @@ + @@ -983,7 +985,7 @@ Tasks.update_task(task_id, 'We need more iron!', gam generated by LDoc diff --git a/docs/control/Warnings.html b/docs/control/Warnings.html index 4a8d1fc6..5635cfe7 100644 --- a/docs/control/Warnings.html +++ b/docs/control/Warnings.html @@ -69,6 +69,7 @@ + @@ -129,6 +130,7 @@ + @@ -1538,7 +1540,7 @@ generated by LDoc diff --git a/docs/control/Warps.html b/docs/control/Warps.html index b8167cf4..2302ae32 100644 --- a/docs/control/Warps.html +++ b/docs/control/Warps.html @@ -70,6 +70,7 @@ + @@ -130,6 +131,7 @@ + @@ -1520,7 +1522,7 @@ Warps.make_warp_tag(warp_id) generated by LDoc diff --git a/docs/core/Async.html b/docs/core/Async.html index cd3f2a7b..b3fb18b7 100644 --- a/docs/core/Async.html +++ b/docs/core/Async.html @@ -54,6 +54,7 @@ + @@ -128,6 +129,7 @@ + @@ -611,7 +613,7 @@ Async.register(function(player, message) generated by LDoc diff --git a/docs/core/Commands.html b/docs/core/Commands.html index 11a0a179..ce74a937 100644 --- a/docs/core/Commands.html +++ b/docs/core/Commands.html @@ -60,6 +60,7 @@ + @@ -134,6 +135,7 @@ + @@ -2426,7 +2428,7 @@ nb: use error(error_message) within your callback to trigger do not trigger dire generated by LDoc diff --git a/docs/core/Common.html b/docs/core/Common.html index 7bbe0ea6..1acadfd2 100644 --- a/docs/core/Common.html +++ b/docs/core/Common.html @@ -57,6 +57,7 @@ + @@ -131,6 +132,7 @@ + @@ -2765,7 +2767,7 @@ https://github.com/Refactorio/RedMew/blob/9184b2940f311d8c9c891e83429fc57ec7e0c4 generated by LDoc diff --git a/docs/core/Datastore.html b/docs/core/Datastore.html index a390b022..a0ee6364 100644 --- a/docs/core/Datastore.html +++ b/docs/core/Datastore.html @@ -59,6 +59,7 @@ + @@ -133,6 +134,7 @@ + @@ -2962,7 +2964,7 @@ ExampleData:on_update(function(key, value) generated by LDoc diff --git a/docs/core/External.html b/docs/core/External.html new file mode 100644 index 00000000..2e411712 --- /dev/null +++ b/docs/core/External.html @@ -0,0 +1,740 @@ + + + + + + + + External core + + + + + + + +
+
+ + + + + + + +
+ + + + + + + + +

External core

+

Core Module - External +- A module used to make accessing externally set data easier.

+

+ + + + + + +

Usage

+
-- Printing all server to chat
+local External = require 'expcore.external' --- @dep expcore.external
+
+local message = 'id: %s name: %s version: %s status: %s'
+for server_id, server in pairs(External.get_servers()) do
+    local status = External.get_server_status(server_id)
+    game.print(message:format(server_id, server.name, server.version, status))
+end
+ + + + + +
+ +

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
valid()Checks that local links are valid, will try to add the links if invalid
get_servers()Gets a table of all the servers, key is the server id, value is the server details
get_servers_filtered(search)Gets a table of all the servers filtered by name, key is the server id, value is the server details
get_current_server()Gets the details of the current server
get_server_details(server_id)Gets the details of the given server
get_server_status(server_id)Gets the status of the given server
get_server_ups()Gets the ups of the current server
request_connection(player, server_id[, self_requested=false])Connect a player to the given server
+ + +
+ + +

Functions

+
+
+
+
+ # + valid() +
+
+
+
+ +

Checks that local links are valid, will try to add the links if invalid

+

+ + + + + + Returns: +
    +
  • + (boolean) + If the external data is valid, if false you should not call any other methods from External +
  • +
+ + + + + + + + Usage: +
-- Check that external data is valid
+if not External.valid() then
+    -- error code here
+end
+ + +
+
+
+
+ # + get_servers() +
+
+
+
+ +

Gets a table of all the servers, key is the server id, value is the server details

+

+ + + + + + Returns: +
    +
  • + (table) + A table containing all the servers, key is the server id, value is the server details +
  • +
+ + + + + + + + Usage: +
-- Get all servers
+local servers = External.get_servers()
+ + +
+
+
+
+ # + get_servers_filtered(search) +
+
+
+
+ +

Gets a table of all the servers filtered by name, key is the server id, value is the server details

+

+ + + Parameters: + +
    + + + + + +
  • + + search + + : + + (string) + + The string to search for, names, short_names and ids are checked for this string. + +
  • + + +
+ + + + + Returns: +
    +
  • + (table) + A table containing all the servers filtered by name, key is the server id, value is the server details +
  • +
+ + + + + + + + Usage: +
-- Get all servers with public in the name
+local servers = External.get_servers_filtered(public)
+ + +
+
+
+
+ # + get_current_server() +
+
+
+
+ +

Gets the details of the current server

+

+ + + + + + Returns: +
    +
  • + (table) + The details of the current server +
  • +
+ + + + + + + + Usage: +
-- Get the details of the current server
+local server = External.get_current_server()
+ + +
+
+
+
+ # + get_server_details(server_id) +
+
+
+
+ +

Gets the details of the given server

+

+ + + Parameters: + +
    + + + + + +
  • + + server_id + + : + + (string) + + The internal server if for the server you want the details of + +
  • + + +
+ + + + + Returns: +
    +
  • + (table) + The details of the given server +
  • +
+ + + + + + + + Usage: +
-- Get the details of the given server
+local server = External.get_server_details('eu-01')
+ + +
+
+
+
+ # + get_server_status(server_id) +
+
+
+
+ +

Gets the status of the given server

+

+ + + Parameters: + +
    + + + + + +
  • + + server_id + + : + + (string) + + The internal server if for the server you want the status of + +
  • + + +
+ + + + + Returns: +
    +
  • + (string) + The status of the given server, one of: Online, Modded, Protected, Offline +
  • +
+ + + + + + + + Usage: +
-- Get the status of the given server
+local status = External.get_server_status('eu-01')
+ + +
+
+
+
+ # + get_server_ups() +
+
+
+
+ +

Gets the ups of the current server

+

+ + + + + + + + + + + + + Usage: +
-- Get the ups of the current server
+local server_ups = External.get_server_ups()
+ + +
+
+
+
+ # + request_connection(player, server_id[, self_requested=false]) +
+
+
+
+ +

Connect a player to the given server

+

+ + + Parameters: + +
    + + + + + +
  • + + player + + : + + (LuaPlayer) + + The player that you want to request to join a different server + +
  • + + + + + +
  • + + server_id + + : + + (string) + + The internal id of the server to connect to, can also be any address but this will show Unknown Server + +
  • + + + + + +
  • + + self_requested + + : + + (boolean) + + If the player requested the join them selfs, this will hide the message about being asked to switch + + (default: false) +
  • + + +
+ + + + + + + + + + + + Usage: +
-- Request that a player joins a different server
+External.request_connection(player, 'eu-01')
+
-- Request that a player joins a different server, by own request
+External.request_connection(player, 'eu-01', true)
+ + +
+
+ + + + + + + + + + diff --git a/docs/core/Groups.html b/docs/core/Groups.html index 1988bce5..822d5175 100644 --- a/docs/core/Groups.html +++ b/docs/core/Groups.html @@ -57,6 +57,7 @@ + @@ -131,6 +132,7 @@ + @@ -1441,7 +1443,7 @@ generated by LDoc diff --git a/docs/core/Gui.html b/docs/core/Gui.html index 85de422b..4afa7364 100644 --- a/docs/core/Gui.html +++ b/docs/core/Gui.html @@ -62,6 +62,7 @@ + @@ -136,6 +137,7 @@ + @@ -4419,7 +4421,7 @@ Gui.left_toolbar_button('entity/inserter', generated by LDoc diff --git a/docs/core/PlayerData.html b/docs/core/PlayerData.html index 1f285cdc..348700b3 100644 --- a/docs/core/PlayerData.html +++ b/docs/core/PlayerData.html @@ -54,6 +54,7 @@ + @@ -128,6 +129,7 @@ + @@ -529,7 +531,7 @@ generated by LDoc diff --git a/docs/core/Roles.html b/docs/core/Roles.html index 68f1c306..2758606b 100644 --- a/docs/core/Roles.html +++ b/docs/core/Roles.html @@ -61,6 +61,7 @@ + @@ -135,6 +136,7 @@ + @@ -3348,7 +3350,7 @@ nb: this is one way, failing false after already gaining the role will not revok generated by LDoc diff --git a/docs/data/Alt-View.html b/docs/data/Alt-View.html index abc3d607..2df8b895 100644 --- a/docs/data/Alt-View.html +++ b/docs/data/Alt-View.html @@ -66,6 +66,7 @@ + @@ -127,6 +128,7 @@ + @@ -333,7 +335,7 @@ generated by LDoc diff --git a/docs/data/Bonus.html b/docs/data/Bonus.html index d3142c03..97c61a50 100644 --- a/docs/data/Bonus.html +++ b/docs/data/Bonus.html @@ -67,6 +67,7 @@ + @@ -128,6 +129,7 @@ + @@ -485,7 +487,7 @@ generated by LDoc diff --git a/docs/data/Greetings.html b/docs/data/Greetings.html index 8998c9f9..4c77c675 100644 --- a/docs/data/Greetings.html +++ b/docs/data/Greetings.html @@ -67,6 +67,7 @@ + @@ -128,6 +129,7 @@ + @@ -428,7 +430,7 @@ generated by LDoc diff --git a/docs/data/Player-Colours.html b/docs/data/Player-Colours.html index f5488878..3d4fba97 100644 --- a/docs/data/Player-Colours.html +++ b/docs/data/Player-Colours.html @@ -66,6 +66,7 @@ + @@ -127,6 +128,7 @@ + @@ -389,7 +391,7 @@ generated by LDoc diff --git a/docs/data/Quickbar.html b/docs/data/Quickbar.html index 745dfef6..913fb300 100644 --- a/docs/data/Quickbar.html +++ b/docs/data/Quickbar.html @@ -67,6 +67,7 @@ + @@ -128,6 +129,7 @@ + @@ -406,7 +408,7 @@ generated by LDoc diff --git a/docs/data/Tag.html b/docs/data/Tag.html index 8195f1a4..7fb581dd 100644 --- a/docs/data/Tag.html +++ b/docs/data/Tag.html @@ -67,6 +67,7 @@ + @@ -128,6 +129,7 @@ + @@ -484,7 +486,7 @@ generated by LDoc diff --git a/docs/guis/Player-List.html b/docs/guis/Player-List.html index 47547080..f1b999ca 100644 --- a/docs/guis/Player-List.html +++ b/docs/guis/Player-List.html @@ -68,6 +68,7 @@ + @@ -128,6 +129,7 @@ + @@ -732,7 +734,7 @@ generated by LDoc diff --git a/docs/guis/Readme.html b/docs/guis/Readme.html index d74e69aa..9109aa86 100644 --- a/docs/guis/Readme.html +++ b/docs/guis/Readme.html @@ -43,6 +43,8 @@ @@ -68,6 +70,7 @@ + @@ -128,6 +131,7 @@ + @@ -217,6 +221,8 @@ @@ -257,6 +263,9 @@ + utils.event + + expcore.gui @@ -269,10 +278,7 @@ expcore.player_data - utils.event - - - utils.game + expcore.external expcore.common @@ -301,6 +307,10 @@ Scroll to be used with Gui.title_label tables + join_server + Used to connect to servers in server list + + welcome_content Content area for the welcome tab @@ -334,6 +344,30 @@ + + +

Tables

+ + + + + + + + +
tooltipnetwork panel black, warning black, download black
+ + +

Fields

+ + + + + + + + +
hovered_spritenetwork panel white, warning white, download white

@@ -344,6 +378,31 @@
+ # + utils.event +
+
+
+
+ + + + + + + + + + + + + + + +
+
+
+
# expcore.gui
@@ -444,33 +503,8 @@
- # - utils.event -
-
-
-
- - - - - - - - - - - - - - - -
-
-
-
- # - utils.game + # + expcore.external
@@ -618,6 +652,33 @@ + + + + + + +
+
+
+
+ # + join_server +
+
+
+
+ +

Used to connect to servers in server list

+

+ + + + + + + + @@ -834,6 +895,87 @@ + + + + + + +
+ +

Tables

+
+
+
+
+ # + tooltip +
+
+
+
+ +

network panel black, warning black, download black

+

+ + + Fields: + +
    + + + + + +
  • + + wrong_version + + + + + +
  • + + +
+ + + + + + + + + + + + + +
+
+

Fields

+
+
+
+
+ # + hovered_sprite +
+
+
+
+ +

network panel white, warning white, download white

+

+ + + + + + + + @@ -856,7 +998,7 @@ generated by LDoc
diff --git a/docs/guis/Rocket-Info.html b/docs/guis/Rocket-Info.html index aa09ceb5..1eae671b 100644 --- a/docs/guis/Rocket-Info.html +++ b/docs/guis/Rocket-Info.html @@ -68,6 +68,7 @@ + @@ -128,6 +129,7 @@ + @@ -704,7 +706,7 @@ generated by LDoc diff --git a/docs/guis/Science-Info.html b/docs/guis/Science-Info.html index 0d99d863..bbdc5ff1 100644 --- a/docs/guis/Science-Info.html +++ b/docs/guis/Science-Info.html @@ -68,6 +68,7 @@ + @@ -128,6 +129,7 @@ + @@ -583,7 +585,7 @@ generated by LDoc diff --git a/docs/guis/Task-List.html b/docs/guis/Task-List.html index ab2005cd..00b9bfa9 100644 --- a/docs/guis/Task-List.html +++ b/docs/guis/Task-List.html @@ -68,6 +68,7 @@ + @@ -128,6 +129,7 @@ + @@ -769,7 +771,7 @@ generated by LDoc diff --git a/docs/guis/Warps-List.html b/docs/guis/Warps-List.html index c85a7eae..8859c31e 100644 --- a/docs/guis/Warps-List.html +++ b/docs/guis/Warps-List.html @@ -69,6 +69,7 @@ + @@ -129,6 +130,7 @@ + @@ -1040,7 +1042,7 @@ generated by LDoc diff --git a/docs/guis/server-ups.html b/docs/guis/server-ups.html index 3c53ea30..ae8c0d1b 100644 --- a/docs/guis/server-ups.html +++ b/docs/guis/server-ups.html @@ -69,6 +69,7 @@ + @@ -129,6 +130,7 @@ + @@ -268,6 +270,9 @@ expcore.commands + expcore.external + + expcore.player_data @@ -371,6 +376,31 @@ + + + + + + +
+
+
+
+ # + expcore.external +
+
+
+
+ + + + + + + + + @@ -478,7 +508,7 @@ generated by LDoc
diff --git a/docs/index.html b/docs/index.html index 326b106f..10eb1cd8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -63,6 +63,11 @@ Datastore Core Module - Datastore - A module used to store data in the global table with the option to have it sync to an external source. + + + External + Core Module - External +- A module used to make accessing externally set data easier. Gui @@ -262,6 +267,11 @@ - Adds a command that allows admins to clear people's inventorys + Connect + Commands Module - Connect + - Adds a commands that allows you to request a player move to another server + + Debug Commands Module - Debug - Adds a command that opens the debug frame @@ -540,7 +550,7 @@ Events.set_event_filter(defines.events.on_built_entity, {{filter = "name", name generated by LDoc diff --git a/docs/modules/control.html b/docs/modules/control.html index 06e5786f..18d0df09 100644 --- a/docs/modules/control.html +++ b/docs/modules/control.html @@ -68,6 +68,7 @@ + @@ -142,6 +143,7 @@ + @@ -308,7 +310,7 @@ generated by LDoc diff --git a/docs/modules/modules.addons.station-auto-name.html b/docs/modules/modules.addons.station-auto-name.html index 94a9f6a2..9dcf29a5 100644 --- a/docs/modules/modules.addons.station-auto-name.html +++ b/docs/modules/modules.addons.station-auto-name.html @@ -68,6 +68,7 @@ + @@ -142,6 +143,7 @@ + @@ -306,7 +308,7 @@ Events.set_event_filter(defines.events.on_built_entity, {{filter = "name", name generated by LDoc diff --git a/docs/modules/overrides.debug.html b/docs/modules/overrides.debug.html index b369f4ab..30dfdfb0 100644 --- a/docs/modules/overrides.debug.html +++ b/docs/modules/overrides.debug.html @@ -68,6 +68,7 @@ + @@ -142,6 +143,7 @@ + @@ -667,7 +669,7 @@ generated by LDoc diff --git a/docs/modules/overrides.math.html b/docs/modules/overrides.math.html index c726fc05..a3db1736 100644 --- a/docs/modules/overrides.math.html +++ b/docs/modules/overrides.math.html @@ -68,6 +68,7 @@ + @@ -142,6 +143,7 @@ + @@ -366,7 +368,7 @@ generated by LDoc diff --git a/docs/modules/overrides.table.html b/docs/modules/overrides.table.html index 49f92dd6..ff468fe3 100644 --- a/docs/modules/overrides.table.html +++ b/docs/modules/overrides.table.html @@ -70,6 +70,7 @@ + @@ -144,6 +145,7 @@ + @@ -2021,7 +2023,7 @@ generated by LDoc diff --git a/docs/modules/utils.event.html b/docs/modules/utils.event.html index 1c3fcc30..d7dcbeb0 100644 --- a/docs/modules/utils.event.html +++ b/docs/modules/utils.event.html @@ -69,6 +69,7 @@ + @@ -143,6 +144,7 @@ + @@ -1305,7 +1307,7 @@ generated by LDoc diff --git a/docs/modules/utils.event_core.html b/docs/modules/utils.event_core.html index a763cd7e..31225f93 100644 --- a/docs/modules/utils.event_core.html +++ b/docs/modules/utils.event_core.html @@ -68,6 +68,7 @@ + @@ -142,6 +143,7 @@ + @@ -447,7 +449,7 @@ generated by LDoc diff --git a/docs/modules/utils.task.html b/docs/modules/utils.task.html index d9c5c91c..60d5683e 100644 --- a/docs/modules/utils.task.html +++ b/docs/modules/utils.task.html @@ -69,6 +69,7 @@ + @@ -143,6 +144,7 @@ + @@ -664,7 +666,7 @@ generated by LDoc diff --git a/docs/topics/LICENSE.html b/docs/topics/LICENSE.html index 5952bef6..3d655000 100644 --- a/docs/topics/LICENSE.html +++ b/docs/topics/LICENSE.html @@ -54,6 +54,7 @@ + @@ -128,6 +129,7 @@ + @@ -802,7 +804,7 @@ Public License instead of this License. But first, please read generated by LDoc diff --git a/docs/topics/README.md.html b/docs/topics/README.md.html index 2cbaef22..43d9ee05 100644 --- a/docs/topics/README.md.html +++ b/docs/topics/README.md.html @@ -54,6 +54,7 @@ + @@ -128,6 +129,7 @@ + @@ -354,7 +356,7 @@ Please report these errors to [the issues page](issues). generated by LDoc