For everyone wondering why you’re commands are not working or acting weirdly, I wish to help!
This gives a more in depth explanation of Sponge Docs global.conf.
You may have noticed that certain plugins have similar or the same commands. This can cause sponge to not properly register which plugins should fire code when a conflicting command is typed!
This can make commands not work even if the permissions are set for the group you’re assigned to.
Do not worry! There is an easy fix! It is built right into Sponge!
Find your config/sponge file pathway. This will usually look something like this:
C:\user\ThornsOfire\Desktop\MyServer\config\sponge
Open the global.conf file with something like NotePad++.
Now find this in the file:
}
commands {
aliases {}
}
This is the culprit!
What this does is tell sponge which plugins should be used for what commands! It allows you to choose which commands take priority when a player uses said command.
To specify which plugins you want you just have add in a couple lines mixed with formatting.
For example, say you want to use EssentialCmds version of /warp or /home instead of Project Portals. You would change the code to look like this:
}
commands {
aliases {
back=EssentialCmds
home=EssentialCmds
portal=PJP
vanish=vanish
warp=EssentialCmds
spawn=Minecraft
}
}
Notice that there are no /'s! They are not necessary. Also you only need to type the base command, you do not need to type “home create” or “home delete” separately.
If you’re wondering how to find the plugin id, look at you’re server start log. When the plugin starts you will see something like this:
[21:54:17] [Server thread/INFO] [PJP]: Project Portals has started!
[21:54:17] [Server thread/INFO] [EssentialCmds]: EssentialCmds has started!
^
The plugin id is this section here ^
Update: Total forgot that there is the clickable text interface! Type “/sponge plugins” then click on the plugin name in chat! This will show your versions and plugin ID
Now you may have noticed that the global.conf is available through every dimension and world running on you’re server! This allows you to have one set of commands such as /home from EssentialCmds running on a specific world, while at the same time, Project Portals /home runs on a separate world. This could allow world specific homes to a degree! This has many implications so I will just leave it up to both your imagination and ingenuity.
I hope this topic has helped you
Long Live Minecraft! <3