mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
33 lines
No EOL
745 B
PHP
33 lines
No EOL
745 B
PHP
<?php
|
|
|
|
define("PMF_LEVEL_DEFLATE_LEVEL", 6);
|
|
|
|
//Gamemodes
|
|
define("SURVIVAL", 0);
|
|
define("CREATIVE", 1);
|
|
define("ADVENTURE", 2);
|
|
define("VIEW", 3);
|
|
define("VIEWER", 3);
|
|
define("SPECTATOR", 3);
|
|
|
|
//Block Sides
|
|
define("SIDE_DOWN", 0);
|
|
define("SIDE_UP", 1);
|
|
define("SIDE_ZNEG", 2);
|
|
define("SIDE_ZPOS", 3);
|
|
define("SIDE_XNEG", 4);
|
|
define("SIDE_XPOS", 5);
|
|
|
|
//Players
|
|
define("MAX_CHUNK_RATE", 20 / arg("max-chunks-per-second", 4)); //Default rate ~256 kB/s
|
|
define("PLAYER_MAX_QUEUE", 1024);
|
|
|
|
define("PLAYER_SURVIVAL_SLOTS", 36);
|
|
define("PLAYER_CREATIVE_SLOTS", 112);
|
|
|
|
//Block Updates
|
|
define("BLOCK_UPDATE_NORMAL", 1);
|
|
define("BLOCK_UPDATE_RANDOM", 2);
|
|
define("BLOCK_UPDATE_SCHEDULED", 3);
|
|
define("BLOCK_UPDATE_WEAK", 4);
|
|
define("BLOCK_UPDATE_TOUCH", 5); |