Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable not functional commands via rcon #68

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions front/palworld-front/src/pages/IndexView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@
uin: Number,
});

const players = ref([]);

Check warning on line 1097 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on linux for amd64

'players' is assigned a value but never used

Check warning on line 1097 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on linux for arm64

'players' is assigned a value but never used

Check warning on line 1097 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on darwin for amd64

'players' is assigned a value but never used

Check warning on line 1097 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on windows for amd64

'players' is assigned a value but never used

Check warning on line 1097 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on darwin for arm64

'players' is assigned a value but never used

const status = ref(null); // 假设 ProcessInfo 是一个对象,这里使用 null 作为初始值

Expand All @@ -1108,11 +1108,11 @@
const showDifficultyTooltip = ref(false);
const showDeathPenaltyTooltip = ref(false);

const toggleTooltip = (type) => {

Check warning on line 1111 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on linux for amd64

'type' is defined but never used

Check warning on line 1111 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on linux for arm64

'type' is defined but never used

Check warning on line 1111 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on darwin for amd64

'type' is defined but never used

Check warning on line 1111 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on windows for amd64

'type' is defined but never used

Check warning on line 1111 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on darwin for arm64

'type' is defined but never used
showDeathPenaltyTooltip.value = !showDeathPenaltyTooltip.value;
};

const toggleTooltip2 = (type) => {

Check warning on line 1115 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on linux for amd64

'type' is defined but never used

Check warning on line 1115 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on linux for arm64

'type' is defined but never used

Check warning on line 1115 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on darwin for amd64

'type' is defined but never used

Check warning on line 1115 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on windows for amd64

'type' is defined but never used

Check warning on line 1115 in front/palworld-front/src/pages/IndexView.vue

View workflow job for this annotation

GitHub Actions / Build on darwin for arm64

'type' is defined but never used
showDifficultyTooltip.value = !showDifficultyTooltip.value;
};

Expand Down Expand Up @@ -1280,8 +1280,8 @@
{ label: '广播', prefix: 'broadcast {MessageText}' },
{ label: '踢人', prefix: 'KickPlayer {SteamID}' },
{ label: '禁止玩家进入', prefix: 'BanPlayer {SteamID}' },
{ label: '传送', prefix: 'TeleportToPlayer {SteamID}' },
{ label: '传送到自己', prefix: 'TeleportToMe {SteamID}' },
//{ label: '传送', prefix: 'TeleportToPlayer {SteamID}' },
//{ label: '传送到自己', prefix: 'TeleportToMe {SteamID}' },
{ label: '显示玩家列表', prefix: 'ShowPlayers' },
{ label: '服务器信息', prefix: 'Info' },
{ label: '立刻存档', prefix: 'Save' },
Expand All @@ -1294,8 +1294,8 @@
{ label: '广播', prefix: 'broadcast ' },
{ label: '踢人', prefix: 'KickPlayer ' },
{ label: '禁止玩家进入', prefix: 'BanPlayer ' },
{ label: '传送', prefix: 'TeleportToPlayer ' },
{ label: '传送到自己', prefix: 'TeleportToMe ' },
//{ label: '传送', prefix: 'TeleportToPlayer ' },
//{ label: '传送到自己', prefix: 'TeleportToMe ' },
{ label: '显示玩家列表', prefix: 'ShowPlayers' },
{ label: '服务器信息', prefix: 'Info' },
{ label: '立刻存档', prefix: 'Save' },
Expand Down
Loading