summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-16 18:44:23 +0100
committermadmaxoft <github@xoft.cz>2014-03-16 21:37:33 +0100
commitef50e73a9c3053b8787ded3d26b3a5d3b6c92edc (patch)
treef2214d58860baecc01aebf71b7cb666ee4763a70 /src
parentMerge pull request #814 from Howaner/Cake (diff)
downloadcuberite-ef50e73a9c3053b8787ded3d26b3a5d3b6c92edc.tar
cuberite-ef50e73a9c3053b8787ded3d26b3a5d3b6c92edc.tar.gz
cuberite-ef50e73a9c3053b8787ded3d26b3a5d3b6c92edc.tar.bz2
cuberite-ef50e73a9c3053b8787ded3d26b3a5d3b6c92edc.tar.lz
cuberite-ef50e73a9c3053b8787ded3d26b3a5d3b6c92edc.tar.xz
cuberite-ef50e73a9c3053b8787ded3d26b3a5d3b6c92edc.tar.zst
cuberite-ef50e73a9c3053b8787ded3d26b3a5d3b6c92edc.zip
Diffstat (limited to '')
-rw-r--r--src/Defines.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/Defines.h b/src/Defines.h
index 3b7654265..38411c69d 100644
--- a/src/Defines.h
+++ b/src/Defines.h
@@ -530,16 +530,22 @@ enum eMessageType
// http://forum.mc-server.org/showthread.php?tid=1212
// MessageType...
- mtCustom, // Send raw data without any processing
- mtFailure, // Something could not be done (i.e. command not executed due to insufficient privilege)
- mtInformation, // Informational message (i.e. command usage)
- mtSuccess, // Something executed successfully
- mtWarning, // Something concerning (i.e. reload) is about to happen
- mtFatal, // Something catastrophic occured (i.e. plugin crash)
- mtDeath, // Denotes death of player
- mtPrivateMessage, // Player to player messaging identifier
- mtJoin, // A player has joined the server
- mtLeave, // A player has left the server
+ mtCustom, // Send raw data without any processing
+ mtFailure, // Something could not be done (i.e. command not executed due to insufficient privilege)
+ mtInformation, // Informational message (i.e. command usage)
+ mtSuccess, // Something executed successfully
+ mtWarning, // Something concerning (i.e. reload) is about to happen
+ mtFatal, // Something catastrophic occured (i.e. plugin crash)
+ mtDeath, // Denotes death of player
+ mtPrivateMessage, // Player to player messaging identifier
+ mtJoin, // A player has joined the server
+ mtLeave, // A player has left the server
+
+ // Common aliases:
+ mtFail = mtFailure,
+ mtError = mtFailure,
+ mtInfo = mtInformation,
+ mtPM = mtPrivateMessage,
};