From 21a5200be524c9d41ec26a27d620dba33a1a7f22 Mon Sep 17 00:00:00 2001 From: dirtyredz Date: Wed, 6 Dec 2017 02:24:09 -0600 Subject: [PATCH] Update --- CHANGELOG.md | 8 +++++++- README.md | 34 ++++++++++++++++++++++++++-------- README.txt | 37 ++++++++++++++++++++++++++++--------- 3 files changed, 61 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c868560..467ed58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +1.4.0 + --Added Clock UI, Thxs DNightmare + --Added FactionNotifier UI + --Added ability to delete scrapyard licenses data from the UI + --Removed Vanilla files from zip, follow installation instructions please + 1.3.0 --Every UI now utilizes delayed server/client communication Will help tremendously with any high ping issues. @@ -10,7 +16,7 @@ 1.2.1 -Fixed Entity Creation bug error. - + 1.2.0 -Added ObjectDetector Special Thxs to dnightmare, we were apprently working on this at the same time. diff --git a/README.md b/README.md index dc446db..7615bef 100644 --- a/README.md +++ b/README.md @@ -66,22 +66,32 @@ Remember with all these UI's they can be Moved, Enabled, Disabled, or even restr I look forward to everyone feedback, and I welcome ideas for more UI's that I can add. +## FactionNotifier +This UI will display the factions that are present in the sector. +The names of the factions will be colored in relation to your relationship status with that faction. + +If you have any one of the 4 cargo licenses for that faction the UI will display the license you have for that faction to the right of thier name. allowing you to quickly identify if youll be safe to transport goods in the sector. + +##Clock +Simple UI to display your computers current time. + +SPECIAL THANKS AND CREDIT: dnightmare + ## INSTALLATION ___ 1. Download the zip file 2. Drag and Drop the contents into the /Avorion/ directory, -All files are inside their own /mods/ directory except for Two file. -server.lua, -scrapyard.lua +3. Place this line at the bottom of this file: data/scripts/entity/merchants/scrapyard.lua -IF YOU HAVE AN ALTERED SERVER.LUA DO NOT COPY THIS FILE OVER -you'll want to open the file and copy over the ONE LINE over to your server.lua + if not pcall(require, 'mods.MoveUI.scripts.entity.merchants.scrapyard') then print('Mod: MoveUI, failed to extend scrapyard.lua!') end -scrapyard.lua has only ONE line added to the vanilla file at the bottom. -you can either copy the file over OR place this one line at the bottom of the file. +4. Place these two lines at the bottom of this file: data/scripts/server/server.lua + + + local s, b = pcall(require, 'mods/MoveUI/scripts/server/server') + if s then if b.onPlayerLogIn then local a = onPlayerLogIn; onPlayerLogIn = function(c) a(c); b.onPlayerLogIn(c); end end else print(b); end - if not pcall(require, 'mods.MoveUI.scripts.entity.merchants.scrapyard') then print('Mod: MoveUI, failed to extend scrapyard.lua!') end ## Note ___ @@ -91,6 +101,8 @@ I encourage all modders to adopt this file structure as default, as its likely t ## Downloads ___ +https://github.com/dirtyredz/MoveUI/releases/download/1.4.0/MoveUI.v1.4.0.zip + https://github.com/dirtyredz/MoveUI/releases/download/1.3.0/MoveUI.v1.3.0.zip https://github.com/dirtyredz/MoveUI/releases/download/1.2.1/MoveUI.v1.2.1.zip @@ -104,6 +116,12 @@ https://github.com/dirtyredz/MoveUI/releases/download/1.0.0/MoveUI.v1.0.0.zip ## Changelog ___ +1.4.0 + --Added Clock UI, Thxs DNightmare + --Added FactionNotifier UI + --Added ability to delete scrapyard licenses data from the UI + --Removed Vanilla files from zip, follow installation instructions please + 1.3.0 --Every UI now utilizes delayed server/client communication Will help tremendously with any high ping issues. diff --git a/README.txt b/README.txt index 20a93a9..0e6b62d 100644 --- a/README.txt +++ b/README.txt @@ -65,22 +65,33 @@ Remember with all these UI's they can be Moved, Enabled, Disabled, or even restr I look forward to everyone feedback, and I welcome ideas for more UI's that I can add. +[center][b][size=25pt]FactionNotifier[/size][/b][/center] +This UI will display the factions that are present in the sector. +The names of the factions will be colored in relation to your relationship status with that faction. + +If you have any one of the 4 cargo licenses for that faction the UI will display the license you have for that faction to the right of thier name. allowing you to quickly identify if youll be safe to transport goods in the sector. + +[center][b][size=25pt]Clock[/size][/b][/center] +Simple UI to display your computers current time. + +SPECIAL THANKS AND CREDIT: dnightmare + + [b][size=24pt]INSTALLATION[/size][/b] [hr] 1. Download the zip file 2. Drag and Drop the contents into the /Avorion/ directory, -All files are inside their own /mods/ directory except for Two file. -server.lua, -scrapyard.lua +3. Place this line at the bottom of this file: data/scripts/entity/merchants/scrapyard.lua -IF YOU HAVE AN ALTERED SERVER.LUA DO NOT COPY THIS FILE OVER -you'll want to open the file and copy over the ONE LINE over to your server.lua + [code]if not pcall(require, 'mods.MoveUI.scripts.entity.merchants.scrapyard') then print('Mod: MoveUI, failed to extend scrapyard.lua!') end[/code] -scrapyard.lua has only ONE line added to the vanilla file at the bottom. -you can either copy the file over OR place this one line at the bottom of the file. +4. Place these two lines at the bottom of this file: data/scripts/server/server.lua - [code]if not pcall(require, 'mods.MoveUI.scripts.entity.merchants.scrapyard') then print('Mod: MoveUI, failed to extend scrapyard.lua!') end[/code] + [code] + local s, b = pcall(require, 'mods/MoveUI/scripts/server/server') + if s then if b.onPlayerLogIn then local a = onPlayerLogIn; onPlayerLogIn = function(c) a(c); b.onPlayerLogIn(c); end end else print(b); end + [/code] [b][size=24pt]Note[/size][/b] @@ -91,10 +102,12 @@ I encourage all modders to adopt this file structure as default, as its likely t [b][size=24pt]Downloads[/size][/b] [hr] -[url=https://github.com/dirtyredz/MoveUI/releases/download/1.3.0/MoveUI.v1.3.0.zip]MoveUI v1.3.0[/url] +[url=https://github.com/dirtyredz/MoveUI/releases/download/1.4.0/MoveUI.v1.4.0.zip]MoveUI v1.4.0[/url] Older Downloads [spoiler] +[url=https://github.com/dirtyredz/MoveUI/releases/download/1.3.0/MoveUI.v1.3.0.zip]MoveUI v1.3.0[/url] + [url=https://github.com/dirtyredz/MoveUI/releases/download/1.2.1/MoveUI.v1.2.1.zip]MoveUI v1.2.1[/url] [url=https://github.com/dirtyredz/MoveUI/releases/download/1.2.0/MoveUI.v1.2.0.zip]MoveUI v1.2.0[/url] @@ -106,6 +119,12 @@ Older Downloads [b][size=24pt]Changelog[/size][/b] [hr] +1.4.0 + --Added Clock UI, Thxs DNightmare + --Added FactionNotifier UI + --Added ability to delete scrapyard licenses data from the UI + --Removed Vanilla files from zip, follow installation instructions please + 1.3.0 --Every UI now utilizes delayed server/client communication Will help tremendously with any high ping issues.