HomeJavaModsCommandBlockAsPlayer | Run Plugin Commands As Players
CommandBlockAsPlayer | Run Plugin Commands As Players
ModsJava

CommandBlockAsPlayer | Run Plugin Commands As Players

⬇ Download on Spigot
HEAD NOTE: This plugin works but is currently just a very small project completed by request. If it catches reasonable attention I will work to improve it but as of now it is and will remain a small project with fairly basic features.

Purpose:
For some reason there is no way with vanilla Minecraft/Spigot to run plugin commands as a player from a command block? There is a hacky thing with "/execute as @p run <INSERT_COMMAND>" but that only works with VANILLA commands? It seemed a little ridiculous and silly so this allows you to do exactly as the name suggests, run plugin commands as players through command blocks. Note: THIS PLUGIN DOES NOT ALTER PLAYER PERMISSIONS, IT SIMPLY MAKES THEM RUN A COMMAND FROM A COMMAND BLOCK.

Command:
To use this plugin, this is the command format that ONLY works in command blocks (this will not function if typed as a player regardless of permissions).
"cbap <full command here>"
Examples of this would be:
"cbap warp spawn" - Makes the player run "/warp spawn"
"cbap f join default" - Makes the player run "/f join default"
"cbap kit list" - Makes the player run "/kit list"
"cbap give diamond 99999" - Makes the player run "/give diamond 99999". Note: this wouldn't do anything other than give players a missing perms response as if they typed it in chat. This plugin does NOT add permissions to players.

Requirements:
Features:
Donations: Support me @
_- https://paypal.me/AaronSkeels -_​

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CommandBlockAsPlayer | Run Plugin Commands As Players is a free Minecraft Java mod. Compatible with Minecraft 1.19. Downloaded 957 times (via Spigot). Download it and open it directly in the game.

Explore more