permissions.txt 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. //===== rAthena Documentation ================================
  2. //= Permissions List
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Last Updated: ========================================
  6. //= 20240414
  7. //===== Description: =========================================
  8. //= List of available permissions and their functions.
  9. //============================================================
  10. This file describes the functions of player group permissions,
  11. configured in '/conf/groups.conf' under the "permissions" bracket.
  12. The permission name used in '/conf/groups.conf' goes after the asterisk "*",
  13. while the constant name used in scripts and src goes between the parentheses "()"
  14. in the following format:
  15. *permission_name (PC_PERM_CONSTANT_NAME)
  16. To search for a permission, write "*" before its name.
  17. The format of this file is as follows:
  18. 1. Basic Permissions
  19. 2. Extended Permissions
  20. 3. Command-related
  21. ========================
  22. | 1. Basic Permissions |
  23. ========================
  24. ---------------------------------------
  25. *can_trade (PC_PERM_TRADE)
  26. Allows player to distribute items, such as through trades, dropping,
  27. vending, storage, mail, etc.
  28. ---------------------------------------
  29. *can_party (PC_PERM_PARTY)
  30. Allows player to create and join parties.
  31. ---------------------------------------
  32. *attendance (PC_PERM_ATTENDANCE)
  33. Allows player to use the daily attendance system.
  34. ---------------------------------------
  35. ===========================
  36. | 2. Extended Permissions |
  37. ===========================
  38. ---------------------------------------
  39. *all_skill (PC_PERM_ALL_SKILL)
  40. Grants player all available skills in the player's skill tree.
  41. ---------------------------------------
  42. *all_equipment (PC_PERM_USE_ALL_EQUIPMENT)
  43. Allows player to equip any item, regardless of requirements (class, level,
  44. etc.). Note that this can cause client errors if a sprite does not exist.
  45. ---------------------------------------
  46. *skill_unconditional (PC_PERM_SKILL_UNCONDITIONAL)
  47. Allows player to use any skill, regardless of required conditions (SP,
  48. items, etc.).
  49. ---------------------------------------
  50. *join_chat (PC_PERM_JOIN_ALL_CHAT)
  51. Allows player to join password-protected chatrooms.
  52. ---------------------------------------
  53. *kick_chat (PC_PERM_NO_CHAT_KICK)
  54. Prevents player from being kicked from a chatroom.
  55. ---------------------------------------
  56. *view_hpmeter (PC_PERM_VIEW_HPMETER)
  57. Allows player to see the HP bar of every player.
  58. ---------------------------------------
  59. *view_equipment (PC_PERM_VIEW_EQUIPMENT)
  60. Allows player to view the equipment of every player, regardless of that
  61. player's setting.
  62. ---------------------------------------
  63. *hack_info (PC_PERM_RECEIVE_HACK_INFO)
  64. Allows player to receive all information about players who try to hack,
  65. spoof a name, etc.
  66. ---------------------------------------
  67. *disable_pvm (PC_PERM_DISABLE_PVM)
  68. Prevents player from attacking monsters.
  69. ---------------------------------------
  70. *disable_pvp (PC_PERM_DISABLE_PVP)
  71. Prevents player from attacking other players.
  72. ---------------------------------------
  73. *can_trade_bounded (PC_PERM_TRADE_BOUNDED)
  74. Allows player to do normal item actions with bounded items (drop, sell,
  75. trade, etc.).
  76. ---------------------------------------
  77. *item_unconditional (PC_PERM_ITEM_UNCONDITIONAL)
  78. Allows player to consume any consumable item regardless the requirements
  79. (bypass noitemconsumption mapflag, item's class, gender, status changes,
  80. item delay, etc).
  81. ---------------------------------------
  82. *trade_unconditional (PC_PERM_TRADE_UNCONDITIONAL)
  83. Allows player to ignore the trade conditions of items (drop, trade, sell, cart, storage/gstorage, mail and auction).
  84. ---------------------------------------
  85. ======================
  86. | 3. Command-related |
  87. ======================
  88. ---------------------------------------
  89. *all_commands (PC_PERM_USE_ALL_COMMANDS)
  90. Allows usage of all atcommands and charcommands.
  91. ---------------------------------------
  92. *disable_commands_when_dead (PC_PERM_DISABLE_CMD_DEAD)
  93. Disables usage of atcommands when player is dead.
  94. ---------------------------------------
  95. *hide_session (PC_PERM_HIDE_SESSION)
  96. Hides player session from being displayed by atcommands (@who, @whomap,
  97. etc.).
  98. ---------------------------------------
  99. *who_display_aid (PC_PERM_WHO_DISPLAY_AID)
  100. Displays all GMs and character/account IDs in the @who command.
  101. ---------------------------------------
  102. *any_warp (PC_PERM_WARP_ANYWHERE)
  103. Allows player to bypass 'nowarp', 'nowarpto', 'noteleport', and 'nomemo'
  104. mapflags in commands which modify a character's map or coordinates (@memo,
  105. @mapmove, @go, @jump, etc.).
  106. ---------------------------------------
  107. *receive_requests (PC_PERM_RECEIVE_REQUESTS)
  108. Allows player to receive requests through the @requests command.
  109. ---------------------------------------
  110. *show_bossmobs (PC_PERM_SHOW_BOSS)
  111. Displays boss mobs in the @showmobs command.
  112. ---------------------------------------
  113. *channel_admin (PC_PERM_CHANNEL_ADMIN)
  114. Allows player to modify #channel settings regardless of ownership and to
  115. join password-protected channels without a password.
  116. ---------------------------------------
  117. *use_check (PC_PERM_USE_CHECK)
  118. Allows player to use the client command /check (displays character status).
  119. ---------------------------------------
  120. *use_changemaptype (PC_PERM_USE_CHANGEMAPTYPE)
  121. Allows player to use the client command /changemaptype.
  122. ---------------------------------------
  123. *command_enable (PC_PERM_ENABLE_COMMAND)
  124. Enable to use atcommand while talking with NPC.
  125. ---------------------------------------
  126. *bypass_stat_onclone (PC_PERM_BYPASS_STAT_ONCLONE)
  127. Bypass max parameter limit while using @clonestat
  128. ---------------------------------------
  129. *bypass_max_stat (PC_PERM_BYPASS_MAX_STAT)
  130. Allow to bypass the maximum stat parameter (at conf/player.conf) to
  131. maximum value 32,767.
  132. ---------------------------------------
  133. *macro_detect (PC_PERM_MACRO_DETECT)
  134. Allows player to use the client command /macro_detector.
  135. ---------------------------------------
  136. *macro_register (PC_PERM_MACRO_REGISTER)
  137. Allows player to use the client commands /macro_register (used to add new captcha) and /macro_preview (used to preview captcha by ID).
  138. ---------------------------------------