Custom NPC's/World Guard

.Sullivan.

New Member
Jul 29, 2019
47
0
0
Does anyone know of a plugin and/or specific way to allow custom NPC's to execute a worldguard command?

This is what I have on Interact:

Code:
npc.executeCommand("/region addmember test1 " + player.getName()
)

Aswell this is enabled in both World Guard/ServerProperties/CustomNPC's.cfg
Allowcommandblocks=true
allowcustomnpcsOP-override=true
allowcommandblockcommands=true

If anyone has any sort of suggestions feel free.
 

mmorton89

New Member
Jul 29, 2019
45
0
0
Citizens and Denizen? I love Denizen and it could execute any WorldGuard command but it maybe be too much for what you are looking for.

Just a suggestion. :p
 

.Sullivan.

New Member
Jul 29, 2019
47
0
0
I enjoyed Denizen when I was using it, However with CustomNPC's(by Noppes) allows an easier configuration with the ability to use customized scripting.

I might look into adding Denizen and Citizens to the server however it seems pointless just for worldguard regions?

I wonder if there is a way to integrate both denizen scripts with CustomNPC's.. Thanks for your suggestion @mmorton89 !
 
P

pinguinx.ddns.net

Guest
I had exact the same Problem but came to an improvised conclusion!

If someone wants to get the owner of a Region he gets for example the quest to pay 3 Diamonds afterwards he gets teleported in a room were he has to press a Lever to complete it. In the Commandblock is the /Region addowner command and a second to teleport him to his new Region!

I hope I could help you!:)