Guest User

Untitled

a guest
Dec 15th, 2025
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.11 KB | None | 0 0
  1. # =========================================================
  2. # PlayerReport - config.yml
  3. # =========================================================
  4. # This file controls all behavior for the PlayerReportV2 plugin:
  5. # - Report creation & limits
  6. # - Staff notifications
  7. # - GUI behavior
  8. # - Storage (YAML / MySQL)
  9. # - Discord webhook integration
  10. # - Web panel (admin report viewer)
  11. # =========================================================
  12.  
  13. settings:
  14. # -------------------------------------------------------
  15. # GENERAL SETTINGS
  16. # -------------------------------------------------------
  17.  
  18. # Notify online staff when a report is created
  19. Inform-Operators: true
  20.  
  21. # Maximum number of ACTIVE (non-completed) reports a player may have
  22. Max-Reports-Per-Player: 3
  23.  
  24. # If true, players may only report users who are currently online
  25. Require-Reported-Player-To-Be-Online: true
  26.  
  27. # Save the reporter's XYZ location with the report (useful for investigations)
  28. Save-Reporters-Location: false
  29.  
  30. # Format used in help / usage messages
  31. Command-Format: ' &7ยป &e%command% &7ยป &f%usage%'
  32.  
  33. # Automatically prepend header and append footer from messages.yml
  34. Use-Header-&-Footer: true
  35.  
  36. # -------------------------------------------------------
  37. # REPORT CREATION SETTINGS
  38. # -------------------------------------------------------
  39.  
  40. # If true, players must attach a valid image proof link before submitting
  41. Require-Image-Proof-Link-Before-Report-Creation: false
  42.  
  43. # Send the reporter a confirmation message after submission
  44. Send-Report-Confirmation: true
  45.  
  46. # Run console commands automatically when a report is submitted
  47. Perform-Commands-On-Report: false
  48.  
  49. # Commands executed if Perform-Commands-On-Report is enabled
  50. # Placeholders:
  51. # %reporter% - player who submitted the report
  52. # %reported% - player being reported
  53. # %reason% - reason provided
  54. Commands-Upon-Reports:
  55. - 'staffchat %reporter% reported %reported% for %reason%'
  56.  
  57. # -------------------------------------------------------
  58. # REPORT DENIAL SETTINGS
  59. # -------------------------------------------------------
  60.  
  61. # Notify the reporter if their report is denied/removed
  62. # (Only sent if the reporter is online)
  63. Tell-Reporter-Their-Report-Was-Denied: true
  64.  
  65. # -------------------------------------------------------
  66. # GUI OPEN SOUNDS
  67. # -------------------------------------------------------
  68.  
  69. Open-Reports-GUI-Sound:
  70. Enabled: false
  71. Sound: BLOCK_CHEST_OPEN
  72.  
  73. Open-Claim-GUI-Sound:
  74. Enabled: false
  75. Sound: BLOCK_CHEST_OPEN
  76.  
  77. # -------------------------------------------------------
  78. # TIMERS (SECONDS)
  79. # -------------------------------------------------------
  80.  
  81. # Delay before reports are automatically cleared (if used)
  82. Clear-Reports-Timer: 3
  83.  
  84. # Cooldown between report submissions per player
  85. Submit-Report-Timer: 60
  86.  
  87. # -------------------------------------------------------
  88. # REPORT INTERACTION SETTINGS
  89. # -------------------------------------------------------
  90.  
  91. # Require confirmation before deleting reports
  92. Reports-Must-Be-Confirmed-To-Delete: false
  93.  
  94. # Mouse click mappings inside the reports GUI
  95. Remove-Reports:
  96. Click-Type: RIGHT
  97.  
  98. Change-Status:
  99. Click-Type: MIDDLE
  100.  
  101. Open-Proof-Link:
  102. Click-Type: DROP
  103.  
  104. # Supported click types:
  105. # RIGHT, LEFT, SHIFT_LEFT, SHIFT_RIGHT, MIDDLE, DROP,
  106. # DOUBLE_CLICK, NUMBER_KEY
  107.  
  108. # -------------------------------------------------------
  109. # REPORT STATUSES
  110. # -------------------------------------------------------
  111.  
  112. # Status cycle:
  113. # New โ†’ WIP โ†’ Complete
  114. Statuses:
  115. New: '&fNew'
  116. WIP: '&eBeing investigated'
  117. Complete: '&aComplete'
  118.  
  119. # -------------------------------------------------------
  120. # REWARDS ON REPORT COMPLETION
  121. # -------------------------------------------------------
  122.  
  123. Give-Reporter-Rewards-On-Report-Complete:
  124. Enabled: true
  125.  
  126. # Commands executed if the reporter is ONLINE
  127. Reporter-Is-Online:
  128. - 'give %reporter% paper 1 name:&fHey,_thanks! lore:&fYour_report_helped_keep_the_server_safe!'
  129. - 'give %reporter% diamond_block 1 name:&bThank_You!'
  130.  
  131. # Commands executed if the reporter is OFFLINE
  132. # (Use /reports setupclaimgui to handle item claims)
  133. Reporter-Is-Offline:
  134. - 'mail send %reporter% Your report was completed! Claim your reward with /reports claim'
  135.  
  136. # -------------------------------------------------------
  137. # IMAGE PROOF WHITELIST
  138. # -------------------------------------------------------
  139.  
  140. # Only links containing these domains are allowed as proof
  141. Image-Proof-URL-Whitelist:
  142. - 'imgur.com'
  143. - 'i.imgur.com'
  144. - 'prntscr.com'
  145. - 'gyazo.com'
  146. - 'i.gyazo.com'
  147. - 'i.ibb.co'
  148. - 'ibb.co'
  149. - 'pasteboard.co'
  150.  
  151. # -------------------------------------------------------
  152. # REPORT REASON MODES
  153. # -------------------------------------------------------
  154.  
  155. # OFF = no suggestions
  156. # SUGGEST = suggest reasons but allow custom
  157. # RESTRICT = only allow reasons from the list
  158. Report-Reasons:
  159. Mode: SUGGEST
  160. List:
  161. - Cheating
  162. - Griefing
  163. - Abuse
  164. - Inappropriate Language
  165.  
  166. # =========================================================
  167. # SOUND SETTINGS
  168. # =========================================================
  169.  
  170. sounds:
  171. Enabled: false
  172.  
  173. Report-Submitted: ENTITY_PLAYER_LEVELUP
  174. Player-Reported-Notification: BLOCK_ANVIL_FALL
  175.  
  176. # =========================================================
  177. # REPORTS GUI
  178. # =========================================================
  179.  
  180. GUI:
  181. Name: '&c๐Ÿ“‹ Reports'
  182. Size: 54
  183.  
  184. Default-Item:
  185. Player-Commands:
  186. - 'teleport %player%'
  187.  
  188. Material: PAPER
  189. Name: '&a๐Ÿ‘ค %reported%'
  190. Lore:
  191. - ''
  192. - ' &e๐Ÿ“Œ &fStatus: &7%status%'
  193. - ''
  194. - ' &e๐Ÿ“ &fSubmitted by: &b%reporter%'
  195. - ' &e๐Ÿšจ &fReported: &c%reported%'
  196. - ''
  197. - ' &e๐Ÿ’ฌ &fReason: &b%reason%'
  198. - ''
  199. - '&a๐Ÿ–ฑ &fLeft-Click: &7Teleport'
  200. - '&c๐Ÿ–ฑ &fRight-Click: &7Remove report'
  201. - '&e๐Ÿ–ฑ &fMiddle-Click: &7Change status'
  202. - '&bโฌ‡ &fDrop: &7View proof'
  203.  
  204. # =========================================================
  205. # CLAIM GUI
  206. # =========================================================
  207.  
  208. ClaimGUI:
  209. Name: '&bClaim GUI'
  210. Size: 27
  211.  
  212. Players-View:
  213. Name: '&fYour Report Rewards'
  214. Size: 27
  215.  
  216. # =========================================================
  217. # STORAGE SETTINGS (YAML / MYSQL)
  218. # =========================================================
  219.  
  220. database:
  221. # Storage type:
  222. # YAML = local file (plugins/PlayerReport/reports.yml)
  223. # MYSQL = shared database (multi-server support)
  224. Storage-Type: 'YAML'
  225.  
  226. MySQL:
  227. Host: 'localhost'
  228. Port: 3306
  229. Database: 'playerreport'
  230. Username: 'root'
  231. Password: 'password'
  232. Use-SSL: false
  233.  
  234. # Prefix for all database tables
  235. Table-Prefix: 'playerreport_'
  236.  
  237. # How often to sync from DB (ticks)
  238. # 0 or less = disabled
  239. Sync-Interval-Ticks: 600
  240.  
  241. # Storage key (allows multiple report sets in one DB)
  242. Storage-Key: 'reports'
  243.  
  244. # =========================================================
  245. # DISCORD INTEGRATION
  246. # =========================================================
  247.  
  248. discord:
  249. # Send Discord embeds when reports are created/updated
  250. enabled: true
  251.  
  252. # Discord webhook URL
  253. webhook-url: "https://discord.com/api/webhooks/PUT_YOURS_HERE"
  254.  
  255. embed:
  256. title: "๐Ÿ“ฃ New Player Report"
  257. color: 16755200
  258.  
  259. # =========================================================
  260. # WEB PANEL (ADMIN REPORT VIEWER)
  261. # =========================================================
  262.  
  263. web:
  264. # Enable the embedded web server
  265. enabled: true
  266.  
  267. # Bind address:
  268. # 127.0.0.1 = local only (recommended)
  269. # 0.0.0.0 = ALL interfaces (use firewall!)
  270. bind: "127.0.0.1"
  271.  
  272. # Port the web panel listens on
  273. port: 8792
  274.  
  275. # Web panel login users
  276. # Passwords MUST be BCrypt hashes
  277. users:
  278. admin:
  279. password-bcrypt: "PUT_BCRYPT_HASH_HERE"
  280.  
  281. # Login session duration
  282. sessions:
  283. token-ttl-minutes: 120
Advertisement
Add Comment
Please, Sign In to add comment