![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include "Globals.h"
#include "ClientHandle.h"
#include "Server.h"
#include "World.h"
#include "Chunk.h"
#include "Entities/Pickup.h"
#include "Bindings/PluginManager.h"
#include "Entities/Player.h"
#include "Entities/Minecart.h"
#include "Inventory.h"
#include "BlockEntities/BeaconEntity.h"
#include "BlockEntities/ChestEntity.h"
#include "BlockEntities/CommandBlockEntity.h"
#include "BlockEntities/SignEntity.h"
#include "UI/Window.h"
#include "UI/AnvilWindow.h"
#include "UI/BeaconWindow.h"
#include "UI/EnchantingWindow.h"
#include "Item.h"
#include "Mobs/Monster.h"
#include "ChatColor.h"
#include "Items/ItemHandler.h"
#include "Blocks/BlockHandler.h"
#include "Blocks/BlockBed.h"
#include "Blocks/ChunkInterface.h"
#include "BlockInServerPluginInterface.h"
#include "Root.h"
#include "Protocol/Authenticator.h"
#include "Protocol/ProtocolRecognizer.h"
#include "CompositeChat.h"
#include "Items/ItemSword.h"
#include "mbedtls/md5.h"
Go to the source code of this file.
Macros | |
#define | MAX_BLOCK_CHANGE_INTERACTIONS 20 |
Maximum number of block change interactions a player can perform per tick - exceeding this causes a kick. More... | |
#define | MAX_EXPLOSIONS_PER_TICK 20 |
Maximum number of explosions to send this tick, server will start dropping if exceeded. More... | |
Variables | |
static const std::chrono::milliseconds | PING_TIME_MS = std::chrono::milliseconds(1000) |
The interval for sending pings to clients. More... | |
#define MAX_BLOCK_CHANGE_INTERACTIONS 20 |
Maximum number of block change interactions a player can perform per tick - exceeding this causes a kick.
Definition at line 44 of file ClientHandle.cpp.
#define MAX_EXPLOSIONS_PER_TICK 20 |
Maximum number of explosions to send this tick, server will start dropping if exceeded.
Definition at line 41 of file ClientHandle.cpp.
|
static |
The interval for sending pings to clients.
Vanilla sends one ping every 1 second.
Definition at line 48 of file ClientHandle.cpp.