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

Bedrock user not online when argument is <offline player> #6145

Closed
1 task done
Snattuw opened this issue Oct 25, 2023 · 1 comment
Closed
1 task done

Bedrock user not online when argument is <offline player> #6145

Snattuw opened this issue Oct 25, 2023 · 1 comment
Labels
won't fix Intended behaviour of Skript/MC, not fixable or not planned

Comments

@Snattuw
Copy link

Snattuw commented Oct 25, 2023

Skript/Server Version

[05:46:03 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[05:46:03 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[05:46:03 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[05:46:03 INFO]: [Skript] Server Version: git-Paper-169 (MC: 1.20.1)
[05:46:03 INFO]: [Skript] Skript Version: 2.7.0-beta3 (skriptlang-github)
[05:46:03 INFO]: [Skript] Installed Skript Addons:
[05:46:03 INFO]: [Skript]  - Floodgate-Skript v2.3
[05:46:03 INFO]: [Skript]  - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[05:46:03 INFO]: [Skript]  - Skellett v2.0.9 (https://forums.skunity.com/resources/skellett.24/)
[05:46:03 INFO]: [Skript]  - SkBee v2.18.3 (https://github.com/ShaneBeee/SkBee)
[05:46:03 INFO]: [Skript] Installed dependencies:
[05:46:03 INFO]: [Skript]  - WorldGuard v7.0.9+5934e49

Bug Description

When putting a argument as when putting a bedrock user as the offline player it says There is no player online whose name starts with '.player'

Expected Behavior

it should just work like its a offline player it doesn't need to be online because argument is offline player

Steps to Reproduce

command /ban []:
permission: a.ban
trigger:
set {banned::%uuid of arg-1%} to "yes"
if arg-2 is not set:
set {reason::%uuid of arg-1%} to "&b&nYou have been banned!"
kick arg-1 because of {reason::%uuid of arg-1%}
else:
set {reason::%uuid of arg-1%} to "&b&nYou have been banned!%nl% &b&lReason: &a%arg-2%"
kick arg-1 because of {reason::%uuid of arg-1%}
add 1 to {bans::%uuid of arg-1%}

when doing /ban .player it says There is no player online whose name starts with '.player'

Errors or Screenshots

No response

Other

Please fix this

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
@TheLimeGlass
Copy link
Collaborator

TheLimeGlass commented Oct 25, 2023

Bedrock players in Geyser are formatted with a prefix. Set your prefix in your Skript config.sk. If you haven't changed this value it should be a dash - by default and as so is the config.sk for Geyser support. It looks like you use a period as the prefix, so that will need to be adjusted. There is a support configuration node for this, and you need to enable it to allow Skript to parse these players correctly.

See #4374

@TheLimeGlass TheLimeGlass added the won't fix Intended behaviour of Skript/MC, not fixable or not planned label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
won't fix Intended behaviour of Skript/MC, not fixable or not planned
Projects
None yet
Development

No branches or pull requests

2 participants