Cuberite Forum
how do i use identifiers? - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: how do i use identifiers? (/thread-3448.html)



how do i use identifiers? - froggotheadmin - 12-23-2024

so like, @a, @e, @p in command blocks?

would appreciate a quick response!  Tongue


RE: how do i use identifiers? - NiLSPACE - 12-23-2024

Unfortunately command blocks are barely supported by Cuberite. They currently use the same command handlers as console commands. Because of this target selectors aren't supported as of yet.


RE: how do i use identifiers? - froggotheadmin - 12-23-2024

(Yesterday, 08:06 PM)NiLSPACE Wrote: Unfortunately command blocks are barely supported by Cuberite. They currently use the same command handlers as console commands. Because of this target selectors aren't supported as of yet.

thats unfortunate  Sad

are there any other ways of warping players, perhaps through a plugin?  Tongue

oh, also, im struggling a little bit with setting the world spawn


RE: how do i use identifiers? - NiLSPACE - 12-23-2024

froggotheadmin Wrote:are there any other ways of warping players, perhaps through a plugin?

Yes, that's possible. You can use the TeleportToCoords function: https://api.cuberite.org/cPlayer.html#TeleportToCoords_1

froggotheadmin Wrote:oh, also, im struggling a little bit with setting the world spawn
To set the spawn you can use the core plugins' /setspawn command in game. It will set the spawn to the position you are at when you use it.