Skip to content

ReallyFatYoshi/MCBE-TPA-Addon

Repository files navigation


Logo

MCBE TPA Add-on

View Demo · Report Bug · Request Feature

Contributors Forks Stargazers Issues MIT License GitHub All Releases Github Current Release

NOTE: This add-on only supports Minecraft Bedrock Versions 1.18.10-1.18.32, 1.19+

Commands:

  • !tpahelp | Used to get all available commands or infomation about a specific command.
  • !tpasend | Sends tpa request to the specified player you want to teleport to.
  • !tpaaccept | Used to accept an incoming tpa request.
  • !tpadecline | Used to decline incoming tpa requests.
  • !tpaadmin | This command allows an admin to tp everyone to his location, teleport someone to his location or tp to a players location, without op permissions.
  • !tpaconfig | This command can be used by admins, to change tpa configurations. Like: commandPrefix, Expiration Time and tpaAcceptUI.

Required Experimental Features:

settings

Config:

  • The config can be found in scripts/config.js inside of the add-on. Config File Contents:
            /* 
                !WARNING!
    
                    All changes in this config file count globally as default settings to all your worlds that have this add-on enabled. 
                    All changes done from the config command in game count only to that specific world.
                
                !WARNING!
            */
    
            const config = {
                commandPrefix:"!", //Command Prefix.
                expiresIn:60, //In Seconds. 
                tpaAcceptUI:true, //Tpa accept UI.
                admins:[], //All the player names in this array will have access to administrator commands.
                exceptions:{
                    enabled:false, //Exceptions are used to disable tpa commands on certain players for certain situations. 
                    hasTags:[], //Players who have the tags inside of this array, cannot use tpa commands, untill the tag has been removed from them.
                    names:[], //Players who have their name is written in this array, cannot use tpa commands.
                }
            };
    
            export default config;
    
            /**
            * @author Knight
            * @description This Add-on was created by Knight
            * @copyright 2021-2022 Knight
            * @discordUsername Knight#8191
            * @discordServer https://discord.gg/38f4A5MD86
            */