Make console permission level 3

This commit is contained in:
7cc5c4f330d47060 2024-07-22 14:42:18 -04:00
parent c36d0b2914
commit 3a99c7ce36
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ const textformat=require("../../util/textformat.js")
const index=require("../../index.js") //Not used in the code, but may be used by users of the command
module.exports={
execute: (c)=>{
if(c.type!="console"){
if(c.verify<3){
c.reply(textformat("Eval command is currently not available to players in Minecraft due to security issues."))
};
try{

View file

@ -27,7 +27,7 @@ class ConsoleCommand{
this.type = 'console';
this.index = index2;
this.args = cmd.split(' ').slice(1);
this.verify = true;
this.verify = 3;
this.host = "";
this.port = "3"; // :3
}