UI Extensions is a pack of extensions for the client UI.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Layne fd6f480b08 trax fix **now** 4 months ago
.github/workflows Update webpack.yml 10 months ago
client trax fix **now** 4 months ago
plugin volume for trax 10 months ago
required volume for trax 10 months ago
server trax fix **now** 4 months ago
.gitignore updated for tic tac toe plugin 10 months ago
README.md update readme 10 months ago
tsconfig.json volume for trax 10 months ago

README.md

UI Extensions

Discord: https://discord.gg/Za4Bu6wkar

Before installation:

Copy the RCON plugin to your emulator plugins folder, and run the required database sql in the required folder

Installation

1. Client

Open "client" in terminal/cmd prompt etc

npm i
npm run build

It has created "dist" copy js & css folders to your nitro or cms directory

paste the following into your cms client.php or nitro's index.html

paste <div id="uiext-app"></div> BELOW <approot> if you're pasting this into nitro's index.html

<link href="/uiext/index.css" rel="stylesheet">
<div id="uiext-app"></div>
<script>
  var UIExtConfig = {
    ws:"wss://uiext.mydomain.com:2083",
    sounds: "http://127.0.0.1/ms-swf/dcr/hof_furni/mp3/",
    sso: (new URLSearchParams(window.location.search).get('sso') || null)
  }
</script>
<script type="module" crossorigin src="/uiext/index.js"></script>

if you are not using nitro paste this too <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css">

configure "sounds","ws" & "sso" If you pasted into nitro's index.html, leave the SSO as is.

create a subdomain under cloudflare or your domain provider, as you would with nitro disable SSL etc.

change "ws" to your new subdomain in the script you pasted above ^

change any furni's interaction to "trax_machine" to toggle trax list view

2. Server

Open "server" in terminal/cmd prompt etc

npm i
npm run start

configure your databse details in ormconfig.json configure pricing, ports etc in config.json "cost" is split into currency:amount

"cost": "-1:100,5:20"
=
100 credits(-1) 20 diamonds(5)

change "tokenKey":"changeThisToAPassword", to a password only to be used between the emulator and the api, you must change this in emulator_settings database table aswell. UIExtAuth.token