[SPIGOT-4259] Running functions on a server running EssentialsX Created: 12/Aug/18  Updated: 13/Aug/18  Resolved: 12/Aug/18

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: E Ros Assignee: Unassigned
Resolution: Done Votes: 0
Labels: command, essentials, functions

Version:  This server is running CraftBukkit version git-Spigot-c3093ef-9f49ad6 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT) You are 196 version(s) behind
Plugin: EssentialsX
Guidelines Read: Yes

 Description   

For the longest time, I've been attempting to run some functions on a spigot server using essentials. It took me a while to realize that the commands, /tp and /kill are edited by essentials to not work the same as vanilla. I tried to use the Minecraft:tp and Minecraft:kill commands in the functions but they won't work. (I'm assuming that's because functions only know how to handle vanilla commands and don't allow spigot ones) I've tried using all combinations of making the command revert to the vanilla version in the spigot.yml and the commands.yml as well as forcing essentials to not handle the /tp and /kill commands but nothing works. Thanks in advance.



 Comments   
Comment by E Ros [ 13/Aug/18 ]

Ok, thanks for the help.

Comment by YourCoal [ 12/Aug/18 ]

The plugin.yml is located inside the .jar file that is run. If the command information is removed there, then the command should not register when EssentialsX is enabled.

Also if you are talking about functions as if they are stored within the world data folder, they will only run minecraft commands. /give and /tp should work as they only look for vanilla minecraft commands and do not work on custom commands from plugins (or how they have worked in the past).

Comment by E Ros [ 12/Aug/18 ]

Do you mean the config.yml? I can't find a plugin.yml anywhere and I've already tried removing the commands from the config.yml of EssentialsX. I've also added the commands to the "command overrides" section of the commands.yml file but that didn't seem to do anything.

Comment by md_5 [ 12/Aug/18 ]

You can of course just remove the commands from the EssentialsX plugin.yml, that is guaranteed to work

Comment by md_5 [ 12/Aug/18 ]

You can try playing with the command block overrides in commands.yml - I think this will force the Vanilla commands to take priority, but otherwise I can't really help as far as whether this is a bug or not. 1.13 is the current version and functions work using only Vanilla commands there.

Generated at Fri Mar 14 17:31:33 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.