mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-20 07:23:13 +09:00
Merge branch 'explosivegaming:main' into translate
This commit is contained in:
17 files changed
+17
-13
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/auto-restart",
|
"name": "@expcluster/auto-restart",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin restarting hosts and the controller once no players are online.",
|
"description": "Clusterio plugin restarting hosts and the controller once no players are online.",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ module.exports = (env = {}) => merge(common(env), {
|
|||||||
exposes: {
|
exposes: {
|
||||||
"./": "./index.ts",
|
"./": "./index.ts",
|
||||||
"./package.json": "./package.json",
|
"./package.json": "./package.json",
|
||||||
|
"./web": "./web/index.tsx"
|
||||||
},
|
},
|
||||||
shared: {
|
shared: {
|
||||||
"@clusterio/lib": { import: false },
|
"@clusterio/lib": { import: false },
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/lib_commands",
|
"name": "@expcluster/lib_commands",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin providing a Lua command processing library.",
|
"description": "Clusterio plugin providing a Lua command processing library.",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/discord-auth",
|
"name": "@expcluster/discord-auth",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin linking Factorio accounts to Discord accounts and logging in to the web interface with Discord",
|
"description": "Clusterio plugin linking Factorio accounts to Discord accounts and logging in to the web interface with Discord",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/permission-groups",
|
"name": "@expcluster/permission-groups",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin providing syncing of permission groups",
|
"description": "Clusterio plugin providing syncing of permission groups",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/lib_gui",
|
"name": "@expcluster/lib_gui",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin providing a Lua GUI definition library.",
|
"description": "Clusterio plugin providing a Lua GUI definition library.",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
# Without an .npmignore pnpm packs using the repository .gitignore, which leaves out dist/
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/player-statistics",
|
"name": "@expcluster/player-statistics",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin keeping player statistics on the controller",
|
"description": "Clusterio plugin keeping player statistics on the controller",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ const timeStatistics = new Set(["Playtime", "AfkTime"]);
|
|||||||
|
|
||||||
export function formatValue(name: string, value: number) {
|
export function formatValue(name: string, value: number) {
|
||||||
if (timeStatistics.has(name)) {
|
if (timeStatistics.has(name)) {
|
||||||
return `${Math.floor(value / 60)}h ${value % 60}m`;
|
return `${Math.floor(value / 60)} h ${value % 60} m`;
|
||||||
}
|
}
|
||||||
if (name === "DistanceTravelled") {
|
if (name === "DistanceTravelled") {
|
||||||
return `${value.toLocaleString()} tiles`;
|
return `${value.toLocaleString()} tiles`;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/reports",
|
"name": "@expcluster/reports",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin storing player reports on the controller",
|
"description": "Clusterio plugin storing player reports on the controller",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/roles",
|
"name": "@expcluster/roles",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin providing syncing of in game roles.",
|
"description": "Clusterio plugin providing syncing of in game roles.",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/scenario",
|
"name": "@expcluster/scenario",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin implementing the Explosive Gaming scenario.",
|
"description": "Clusterio plugin implementing the Explosive Gaming scenario.",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
# Without an .npmignore pnpm packs using the repository .gitignore, which leaves out dist/
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/server-list",
|
"name": "@expcluster/server-list",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin sharing the details of every instance with the others.",
|
"description": "Clusterio plugin sharing the details of every instance with the others.",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ module.exports = (env = {}) => merge(common(env), {
|
|||||||
exposes: {
|
exposes: {
|
||||||
"./": "./index.ts",
|
"./": "./index.ts",
|
||||||
"./package.json": "./package.json",
|
"./package.json": "./package.json",
|
||||||
|
"./web": "./web/index.tsx"
|
||||||
},
|
},
|
||||||
shared: {
|
shared: {
|
||||||
"@clusterio/lib": { import: false },
|
"@clusterio/lib": { import: false },
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/server-ups",
|
"name": "@expcluster/server-ups",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin providing in game server ups counter",
|
"description": "Clusterio plugin providing in game server ups counter",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@expcluster/lib_util",
|
"name": "@expcluster/lib_util",
|
||||||
"version": "7.0.2",
|
"version": "7.0.3",
|
||||||
"description": "Clusterio plugin providing Lua libraries and other utilities.",
|
"description": "Clusterio plugin providing Lua libraries and other utilities.",
|
||||||
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
"author": "Cooldude2606 <https://github.com/Cooldude2606>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Reference in new issue
Block a user