Jump to content
  • 0

Combat Tag HELP


DonityYTT

Question

Is there any way to make it so that players cant do /warp spawn while in combat? I'm currently using the PvpControl plugin, and I relly need help 😞 it says that you can disable certain commands in combat, heres this list:

Other:
  #All commands that will be executed in console when player log out during PVP. You can use %player% variable.
  #Commands should be written without a preceding slash "/"
  #Example: - eco set %player% 0
  CommandsExecutedWhenLogoutInPVP: []
  #If *BlockAllCommandsOnPVP* is set to TRUE then option below will be ignored.
  #If *BlockAllCommandsOnPVP* option is set to FALSE you can define below commands that will be blocked during PVP.
  #You don't need to care about case sensitive at all!
  #Example: - tpa MyImaginedPlayer123
  BlockOnlySelectedCommandsOnPVP:
    - tpa
    - tpayes
    - tpyes
    - tpaccept
    - tpadeny
    - tpdeny
    - tp
    - teleport

But when I try to add 

    -warp spawn

people can still get to /warp spawn in combat. HELPPP please? Also, if there are any other methods to disable /warp spawn in combat with other minehut plugins, tell me 🙂

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Make sure you did the indentation right and reload the plugin afterwards. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

  • 0

 

1 hour ago, DonityYTT said:

k, another question: do you think I'm entering it in correctly? is warp spawn the proper command

 

In the original post, you put "-warp spawn". Make sure you do "- warp spawn" because there needs to be a space between the - and the command. Other than that, it should work after you reload the plugin. 

Edited by _Tarna_

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

  • 0
1 minute ago, DonityYTT said:

THANK you so MUCH!

 

It wasn't working at all, but now it will!

 

How did you catch that?

Its just when editing yml files, you need to format it correctly. And you need to put a space between the - and the quotes. You can also just put it in a yml parser and it should tell you whats wrong with it too.

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...