ver1.13 and later, it became clear that the "execute" command can no longer execute commands other than vanilla.
Example: (run CrackShot commands)
Before 1.12: success run
/execute @a[r=5] ~ ~ ~ shot give @p weapon
1.13 and later: can't run
/execute as @a[distance=..5] run shot give @p weapon
So simple code, I created something to execute other Plugin commands.
Commands:
/plexecute @Sender run <run command>
@Sender = Target executer (@a, @p, etc... It can set selector. example: @a[distance=..5] )
<run command> = The command you want to execute.
Note:
If the command to be executed does not support selector, it may not work well.
In that case, it may be solved by introducing CommandHook.
(I had this problem when I tried to run the CrackShot's command, but it was solved this)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta