Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
Loading...
Searching...
No Matches
commandsreg.hpp File Reference

The file containing most commands registering. More...

#include <cmd/commands.h>
#include <utils/config.h>
#include <plugins/plugins.h>
#include <server.h>

Go to the source code of this file.

Functions

void helpMessage (const ISender::SenderType senderType, ISender &sender, const std::vector< std::string > &args)
 Handler for help message.
 
void pluginsMessage (const ISender::SenderType senderType, ISender &sender, const std::vector< std::string > &args)
 Handler for plugins message.
 
void registerCommands ()
 Register commands for the console and general usage.
 

Detailed Description

The file containing most commands registering.

Author
Lygaen
Version
0.1
Date
2024-02-10

Function Documentation

◆ helpMessage()

void helpMessage ( const ISender::SenderType senderType,
ISender & sender,
const std::vector< std::string > & args )

Handler for help message.

Parameters
senderTypesender type
senderthe actual sender
argsall of the args

◆ pluginsMessage()

void pluginsMessage ( const ISender::SenderType senderType,
ISender & sender,
const std::vector< std::string > & args )

Handler for plugins message.

Parameters
senderTypesender type
senderthe actual sender
argsall of the args