forked from mirrors/kolyah35-minecraft-pe-0.6.1
FEAT: Ban command, save ops and banned ppl in files
TODO: fix many crashes...
This commit is contained in:
parent
dfb3bf1da7
commit
5bc19c4ab2
13 changed files with 187 additions and 29 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include "commands/CommandHelp.hpp"
|
||||
#include "commands/CommandKick.hpp"
|
||||
#include "commands/CommandOp.hpp"
|
||||
#include "commands/CommandBan.hpp"
|
||||
#include "network/packet/ChatPacket.h"
|
||||
#include "network/RakNetInstance.h"
|
||||
#include "world/level/Level.h"
|
||||
|
|
@ -19,6 +20,7 @@ void CommandManager::registerAllCommands() {
|
|||
m_commands.push_back(new CommandHelp());
|
||||
m_commands.push_back(new CommandKick());
|
||||
m_commands.push_back(new CommandOp());
|
||||
m_commands.push_back(new CommandBan());
|
||||
}
|
||||
|
||||
std::vector<std::string> CommandManager::getListAllCommands() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue