tucks / mineos-bedrock-wrapper

9 stars 0 forks source link

Commands via CLI not working #4

Open AlfaJackal opened 1 year ago

AlfaJackal commented 1 year ago

I successfully started the bedrock_server. It works pretty well - thank you!

The only thing that doesn't work are commands from the MineOS CLI:

mc@mineos-tkldev .../servers/Bedrock$ /help
[07:56:58] [2023-08-03 07:56:58:822 ERROR] Unknown command: /. Please check that the command exists and that you have permission to use it.

Here are my permissions:

mc@mineos-tkldev .../servers/Bedrock$ ls -la
total 521508
drwxrwxr-x 20 mc   mc        4096 Jul 31 15:31 .
drwxrwxr-x  4 root root      4096 Aug  3 07:59 ..
-rw-rw-r--  1 mc   mc           0 Aug  3 08:06 Dedicated_Server.txt
-rw-r--r--  1 mc   mc          11 Aug  3 07:53 admins.txt
-rw-rw-r--  1 mc   mc           3 Jul 20 20:52 allowlist.json
-rw-rw-r--  1 mc   mc    76100826 Aug  1 09:02 bedrock-server-1.18.33.02.zip
-rw-r--r--  1 root root  88509565 Jul 24 16:10 bedrock-server-1.20.13.01.zip
-rwxrwxr-x  1 mc   mc   124384816 Jul 20 21:07 bedrock_server
-rw-rw-r--  1 mc   mc       28767 Jul 20 20:52 bedrock_server_how_to.html
-rwxr-xr-x  1 mc   mc   197059624 Jul 20 21:07 bedrock_server_symbols.debug
drwxrwxr-x 39 mc   mc        4096 Aug  1 09:14 behavior_packs
drwxrwxr-x  3 root root      4096 Jul 20 21:07 config
drwxrwxr-x  2 mc   mc        4096 Jul 31 18:01 crash-reports
-rw-rw-r--  1 mc   mc           0 Jul 31 17:56 cron.config
drwxrwxr-x  8 mc   mc        4096 Aug  1 09:02 definitions
drwxr-xr-x  2 mc   mc        4096 Aug  1 09:03 development_behavior_packs
drwxr-xr-x  2 mc   mc        4096 Aug  1 09:03 development_resource_packs
drwxr-xr-x  2 mc   mc        4096 Aug  1 09:03 development_skin_packs
-rw-rw-r--  1 mc   mc           9 Aug  3 07:56 eula.txt
-rw-rw-r--  1 mc   mc         278 Aug  3 07:56 invalid_known_packs.json
drwxrwxr-x  8 mc   mc        4096 Jul 31 18:00 libraries
drwxrwxr-x  2 mc   mc        4096 Aug  3 07:56 logs
-rw-rw-r--  1 mc   mc    47791053 Jul 30 18:51 minecraft_server.1.20.1.jar
drwxr-xr-x  2 mc   mc        4096 Aug  1 09:03 minecraftpe
-rw-rw-r--  1 mc   mc        6233 Jul 31 17:59 mineos-bedrock-wrapper-1.0-SNAPSHOT.jar
-rw-rw-r--  1 mc   mc         265 Aug  3 07:13 packet-statistics.txt
-rw-rw-r--  1 mc   mc           3 Jul 20 20:52 permissions.json
drwxr-xr-x  2 mc   mc        4096 Aug  1 09:03 premium_cache
-rw-rw-r--  1 mc   mc         580 Jul 20 20:52 release-notes.txt
drwxrwxr-x  4 mc   mc        4096 Aug  1 09:02 resource_packs
-rw-rw-r--  1 mc   mc         140 Aug  3 08:04 server.config
-rw-rw-r--  1 mc   mc         959 Aug  3 07:12 server.properties
drwxrwxr-x 15 mc   mc        4096 Aug  1 09:02 structures
drwxr-xr-x  3 mc   mc        4096 Aug  1 09:03 treatments
-rw-rw-r--  1 mc   mc        6452 Aug  3 07:56 valid_known_packs.json
drwxrwxr-x  3 mc   mc        4096 Jul 31 18:00 versions
drwxrwxr-x  4 mc   mc        4096 Jul 31 18:01 world
drwxr-xr-x  2 mc   mc        4096 Aug  1 09:03 world_templates
drwxr-xr-x  4 mc   mc        4096 Aug  1 09:26 worlds

I also tested it with a blank Java server (v1.20.1) and I am not having a permission error.

Any ideas here? Don't know why the config folder has root priviledges ... Already changed it to mc:mc but still the same.