mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-13 18:34:54 -05:00
gamemodeall change yes
This commit is contained in:
parent
384d69a99f
commit
3f2ea25b67
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
module.exports = {
|
||||
name: 'gamemodeall',
|
||||
alias: [],
|
||||
description: 'Gamemode everyone',
|
||||
description: 'Gamemodes everyone (kinda useless now, used to be useful)',
|
||||
usage: '<hash> <gamemode>',
|
||||
trusted: 1,
|
||||
execute (bot, username, sender, prefix, args, config, hash, ownerhash, selector) {
|
||||
bot.core.run(`minecraft:execute unless entity @s[name= run ] run gamemode ${args[1]} @a[name=!${bot.username}]`)
|
||||
bot.core.run(`minecraft:gamemode ${args.join(' ')} @a`)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue