I have been looking around and I cannot find a single solution for my problem. I am trying to get NPC's to add players to a region using worlguard. However it shows up nothing in my console, both in the scripting GUI and the server console.
Command block is enables in the server.properties.
NPC-OP is enabled in the config file.
Aswell I can't find anything in the worldguard config file for command blocks and/or op override.
Any help on this? I've been trying to find a solution for two days and this is my last resource to try and solve this one.
I have been looking around and I cannot find a single solution for my problem. I am trying to get NPC's to add players to a region using worlguard. However it shows up nothing in my console, both in the scripting GUI and the server console.
Command block is enables in the server.properties.
NPC-OP is enabled in the config file.
Aswell I can't find anything in the worldguard config file for command blocks and/or op override.
Any help on this? I've been trying to find a solution for two days and this is my last resource to try and solve this one.
this is a world guard thing their commands dont work with NPCs for some reason ive been trying to get this to work too but console doesnt show that the npc has no access nor does the command execute this might be to prevent players from gaining access to destroy in certain protected areas just my guess but if you get it to work do let us know please.
I'm looking on making an addon for it? I mean there are a few solutions that I can think of but they are out of my capabilities as far as coding. I have a few friends that would be able to do this for me, If I come up with anything Ill make sure I let you know.
It's annoying though, I can operate ANY other command with plugins minus World Guard, even through a command block...
I'm looking at adding specific region perms eg: - worldguard.region.test1
This gives the user ability to access that region, so in all it would be a groupmanager command adding that permission to the user talking to that NPC.
If this works, Like I said Ill message you with the details and how I did it.
this is a world guard thing their commands dont work with NPCs for some reason ive been trying to get this to work too but console doesnt show that the npc has no access nor does the command execute this might be to prevent players from gaining access to destroy in certain protected areas just my guess but if you get it to work do let us know please.
Got it!
So you can add world guard commands however it has to be ran like it would through console.
/rg addmember -w <world_name> <id> @dp
So the user that is talking to that particular NPC will be added to the region that you need them to be added to. For instance if there is a mine that is only accessible through completing x quest, at the end of that quest you will get the npc to run the command "/rg addmember -w world miners_quest @dp"
If you have any questions about this feel free to message me.
Just a suggestion, would it be possible to have a block or quest that changes the specified NPC with another under certain circumstances? (I.E. player gives a certain item to them, npc gets near block/point, etc.)?
Just a suggestion, would it be possible to have a block or quest that changes the specified NPC with another under certain circumstances? (I.E. player gives a certain item to them, npc gets near block/point, etc.)?
Why not simply use Quest?
Commands on Quest_complete would quite fit your propose(if we speak about player), as there's an item quest and location quest. To be clear, i can't imagine conditions to change npc location-based. The key thing about NPC - it just unloads w/o a player around. But if your quest is not exactly about npc, but about a player nearby it(for example - princess appeared to be a vampire) why would you check npc?
Quest 1. Help the fellow princess on her way to castle >
princess is on a road to castle u're the defender Quest is complete on area checkpoint.
Quest 2. Princess becomes a monster and attacks you. Kill her! >
first quest resets a princess and spawns monster instead,
2nd Quest reqires you to tell your King about princess nature and gives the reward.
That way you would even let more than 1 player to do the quest.
Also, you could force player to start quest only when it's 22 o'clock and change her exactly through Night menu when it's night.
I hope that helps, however I just don't imagine what your questline could be.
>> Noppes
BTW crashes on null are quite dangerous. ~_~
No easy way to edit scripts. No way to stop init.
I have been looking around and I cannot find a single solution for my problem. I am trying to get NPC's to add players to a region using worlguard. However it shows up nothing in my console, both in the scripting GUI and the server console.
Command block is enables in the server.properties.
NPC-OP is enabled in the config file.
Aswell I can't find anything in the worldguard config file for command blocks and/or op override.
Any help on this? I've been trying to find a solution for two days and this is my last resource to try and solve this one.
That command has no space. Currently it tries to execute the command /regionaddmemberplayername
No easy way to edit scripts. No way to stop init. Also i don't get what "Linked" interface-thing do You entire minecraft crashes because an init script? Can I have a crash report if thats the case
You can link npcs. Edit one edits all linked npcs as well.
Rollback Post to RevisionRollBack
Those who want to chat or hang out, join me on discord
Want to support me? Become one of my patrons:
By the way.Setting Stored data array for 1.7.2c doesn't work at all(calling it(null) crashes client).
Temp data doesn't have such a problem.
Setting in manually into file doesn't work aswell. Value is cleared once server restarted.
setStoredData Method is Unlike tempdata only Strings and Numbers can be saved.
Lets hope noppes will change that sometime... That thing is quite too handy to be limited.
I was doing everything through Temp as Stored is not needed before production. I really hope its on todo list T_T
Please tell it is.
Since my last post got ignored, I will repeat it. Are you planning on making a survival mode version, Noppes? There is a lot of cool weapons and items with awesome textures, but the majority of them don't have crafting recipes. I suggest making a survival mode version without the NPC creating. And I know, it technically wouldn't be CustomNPCs, but think about it! There is a lot of good stuff in your mod, like the couches, and it would be awesome if you could have it in survival. A lot of people would be pretty happy if you did this. Hope to hear from you soon!
Rollback Post to RevisionRollBack
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
Can anyone help me? Is there a way to make an NPC spawn (in the same spot) when another NPC dies? I am doing a LOTR map, and I want to make it so that when you kill Theoden, he is cured of Sarumans influence. Thanks!
Why do you try to avoid the logical order? Explain your exact plan.
As for most people standart 2 quest princess-system works fine.
As for spawn, command : noppes clone Spawn <name> <tab> [[world:]x,y,z] [newname] works fine.
However you need to use Cloner-Axe on Theoden to put him on spawnlist.
Is it possible to have the dialog options (instead of the dialog itself) trigger scripting events? Say player chooses Option 1 from the wheel/menu, it makes Event 1 happen. Option 2, Event 2, etc.. I looked on the scripting website a few times, but I might have overlooked it.
Nobody is answering my question: Is it possible to give the custom npcs the old mob AI system?
What is even old mob AI? I can't give an answer if your question is vague. And Im not going to repeatedly ask people to be more clear with their questions.
Also Im very close to reporting you for spam. Im keeping my eyes on you.
Rollback Post to RevisionRollBack
Those who want to chat or hang out, join me on discord
Want to support me? Become one of my patrons:
I have been looking around and I cannot find a single solution for my problem. I am trying to get NPC's to add players to a region using worlguard. However it shows up nothing in my console, both in the scripting GUI and the server console.
Command block is enables in the server.properties.
NPC-OP is enabled in the config file.
Aswell I can't find anything in the worldguard config file for command blocks and/or op override.
Any help on this? I've been trying to find a solution for two days and this is my last resource to try and solve this one.
this is a world guard thing their commands dont work with NPCs for some reason ive been trying to get this to work too but console doesnt show that the npc has no access nor does the command execute this might be to prevent players from gaining access to destroy in certain protected areas just my guess but if you get it to work do let us know please.
It's annoying though, I can operate ANY other command with plugins minus World Guard, even through a command block...
I'm looking at adding specific region perms eg: - worldguard.region.test1
This gives the user ability to access that region, so in all it would be a groupmanager command adding that permission to the user talking to that NPC.
If this works, Like I said Ill message you with the details and how I did it.
Got it!
So you can add world guard commands however it has to be ran like it would through console.
/rg addmember -w <world_name> <id> @dp
So the user that is talking to that particular NPC will be added to the region that you need them to be added to. For instance if there is a mine that is only accessible through completing x quest, at the end of that quest you will get the npc to run the command "/rg addmember -w world miners_quest @dp"
If you have any questions about this feel free to message me.
Why not simply use Quest?
Commands on Quest_complete would quite fit your propose(if we speak about player), as there's an item quest and location quest. To be clear, i can't imagine conditions to change npc location-based. The key thing about NPC - it just unloads w/o a player around. But if your quest is not exactly about npc, but about a player nearby it(for example - princess appeared to be a vampire) why would you check npc?
Quest 1. Help the fellow princess on her way to castle >
princess is on a road to castle u're the defender Quest is complete on area checkpoint.
Quest 2. Princess becomes a monster and attacks you. Kill her! >
first quest resets a princess and spawns monster instead,
2nd Quest reqires you to tell your King about princess nature and gives the reward.
That way you would even let more than 1 player to do the quest.
Also, you could force player to start quest only when it's 22 o'clock and change her exactly through Night menu when it's night.
I hope that helps, however I just don't imagine what your questline could be.
>> Noppes
BTW crashes on null are quite dangerous. ~_~
No easy way to edit scripts. No way to stop init.
Also i don't get what "Linked" interface-thing do
12:30:04 AM
CONSOLE:
WARN]: at noppes.npcs.entity.EntityCustomNpc.func_70037_a(EntityCustomNpc.java:23)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraft.entity.Entity.func_70020_e(Entity.java:1662)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraft.entity.EntityList.func_75615_a(EntityList.java:172)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadEntities(AnvilChunkLoader.java:487)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:44)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:15)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraftforge.common.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:344)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraftforge.common.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:302)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:12)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:164)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:137)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraft.world.gen.ChunkProviderServer.func_73154_d(ChunkProviderServer.java:260)
12:30:04 AM
CONSOLE:
WARN]: at net.minecraft.world.World.func_72964_e(World.java:739)
12:30:04 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.spawning.PixelmonSpawner.getRandomSpawningPointInChunk(PixelmonSpawner.java:56)
12:30:04 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.spawning.PixelmonSpawner.doSpawning(PixelmonSpawner.java:104)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.spawning.PixelmonSpawner.tickEnd(PixelmonSpawner.java:318)
12:30:05 AM
CONSOLE:
WARN]: at cpw.mods.fml.common.eventhandler.ASMEventHandler_61_PixelmonSpawner_tickEnd_WorldTickEvent.invoke(.dynamic)
12:30:05 AM
CONSOLE:
WARN]: at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
12:30:05 AM
CONSOLE:
WARN]: at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138)
12:30:05 AM
CONSOLE:
WARN]: at cpw.mods.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:260)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:963)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658)
12:30:05 AM
CONSOLE:
WARN]: at java.lang.Thread.run(Unknown Source)
12:30:05 AM
CONSOLE:
[INFO] Didn't have an ability slot, giving it one
12:30:05 AM
CONSOLE:
WARN]: java.lang.NullPointerException
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.entities.pixelmon.Entity3HasStats.giveAbilitySlot(Entity3HasStats.java:451)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.entities.pixelmon.Entity3HasStats.func_70037_a(Entity3HasStats.java:402)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.entities.pixelmon.Entity4Textures.func_70037_a(Entity4Textures.java:172)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.entities.pixelmon.Entity6CanBattle.func_70037_a(Entity6CanBattle.java:233)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.entities.pixelmon.Entity7HasAI.func_70037_a(Entity7HasAI.java:94)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.entities.pixelmon.Entity8HoldsItems.func_70037_a(Entity8HoldsItems.java:79)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.entities.pixelmon.Entity10CanBreed.func_70037_a(Entity10CanBreed.java:184)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.entities.pixelmon.EntityPixelmon.func_70037_a(EntityPixelmon.java:317)
12:30:05 AM
CONSOLE:
WARN]: at noppes.npcs.ModelData.getEntity(ModelData.java:18)
12:30:05 AM
CONSOLE:
WARN]: at noppes.npcs.entity.EntityCustomNpc.updateHitbox(EntityCustomNpc.java:61)
12:30:05 AM
CONSOLE:
WARN]: at noppes.npcs.DataDisplay.readToNBT(DataDisplay.java:124)
12:30:05 AM
CONSOLE:
WARN]: at noppes.npcs.entity.EntityNPCInterface.func_70037_a(EntityNPCInterface.java:880)
12:30:05 AM
CONSOLE:
WARN]: at noppes.npcs.entity.EntityCustomNpc.func_70037_a(EntityCustomNpc.java:23)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.entity.Entity.func_70020_e(Entity.java:1662)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.entity.EntityList.func_75615_a(EntityList.java:172)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadEntities(AnvilChunkLoader.java:487)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:44)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:15)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraftforge.common.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:344)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraftforge.common.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:302)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:12)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:164)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:137)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.world.gen.ChunkProviderServer.func_73154_d(ChunkProviderServer.java:260)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.world.World.func_72964_e(World.java:739)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.spawning.PixelmonSpawner.getRandomSpawningPointInChunk(PixelmonSpawner.java:56)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.spawning.PixelmonSpawner.doSpawning(PixelmonSpawner.java:104)
12:30:05 AM
CONSOLE:
WARN]: at com.pixelmonmod.pixelmon.spawning.PixelmonSpawner.tickEnd(PixelmonSpawner.java:318)
12:30:05 AM
CONSOLE:
WARN]: at cpw.mods.fml.common.eventhandler.ASMEventHandler_61_PixelmonSpawner_tickEnd_WorldTickEvent.invoke(.dynamic)
12:30:05 AM
CONSOLE:
WARN]: at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
12:30:05 AM
CONSOLE:
WARN]: at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138)
12:30:05 AM
CONSOLE:
WARN]: at cpw.mods.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:260)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:963)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798)
12:30:05 AM
CONSOLE:
WARN]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658)
Im running Cauldron.1.1272.06.215 latest update from Jan.
Try the CustomNpcs_1.7.10c test version. Should fix this issue.
No easy way to edit scripts. No way to stop init. Also i don't get what "Linked" interface-thing do You entire minecraft crashes because an init script? Can I have a crash report if thats the case
You can link npcs. Edit one edits all linked npcs as well.
Want to support me? Become one of my patrons:
setStoredData Method is Unlike tempdata only Strings and Numbers can be saved.
from http://www.kodevelopment.nl/customnpcs/
I, there is no malice to you guys.
Lets hope noppes will change that sometime... That thing is quite too handy to be limited.
I was doing everything through Temp as Stored is not needed before production. I really hope its on todo list T_T
Please tell it is.
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
Like them? Post on them! Say your opinion, or suggest more features!
Double Bump
Why do you try to avoid the logical order? Explain your exact plan.
As for most people standart 2 quest princess-system works fine.
As for spawn, command : noppes clone Spawn <name> <tab> [[world:]x,y,z] [newname] works fine.
However you need to use Cloner-Axe on Theoden to put him on spawnlist.
YUSSSSSSSSSSSSSSSSSSS!
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
Aww but thanks for answering Noppes should add it though
What is even old mob AI? I can't give an answer if your question is vague. And Im not going to repeatedly ask people to be more clear with their questions.
Also Im very close to reporting you for spam. Im keeping my eyes on you.
Want to support me? Become one of my patrons: