Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Admin.js #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions Admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ const ChatToConsole = true
const Debug = true
const Executor = false
const Time = 10
const Extensions = true
const Extensions = true
var TypeOfPrint = "bottomPrint"
if (!Admins){console.log("Welp you forgot to add administrators. Lol");}
if (Executor ===true){console.log("Executor is on development, im afraid you'll have to wait till we add more features.");}
// Messages Array && MaxEvenListeners
const MessageLog = [];
Game.setMaxListeners(50)
Expand Down Expand Up @@ -190,22 +192,27 @@ Game.command("hat2", isAdmin, (caller, args) => {
})

Game.command("hat3", isAdmin, (caller, args) => {

args = args.split(" ")
let P = getPlayer(args[0])
if (!P){console.log("Oopsie no player lmao"); caller.topPrint("No player was found",3);} else {
let outfit = new Outfit(P)
.hat3(args[1])
.set()


}


})


Game.command("fov", isAdmin, (caller, args) => {
args = args.split(" ")
let P = getPlayer(args[0])
if (!P){console.log("bruh wtf again"); caller.topPrint("No player was found");}else{
caller.topPrint(`Player ${P.username} Fov has been set to ${args[1]}`)
return P.setCameraFOV(args[1])
}

})

Expand Down Expand Up @@ -514,3 +521,7 @@ Game.on("playerJoin", (player) => {


console.log(`\x1b[31mThanks for using Edged Admin Commands!\n\x1b[37m//Current Version: ${Ver}//\n\x1b[46m\x1b[44mSettings:\x1b[44m\nAntiBotting: ${AntiBot}\nChat Logging: ${ChatLogs}\nChat to console: ${ChatToConsole}\nServerProfiler: ${Debug}\nAdministrators: ${Admins}\x1b[0m`)



// Thanks for checking down here but there's nothing.