microsoft / microsoft/minecraft-scripting-samples
Running these scripts on a dedicated bedrock server on linux
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 241
- Forks
- 48
- Avg merge
- 17m
- Merged PRs (30d)
- 1
Description
Hi,
First, thank you so much for the great resources! I'm very excited to try to build some custom minecraft experiences for my kiddo and his friends.
This isn't an issue with the repo, but I'm new to minecraft development and I'm not sure where to go to ask this type of question.
I'm trying to get the ts-starter project running but I've run into a couple problems.
First, I've modified my gulp file to tell it that I'm running a dedicated server and have set up my paths such that when I run gulp build I can see the staterbp ending up built and copied to the correct spot.
From there I cannot figure out how to get the behavior pack to get picked up by the game. I've tried having it copied to both development_behavior_packs and also behavior_packs but I'm not seeing it in either case. I connect to my dedicated server and do not see the 'Hello starter!' printed out.
I also modified the code to reset the tickIndex counter to 0 every time it gets to 100, wondering if the printout was happening before I was able to load into my server, but alas, this didn't help either.
I've tried restarting the server and reconnecting with no luck.
Are there some settings I need to configure on my server to enable the loading of development_behavior_packs?
Thanks so much!
Jared
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ts-starter project and its modified gulp file, then review the dedicated-server setup and behavior-pack loading configuration described in the issue. Reproduce the build and server connection steps if the required environment is available. Done means the built behavior pack is loaded by the dedicated Bedrock server and the starter output appears; the issue has no confirmed resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devops, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100