#(GGEZJaberO) npc select command not working for command blocks
1 messages · Page 1 of 1 (latest)
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.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
Hey i am making a game and i need command blocks to do the work
so i do
/npc create Murk_Wolf --type WOLF
and then I want to select it so I use
/npc select Murk_Wolf
but it doesnt select it. Ive seached if the command block is the problem but its not that
the code isnt working and somehow not selecting.. please help
Ive checked it and barely any citizen commands work with a command block???
command blocks are the worst thing a server operator could use. IMO you should get rid of them now, they're only going to cause you problems.
in other news, there is no reason that
/npc select Murk_Wolf
would not select your npc, assuming you have one and only one npc of that name
im wondering if you have additional npc(s) named Murk_Wolf
@red mauve
Your question seems to be an XY Problem - you're asking about your attempted solution rather than your original problem.
Read in detail about the XY Problem here: http://xyproblem.info/
For an example of an XY Problem we've seen in Denizen, the question "how do I make an event for when a flag expires" has no answer, but the same question asked with full background detail will be something more like "I have this script: [LINK HERE], which sets a 3 minute cooldown flag on a player for when they use an ability. I want the player to be notified when the cooldown completes - how do I do this?" which we can then answer quite effectively (in this example, all that was needed was a simple wait command, no events or flag-listening or anything).
Alright how else can i put npc code in and it does it automatically
what are you trying to do here
like when the game starts after 2 minutes it runs a code
the code summons a wolf
tp it somewhere
makes it vunerable
targets players
and stay in a certain region
thats why i am using citizens otherwise i would use vanilla mobs
pls don't ghost ping, it makes us sad
If you want to use an NPC for that, the best solution would be to use code. Either by way of a custom plugin or Denizen
If you're interested in that solution, we're more than happy to help you get it sorted with Denizen in #1026104994149171200
whats denizen again
Denizen is a plugin that basically lets you make your own plugins
it looks like code, but it's super easy to do
alr
so you think i can make a simple mob barrier for my vanilla mobs
and use it for my aternos server aswell
sure, or just create the NPCs with it
works there iirc, as long as you're reasonably updated
alright thanks
and about the thing with the do not use commadn blocks
is there another option
Uhh
denizen, as Inquistor said.
or, you could use a quest plugin that has timed objectives.
but denizen is bestest
cause i want some way for players to matchmake into a game and for the games code to run on its own
Possibly. Denizen is probably gonna be your best option, but it's prooobably possible to pull some shenanigan with despawning and respawning npcs
alr
ill come back or create a post in denizen if i am stuck thanks
oof denizen doesnt work with aternos
!aternos
Free server providers (like Aternos, Minehut) usually have limitations that make them difficult to support, and there are usually better options available to most people, such as home-hosting. Refer to the FAQ page: https://wiki.citizensnpcs.co/Frequently_Asked_Questions#I_have_a_free_server_.28Aternos.2C_Minehut.2C_....29_but_there.27s_problems.
are datapacks a good idea for this
doesnt refer to anything about npc commands not working in command blocks or im blind
that has nothing to do with citizens or denizen. try #1027976885520584814 for that.
in hindsight, you might as well go back to command blocks.
if you can /npc create, then you should be able to /npc select. i dont know of any reason why you cant. i think you have more than one npc of the name youre trying. try selecting by the npc ID.
If that still doesnt work, then i've got nothing else to try. you're not on a typical platform.
one more thing, are you SURE that the /npc select isnt selecting your npc? do note, that if you've just got done creating the npc, then it's already selected.
i literally got two command blocks, did one /npc select name and another saying /npc vulnerable
but it doesnt work
neither if i do any other command that needs the select
i mean can i use datapacks to make barrier blocks for specific entities
Is there any other mods of plugins that doesnt work with citizens
No, this page explains why we can't support you properly, when running on a freehost like aternos
some of them even run their own fork of citizens
thats alright im trying to use world guard regions to teleport the vanilla mob when it tries to exit
Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> 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.)
@red mauve