#(phromge) match_player but for entities
44 messages · Page 1 of 1 (latest)
(phromge) match_player but for entities
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
what specifically are you trying to do?
Its kinda hard to explain but another plugin can only supply the mobs uuid via its placeholder system, so it runs that command like /command {mobuuid} so id like to be able to define that mob via the supplied uuid so I can do denizen things to it
!object entitytag
An EntityTag represents a spawned entity, or a generic entity type.
Note that players and NPCs are valid EntityTags, but are generally represented by the more specific
PlayerTag and NPCTag objects.
Note that a spawned entity can be a living entity (a player, NPC, or mob) or a nonliving entity (a painting, item frame, etc).
This object type is flaggable.
Flags on this object type will be stored in the world chunk files as a part of the entity's NBT.
e
ElementTag
FlaggableObject, PropertyHolderObject
The identity format for entities is a spawned entity's UUID, or an entity type.
For example, 'e@abc123' or 'e@zombie'.
whenever i do that i just get an error :l
!haste
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
Content of Denizen Script Paste #134983: Unnamed Denizen Script Paste... pasted 2025/07/20 21:41:13 UTC-07:00, Paste length: 224 characters across 6 lines, Content: entity_shuffle_command: type: command name: entitiyshuffle description: S
server.match_player shouldn't be used here since it's not a player
it can be a player though
i want it to check if its a player
if its not then its a mob
the mob uuid part is the only part im having trouble with
If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!
it works on my test server but not my main one, wth
are you able to run a debug on your main server?
is there a special one to do, b/c the normal one isnt very interesting
[05:20:38 INFO]: Additional Error Info: Tag-base 'entity' returned null.
[05:20:38 INFO]: Additional Error Info: Tag <entity[6551a335-621f-41f3-8895-20e9a4672]> is invalid!
[05:20:38 INFO]: Additional Error Info: Unfilled or unrecognized sub-tag(s) 'entity[6551a335-621f-41f3-8895-20e9a4672]' for tag <entity[<context.args.get[1]>```
sorry im having to ask someone to send me them lol
i had a issue with stuff not working the other day that should work too
i think i may see your issue, but it's a bit niche...
your first debug had an entity uuid of a6f992cc-95ef-4fd5-a7b1-f37764644e33
your second debug had an entity uuid of 6551a335-621f-41f3-8895-20e9a4672
if you notice, the first one is a proper uuid with 32 digits
the second one is not
the first one was an armadillo and the second was a llama
maybe i can ask our dev for more help :l
this is why i dont have perms...
right, but uuids are all 32 digits
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@karmic hawk