in

MCPE/Bedrock Patchy Anticheat Beta v.0.0 [0]


Player Notification

Pin

Documentation

Reason

This is for the AntiCheat. It has somewhat complex customization so Documentation seems very important.

Commands

Basic tutorial for how to run a function on specific people

/execute ~ ~ ~ /function

You can replace ”” with a selector such as @a or @p[rm=0.1] or a Gamertag like mrpatches123 and replace “” with a function path which can be found below. You do not need /execute ~ ~ ~ if it is being run on your self like all Options.

Important Notes

If speed flags are on and you use teleports you must give players one of the following tags, so players don’t get flagged due to being teleported: “PTp” which must be removed, “LTpE” which is removed after 1.5s, or “TpE” which is removed after 4s. If you have two unrestricted gamemodes, you must give the tag: “GMother”, so players are put in the highest number gamemode if flagged. The “spawn” tag removes the player’s ability to PvP by any means other than blocks placed like fire, magma, etc.

Setups

Nothing needs to run for the AntiCheat to work. It works on its own.

/function Setups/Staff/l1

Gives you the Staff tag

/function Setups/Staff/l2

Gives you the Staff tag and Notifications

/function Setups/objectives

Setups objectives and is unnecessary

/function Setups/update

Updates the AntiCheat and is unnecessary

 

Values

What makes the AntiCheat run.

/function Options/Values/default

Sets all values for objectives that do not involve turning things off or on to default

/function Options/Values/modules_default

Sets all values for objectives that do involve turning things off or on to default

 

 

Options

What makes the AntiCheat run the way you want it to.

/function Options/AntiCheat/off

/function Options/AntiCheat/on

Turns the AntiCheat on or off

/function Options/Notifications/all_off

/function Options/Notifications/all_on

Turns all Notifications on or off but keeps everyone Notification value

/function Options/Notifications/off

/function Options/Notifications/on

Turns Notifications on or off for whoever it is run on.

Modules

What makes the AntiCheat run.

/function Options/Modules/AFK/off

/function Options/Modules/AFK/on

Turns the AFK module off or on.

/function Options/Modules/Fly/off

/function Options/Modules/Fly/on

Turns the Fly module off or on.

/function Options/Modules/Gamemode/off

/function Options/Modules/Gamemode/on

Turns the Gamemode module off or on.

/function Options/Modules/Give/off

/function Options/Modules/Give/on

Turns the Gamemode module off or on.

/function Options/Modules/Speed/off

/function Options/Modules/Speed/on

Turns the Speed module off or on.

/function Options/Modules/StaffSlot/off

/function Options/Modules/StaffSlot/on

Turns the StaffSlot module off or on.

Module Objectives

What allows you to customize the AntiCheat but all Modules can be changed in Options and Modules.

scoreboard players set AntiCheat AntiCheat #

scoreboard players set ALLNotifications ALLNotifications #

scoreboard players set SpeedModule SpeedModule #

scoreboard players set GamemodeModule GamemodeModule #

scoreboard players set GiveModule GiveModule #

scoreboard players set FlyModule FlyModule #

scoreboard players set AFKModule AFKModule #

scoreboard players set StaffSlotModule StaffSlotModule #

 

 

Value Objectives

What allows you to customize the AntiCheat. You can change “#” to any number above zero and to disable it just set it to like 2147483646.

 

scoreboard players set GiveFlagsKickS GiveFlagsKickS #

Sets the number of Give Flags to Kick.

scoreboard players set RestrictGMSurS RestrictGMSurS #

Restricts Gamemode Survival if 1 and allows if 0. 

scoreboard players set RestrictGMCreS RestrictGMCreS #

Restricts Gamemode Creative if 1 and allows if 0.

scoreboard players set RestrictGMAdvS RestrictGMAdvS #

Restricts Gamemode Adventure if 1 and allows if 0.

scoreboard players set GMFlagsKickS GMFlagsKickS #

Sets the number of Gamemode Flags to Kick.

scoreboard players set SpeedCapS SpeedCapS #

Sets the Speed Maximum to Speed Flag. if set to 52 or greater it will not flag.

scoreboard players set SpeedFlagsKickS SpeedFlagsKickS #

Sets the number of Speed Flags to Kick.

scoreboard players set FlyTimerCapS FlyTimerCapS #

Sets the amount of Fly Time limit to flag.

scoreboard players set FlyFlagsKickS FlyFlagsKickS #

Sets the number of Fly Flags Flags to Kick.

scoreboard players set HasAirRange HasAirRange # 

Sets the range of the Has AirFlags test, query.is_on_ground if 0, 1 air under your feet if 1, 3 m^3 centered on your feet if 2, and 5 m^3 centered on your feet if 3.

scoreboard players set KicksBanS KicksBanS #

Sets the number of Kicks to Ban.

scoreboard players set AFKTKickS AFKTKickS #

Sets the amount of AFK Time to Kick.

scoreboard players set MemberLimitS MemberLimitS #

Sets the Member Limit.

scoreboard players set StaffLimitS StaffLimitS #

Sets the Staff Limit.

 

 

Tags

So you can correctly use the included Tools.

/tag add|remove sTAFF

Promotes the player to Staff.

/tag add|remove Vanish

Makes the player not be seen even with armor or an item in hand.

/tag add|remove Fly

Make the player able to fly even in Adventure or Survival Mode.

/tag add EChestClear|EnderChestClear

Clears the player’s ender chest.

/tag add FlagsReset

Resets the player’s Flags.

/tag add KicksReset

Resets the player’s Kicks.

/tag add Ban

Bans the player.

/tag add UnBan

Unbans the player. To Unban someone but the above command in a repeating command block on 0 ticks until they join.

/tag add TpE

Exempts the player from speed flags until the tag is removed after 1.5s with 20 Tps

/tag add LTpE

Exempts the player from speed flags until the tag is removed after 4s with 20 Tps

/tag add|remove PTpE

Exempts the player from speed flags until the tag is removed.

/tag add|remove GMOther

Change the gamemode that players should default to if they gamemode flag when two gamemodes are unrestricted. With that tag, they are put in the highest number gamemode that is unrestricted and the lowest if they do not. 0 is Survival, 1 is Creative, and 2 is Adventure. If only one or all three gamemodes is unrestricted then you do not need to set up “GMOther” to be given.

/tag add|remove spawn

Revokes the player’s ability to PvP by any means other than blocks placed like fire, magma, etc.

/tag add|remove team1|team2|team3|team4|team5

Revokes the player’s ability to PvP by any means other than blocks placed like fire, magma, etc to any player who has equal tags of any above. Basically is it a friendly fire off system for up to five teams.

/tag add Info

Gives information on the player.

 

Info

Pin

Fly Flag

Pin

Flag From Fly

Pin

 





Source link

What’s your Reaction?
+1
0
+1
0
+1
0
+1
0
+1
0
+1
0
+1
0
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Pin

MCPE/Bedrock The CURSED BIOME Addon Version 2 (Texture Update)

Pin

MCPE/Bedrock The Nether Portal Guardian Addon