InnateAlpaca / BedrockBridge

BedrockBridge provides Bedrock Dedicated Servers with connection to discord for chat and commands
https://bedrockbridge.esploratori.space
MIT License
36 stars 4 forks source link

Unable to execute script #7

Closed siw1973 closed 2 months ago

siw1973 commented 2 months ago

After installing the AddOn in my world trying to execute the script and nothing happens.

In the log there seems to be an issue with the permissions :

[2024-06-28 14:11:39:062 INFO] [Packs] [SERVER] Pack Stack

 Name   [Bedrock-Bridge v1.3.10][01]

 PackId [b17755d2-3cc0-424b-89dd-558fc98513f5_1.3.10]

 Path   [worlds/Bedrock level/behavior_packs/Bedrock-Br]

[2024-06-28 14:13:03:452 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery

[2024-06-28 14:13:03:452 INFO] IPv6 supported, port: 19133: Used for gameplay

[2024-06-28 14:13:03:907 INFO] Server started.

[2024-06-28 14:13:03:907 INFO] ================ TELEMETRY MESSAGE ===================

[2024-06-28 14:13:03:907 INFO] Server Telemetry is currently not enabled. 

[2024-06-28 14:13:03:907 INFO] Enabling this telemetry helps us improve the game.

[2024-06-28 14:13:03:907 INFO] 

[2024-06-28 14:13:03:907 INFO] To enable this feature, add the line 'emit-server-telemetry=true'

[2024-06-28 14:13:03:907 INFO] to the server.properties file in the handheld/src-server directory

[2024-06-28 14:13:03:907 INFO] ======================================================

[2024-06-28 14:13:03:992 INFO] [Scripting] Plugin Discovered [Bedrock-Bridge v1.3.10] PackId [b17755d2-3cc0-424b-89dd-558fc98513f5_1.3.10] ModuleId [54d46e5d-b8c7-486f-8957-f83982bdfc2f]

[2024-06-28 14:13:03:992 ERROR] [Scripting] Plugin [Bedrock-Bridge v1.3.10 - 1.3.8] - requesting dependency on module [@minecraft/server-net] but it is not configured to use it.

[2024-06-28 14:13:03:992 INFO] [Scripting] No script plugins found.

My permission.json looks like this :

[
    {
        "permission": "operator",
        "xuid": "1234567890123456"

    },
    {
        "allowed_modules": [
           "@minecraft/server.net"
    ]
    }
]

Can you advise on the formating of the permissions.json please.

siw1973 commented 2 months ago

My mistake, typo using server.net not server-net.

But after making that change still have the above log message and not able to run :

scriptevent esploratori:setup

siw1973 commented 2 months ago

OMG Figured it out..... Two permissions.jsons files.....

Closed !