ForgeEssentials

ForgeEssentials

339k Downloads

Disable Home Command

Liqueseous opened this issue ยท 8 comments

commented

Is there a way to disable a certain command. I want to disable just the home command because I already have another mod I want to use that allows the setting of multiple homes and I want to use that. Specifically FTB Utilities

commented

We already have getDefaultAliases - it's used for the kill command.

commented

Fixed in 07206c8

commented

The only way to disable homes in forge essentials is to disable the entire teleportation module in the ForgeEssentials/main.cfg file.

However, You can have multiple homes in forge essentials, (12 with default perms). Use /home for your main home, /bed for your bed home, and /pwarp for an additional home you want.

Let me know if this works for you. Sorry for the late response @Liqueseous.

commented

He wants to use the FTB Lib /home which conflicts with our /home

commented

You can just remove permission to use the command - that's what permissions are for.

commented

Ok that is a problem....
I think that's a case where we should apply command aliases.

This should be changed to fehome and instead we need a getDefaultAliases function in there to provide a default alias as home which can then be disabled if there are conflicts.

commented

Sounds like a plan. I will take a look at fixing several of these issues over the weekend.

commented

Can i just rename the ccommand in the config?
do "plot" to "feplot"
Then i could use the modul fully.
Here is the error:

Server thread/ERROR [forgeessentials]: Command gamemode registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command worldborder registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command alias butcher of command febutcher registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command alias kill of command fekill registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command alias weather of command feweather registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command help registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command alias ? of command help registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command tp registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command alias reload of command fereload registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command plot registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command alias remove of command feremove registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command alias biomeinfo of command febiome registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command alias locate of command felocate registered twice
18.06 16:05:42 [Server] Server thread/ERROR [forgeessentials]: Command alias enchant of command feenchant

weird that command with the FE is dublicated too :S