Skip to content
Discussion options

You must be logged in to vote

No problem, feel free to ask! but the main issue here is the execution context

In your script (I assume) you are executing the command as the player (for example /server test). That only works if the command is actually executed by a player. If another plugin or a datapack executes the CommandBridge command, there is no player object, which is why you get that error.

So you basically have only two options:
1. Run it as the player
If you want it to execute as a player, your plugin or datapack has to explicitly execute it as that player. Otherwise CommandBridge can’t resolve a player context and will fail.
2. Run it as console
If you disable the check-if-executor-is-player: true check, you …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@WikusG
Comment options

@objz
Comment options

objz Dec 27, 2025
Maintainer

Answer selected by WikusG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants