Advertisement
Guest User

Language Reference Guide

a guest
Mar 21st, 2016
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. As of 2.1.8, I have introduced a well organised language feature that lets me keep track of messages better and gives more customisation to the messages sent to players. Some key rules you need to keep in mind when following this reference are:
  2. {0} will ALWAYS be the players name (or console)
  3. The format for each is “message, {0}, {1}, {2}, {3}, {4}
  4. Not all of the messages in the lang.yml use every placeholder, that is why i made this guide
  5. I may have missed a few when writing it up (i am only 1 person)
  6. a description of each argument can be found at the top of the reference guide
  7.  
  8.  
  9. Legend:
  10. name: the name of the player that executed the command
  11. amount: the amount of TNT relative to that message
  12. amount(secondary): the amount of TNT the player has in their inventory
  13. needed: the amount of TNT needed to execute that command
  14. radius: the radius involved in that command
  15. dispensers: the amount of dispensers involved in that command
  16. command: the full command typed including arguments
  17. commandRaw: the command typed excluding arguments
  18. incorrectArg: the argument that is incorrect in text format
  19. incorrectArgNumber: the argument number or place that is incorrect
  20. space: the amount of space left in a players inventory
  21. maxRadius: the maximum radius relating to that message
  22. radiusUsed: the radius that the player had typed
  23. x, y, z: coord’s of the block related to that message
  24. material: the raw formatted material name of the block related to that message
  25. number: the incorrect number that was typed in the command
  26. args: the amount of args used in the command
  27. requiredArgs: the amount of args required to use that command
  28.  
  29. "addedToSelecting", name
  30. "clearedNoSpace", name, amount
  31. "countDispenserTNT", name
  32. "countDspensers", name, radius, dispensers
  33. "countTNT", name, amount
  34. "dispenserCleared", name, amount
  35. "dispenserFilled", name, amount
  36. "dispensersCleared", name, radius, dispensers
  37. "dispensersClearedFaction", name, radius, dispensers
  38. "dispensersFilledFaction", name, radius, dispensers
  39. "dispensersPartCleared", name, radius, dispensers
  40. "errorClearing", name, radius, dispensers
  41. "errorFilling", name, radius, dispensers
  42. "failedFaction", name, amount
  43. "limitedSpace", name, radius, dispensers, space
  44. "maxRadius", name, maxRadius, radiusUsed
  45. "noDispensers", name, radius
  46. "noDispensersToClear", name
  47. "noPermission", name, command
  48. "noSpace", name, amount
  49. "noSpace", name, radius, dispensers
  50. "notDispenser", name, x, y, z, material
  51. "notEnoughTNT", name, radius, dispensers, amount, needed
  52. "nothingToClear", name
  53. "nothingToUndo", name
  54. "noTNT", name, amount
  55. "noTNT", name, radius, dispensers
  56. "notNumber", name, number
  57. "notPlayer", name
  58. "notSelecting", name
  59. "onePerDispenser", name, radius, dispensers
  60. "partCleared", name, amount
  61. "reloaded", name
  62. "selectingDone", name
  63. "selectionListItem", name
  64. "selectionListNoDispensers", name
  65. "selectionListSuffix", name, amount
  66. "selectionListTitle", name, amount
  67. "selectionsCleared", name, amount
  68. "selectionUndone", name, x, y, z
  69. "tooFewArguments", name, commandRaw, args, requiredArgs
  70. "tooManyArguments", name, commandRaw, args, requiredArgs
  71. "unknownError", name, amount
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement