GithubHelp home page GithubHelp logo

Comments (3)

Gbear17 avatar Gbear17 commented on September 22, 2024

I got an almost identical situation, Minecraft Bedrock Dedicated Server on Windows 11. It took me a bit to figure out how to enable the beta API but I figured it out and can let you know how I did it if you'd like.

"
[2023-12-29 08:21:58:417 ERROR] [Scripting] InternalError: interrupted at delete (server/modules/history.js:205)
at delete (server/sessions.js:228)
at (server/sessions.js:269)
at (library/classes/eventEmitter.js:60)
at forEach (native)
at emit (library/classes/eventEmitter.js:59)
at (library/Minecraft.js:158)

[2023-12-29 08:21:58:423 ERROR] [Scripting] [Watchdog] 3005.370 ms script hang detected in behavior pack 'WorldEdit Bedrock Edition 0.8.4'

[2023-12-29 08:21:58:439 ERROR] [Scripting] ReferenceError: Native function [IPlayerSpawnAfterEventSignal::subscribe] does not have required privileges. at (library/Minecraft.js:22)
"

from worldedit-be.

Gbear17 avatar Gbear17 commented on September 22, 2024

@jamiecash I just found out I left out a comma in my "world_resource_packs.json", would you double check yours?

from worldedit-be.

captaindopesauce avatar captaindopesauce commented on September 22, 2024

This error similarly happens on my Bedrock dedicated server, running on UnRaid. Works just fine, until about 10 minutes after disconnection.

[2024-02-21 04:26:44:617 INFO] Player disconnected: NullHarp5037, xuid: 2535411248540962, pfid: ceb3fdd09ead57b
[2024-02-21 04:32:07:369 INFO] Running AutoCompaction...
[2024-02-21 04:36:47:781 ERROR] [Scripting] InternalError: interrupted at deleteHistoryRegions (server/modules/history.js:215)
at delete (server/modules/history.js:206)
at delete (server/sessions.js:228)
at (server/sessions.js:269)
at (library/classes/eventEmitter.js:60)
at forEach (native)
at emit (library/classes/eventEmitter.js:59)
at (library/Minecraft.js:154)

[2024-02-21 04:36:47:781 ERROR] [Scripting] [Watchdog] 3001.135 ms script hang detected in behavior pack 'WorldEdit Bedrock Edition 0.8.5'

[2024-02-21 04:36:47:781 ERROR] [Scripting] ReferenceError: Native function [IPlayerSpawnAfterEventSignal::subscribe] does not have required privileges. at (library/Minecraft.js:22)

EDIT Being that I run the dedicated server that I'm getting this error on, I did some investigating based on the symptoms of the error/hangup. By modifying the "ticksToDeleteSession" time in the behavior_packs/WorldEditB/scripts/config.js to a larger number, it extends the time that elapses before this part runs, and by modifying it to 1 Day instead of 10 minutes (used a tick calculator, and someone generally logs into my server within 14-18 hours max) it has successfully retained functionality past the 10 minute interval of no-player activity.

What would be the repercussions of leaving this as is, extending the time further, or commenting this line out entirely?

from worldedit-be.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.