So I'm probably just overthinking this but I have these 2 commands that defend my base and 8m trying to set it up so with the unless conditioned command the command itself won't work on those who meet the specified conditions obviously the first one targets me by my minecraft gamertag but the second condition is that I need the ADMIN:base:OWNER tag so if I enter the vicinity of my base I'll automatically meet the first condition but without the nessisary tag even I would be put into adventure mode. The second one I'm just making sure it works correctly for ultimate security I set it up so players that enter the main base get instantly killed but I intend on making an invitation system I just need to make sure with the /kill command they are all separate exemptions not combined conditions
#i need help fixing some commands
1 messages · Page 1 of 1 (latest)
For the first command, try /execute as @a at @s[ omit condition ] run kill @s
Try the second command /execute as @a at @s[ omit condition ] unless entity @s[ omit condition ] run gamemode adventure @s
Wtf is omit condition supposed to mean
I just need confirmation that this command works as i understand it. From what I understand this command targets and kills anything that enters the main base other than myself and anyone with the tags ADMIN:base:OWNER or admin:base:visitor is that right
This is what I need specific conditions for
Those conditions being you must have the gamertag Modmaker pro and the tag ADMIN:base:OWNER this way only my player could meet the first condition. Anyway other than that I need the unless condition to only trigger if I have the tag ADMIN:base:OWNER because for me the first condition is automatically met since I'm the only one with the gamertag Modmaker pro
i need help fixing some commands
The first one specifies a range with x, dx, etc., but I think it has to move to "/execute as @a at @s[x=-196,y=59,z=258,dx=35,dy=13,dz=32,name=!"Modmaker pro",tag=!ADMIN:base:OWNER,tag=!admin:base:visitor] run kill @s " because I think it has to move to "at" first.
This command will kill anyone within a certain range of people who are not named "Modmaker pro" or not tagged "ADMIN:base:OWNER", "admin:base:visitor".
The second command also doesn't come before the at, so I don't think you can refine by coordinates. And you can do the same with the first command without using unlees, so I think that would be easier.
/execute as @a at @s[x=217,y=72,z=241,dx=64,dy=150,dz=64,name=!"Modmaker pro",tag=ADMIN:base:OWNER] run gamemode adventure @s
Do I need to get rid of the unless part because I like it using the unless condition because it's different from the rest but if it won't work I guess I don't have a choice
You can do it the same way as the first command, so I found it easier to understand for me, but well, if you want to use unlees, you can use it at all.
/execute as @a at @s[x=217,y=72,z=241,dx=64,dy=150,dz=64] unlees entity @s[name="Modmaker pro",tag=ADMIN:base:OWNER] run gamemode adventure @s