Skip to content

Commit 243f128

Browse files
committed
tweak: minor stuff
1 parent 6a591e0 commit 243f128

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

core/modules/AdminStore/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default class AdminStore {
6262
'server.cfg.editor': 'Read/Write server.cfg', //FIXME: rename to server.cfg_editor
6363
'txadmin.log.view': 'View System Logs', //FIXME: rename to system.log.view
6464
'server.log.view': 'View Server Logs',
65-
'players.remove_data': 'Remove Player Data',
65+
'players.remove_data': 'Remove Player IDs', //FIXME: rename to players.remove_ids
6666

6767
'menu.vehicle': 'Spawn / Fix Vehicles',
6868
'menu.clear_area': 'Reset world area',

core/modules/ConfigStore/schema/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import { SYM_RESET_CONFIG } from "@lib/symbols";
1313

1414

1515
//Type inference utils
16-
type InferConfigScopes<S extends ConfigScope> = IferConfigValues<S>;
17-
type IferConfigValues<S extends ConfigScope> = {
16+
type InferConfigScopes<S extends ConfigScope> = InferConfigValues<S>;
17+
type InferConfigValues<S extends ConfigScope> = {
1818
[K in keyof S]: S[K]['default'] | z.infer<S[K]['validator']>;
1919
}
2020
type WritableValues<T> = {

docs/permissions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ The permissions are saved in the `txData/admins.json` file and can be edited thr
3030
- `players.spectate`: Spectate a player.
3131
- `players.teleport`: Teleport self or a player.
3232
- `players.troll`: Use the Troll Menu.
33-
- `players.remove_data`: Remove specific player identifiers.
33+
- `players.remove_data`: Remove IDs/HWIDs of player from the database.

panel/src/pages/Settings/tabCards/whitelist.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default function ConfigCardWhitelist({ cardCtx, pageCtx }: SettingsCardPr
135135
value="adminOnly"
136136
title="Admin-only (maintenance mode)"
137137
desc={(<>
138-
Will only allow server join if your <InlineCode>fivem:</InlineCode> or <InlineCode>discord:</InlineCode> identifiers are attached to a txAdmin administrator. Also known as maintenance mode.
138+
Will only allow server join if the player's <InlineCode>fivem:</InlineCode> or <InlineCode>discord:</InlineCode> identifiers are attached to a txAdmin administrator. Also known as maintenance mode.
139139
</>)}
140140
/>
141141
<BigRadioItem

0 commit comments

Comments
 (0)