This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
[Geo]Sky
Hello Mxc, i have one question, where ai can add new quest or npc or script in datapack,
This Is server/data/___init__.py
Code :
This Is server/data/scripts/___init__.py
Code :
This Is server/data/scripts/costum/___init__.py
Code :
__all__ = [ '3995_echo', '4000_ShadowWeapons', '7000_HeroItems', '8000_RaidbossInfo', '6050_KetraOrcSupport', '6051_VarkaSilenosSupport', '9999_NPCBuffer', '9099_HotSprings' ] print "" print "importing custom data ..." for name in __all__ : try : __import__('data.scripts.custom.'+name,globals(), locals(), ['__init__'], -1) except: print "failed to import quest : ",name print "... done" print ""But Pack Don't Have scripts.cfg, where i can add in scripts buffer, for them : '912_buffer'
P.S Sorry For my bad englis, Help Mxc ;)
8 answers to this question
Recommended Posts