CuzIm1Tigaaa / Spectator

This Plugin allows you to easily spectate players without needing permissions for /gamemode!
10 stars 2 forks source link

`/unspec` doesn't send the spectator back to the original location or original game mode #21

Closed cupang-afk closed 10 months ago

cupang-afk commented 10 months ago

it leave the player in spectator mode, and free to roam when press "Sneak" button for some reason

typing /spec in this moment will leave the spectator mode and send back the spectator to original location image

using spectator 2.0

[21:08:34 INFO]: Checking version, please wait...
[21:08:35 INFO]: Current: git-Purpur-2113 (MC: 1.20.4)*
Previous: git-Purpur-2114 (MC: 1.20.4)
* You are 5 version(s) behind
Download the new version at: https://purpurmc.org/download
cupang-afk commented 10 months ago

i might be confusing the command /spec to enter and leave the spectator mode

but i read the usage in the spigot thread again

/unspec [Player|All] [here]        // "Kick" a Player or all out of Spectator-Mode
                                   // param "here" is a boolean! true equals to /spechere

then i try

> unspec all here
[22:00:14 INFO]: all is not Online!
> unspec All here
[22:00:22 INFO]: All is not Online!
> unspec all
[22:02:20 INFO]: all is not Online!
> unspec All
[22:02:43 INFO]: All is not Online!

also happen as player

running /unspec without any arguments, resulting this issue however the /unspec player work (restoring the said spectating player)

> unspec cupang_afk
[22:06:26 INFO]: afk_mancing has been resend!

the name is different since %TARGET% placeholder return player displayname

cupang-afk commented 10 months ago

also "Sneak" to free roam is still happens even just by doing the /spec normally

CuzIm1Tigaaa commented 10 months ago

Thanks for reporting I realize that I did not test this command last time I changed it. Sorry for that!

CuzIm1Tigaaa commented 10 months ago

As locally tested, this problem should now be fixed. Please let me know if this is still a problem.

EDIT: I also fixed the description

ArionOwO commented 8 months ago

I'm having this same issue, they can't get out of spec mode. They try /spec, /unspec, I try kicking everyone out of spec nothing, I try reloading the plugin nothing, it'll just say there isn't anyone in spec mode.

I'm on paper 1.20.2 #318

[23:34:18 INFO]: Minustrian issued server command: /spec [23:34:19 INFO]: Minustrian issued server command: /spec [23:34:19 INFO]: [Spectator] Player Minustrian unspectated! [23:34:19 INFO]: [Spectator] Inventory saved for World [world]: [23:34:19 INFO]: [Spectator] - WHEAT_SEEDS [23:34:22 INFO]: CRAFTING_TEA issued server command: /spec [23:34:22 INFO]: [Spectator] Player CRAFTING_TEA unspectated! [23:34:22 INFO]: [Spectator] Inventory saved for World [world]: [23:34:22 INFO]: [Spectator] - TORCH [23:34:27 INFO]: CRAFTING_TEA issued server command: /spec [23:34:32 INFO]: [6:34 PM] [Mod] Min: nope