Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # =========================================================
- # PlayerReport - config.yml
- # =========================================================
- # This file controls all behavior for the PlayerReportV2 plugin:
- # - Report creation & limits
- # - Staff notifications
- # - GUI behavior
- # - Storage (YAML / MySQL)
- # - Discord webhook integration
- # - Web panel (admin report viewer)
- # =========================================================
- settings:
- # -------------------------------------------------------
- # GENERAL SETTINGS
- # -------------------------------------------------------
- # Notify online staff when a report is created
- Inform-Operators: true
- # Maximum number of ACTIVE (non-completed) reports a player may have
- Max-Reports-Per-Player: 3
- # If true, players may only report users who are currently online
- Require-Reported-Player-To-Be-Online: true
- # Save the reporter's XYZ location with the report (useful for investigations)
- Save-Reporters-Location: false
- # Format used in help / usage messages
- Command-Format: ' &7ยป &e%command% &7ยป &f%usage%'
- # Automatically prepend header and append footer from messages.yml
- Use-Header-&-Footer: true
- # -------------------------------------------------------
- # REPORT CREATION SETTINGS
- # -------------------------------------------------------
- # If true, players must attach a valid image proof link before submitting
- Require-Image-Proof-Link-Before-Report-Creation: false
- # Send the reporter a confirmation message after submission
- Send-Report-Confirmation: true
- # Run console commands automatically when a report is submitted
- Perform-Commands-On-Report: false
- # Commands executed if Perform-Commands-On-Report is enabled
- # Placeholders:
- # %reporter% - player who submitted the report
- # %reported% - player being reported
- # %reason% - reason provided
- Commands-Upon-Reports:
- - 'staffchat %reporter% reported %reported% for %reason%'
- # -------------------------------------------------------
- # REPORT DENIAL SETTINGS
- # -------------------------------------------------------
- # Notify the reporter if their report is denied/removed
- # (Only sent if the reporter is online)
- Tell-Reporter-Their-Report-Was-Denied: true
- # -------------------------------------------------------
- # GUI OPEN SOUNDS
- # -------------------------------------------------------
- Open-Reports-GUI-Sound:
- Enabled: false
- Sound: BLOCK_CHEST_OPEN
- Open-Claim-GUI-Sound:
- Enabled: false
- Sound: BLOCK_CHEST_OPEN
- # -------------------------------------------------------
- # TIMERS (SECONDS)
- # -------------------------------------------------------
- # Delay before reports are automatically cleared (if used)
- Clear-Reports-Timer: 3
- # Cooldown between report submissions per player
- Submit-Report-Timer: 60
- # -------------------------------------------------------
- # REPORT INTERACTION SETTINGS
- # -------------------------------------------------------
- # Require confirmation before deleting reports
- Reports-Must-Be-Confirmed-To-Delete: false
- # Mouse click mappings inside the reports GUI
- Remove-Reports:
- Click-Type: RIGHT
- Change-Status:
- Click-Type: MIDDLE
- Open-Proof-Link:
- Click-Type: DROP
- # Supported click types:
- # RIGHT, LEFT, SHIFT_LEFT, SHIFT_RIGHT, MIDDLE, DROP,
- # DOUBLE_CLICK, NUMBER_KEY
- # -------------------------------------------------------
- # REPORT STATUSES
- # -------------------------------------------------------
- # Status cycle:
- # New โ WIP โ Complete
- Statuses:
- New: '&fNew'
- WIP: '&eBeing investigated'
- Complete: '&aComplete'
- # -------------------------------------------------------
- # REWARDS ON REPORT COMPLETION
- # -------------------------------------------------------
- Give-Reporter-Rewards-On-Report-Complete:
- Enabled: true
- # Commands executed if the reporter is ONLINE
- Reporter-Is-Online:
- - 'give %reporter% paper 1 name:&fHey,_thanks! lore:&fYour_report_helped_keep_the_server_safe!'
- - 'give %reporter% diamond_block 1 name:&bThank_You!'
- # Commands executed if the reporter is OFFLINE
- # (Use /reports setupclaimgui to handle item claims)
- Reporter-Is-Offline:
- - 'mail send %reporter% Your report was completed! Claim your reward with /reports claim'
- # -------------------------------------------------------
- # IMAGE PROOF WHITELIST
- # -------------------------------------------------------
- # Only links containing these domains are allowed as proof
- Image-Proof-URL-Whitelist:
- - 'imgur.com'
- - 'i.imgur.com'
- - 'prntscr.com'
- - 'gyazo.com'
- - 'i.gyazo.com'
- - 'i.ibb.co'
- - 'ibb.co'
- - 'pasteboard.co'
- # -------------------------------------------------------
- # REPORT REASON MODES
- # -------------------------------------------------------
- # OFF = no suggestions
- # SUGGEST = suggest reasons but allow custom
- # RESTRICT = only allow reasons from the list
- Report-Reasons:
- Mode: SUGGEST
- List:
- - Cheating
- - Griefing
- - Abuse
- - Inappropriate Language
- # =========================================================
- # SOUND SETTINGS
- # =========================================================
- sounds:
- Enabled: false
- Report-Submitted: ENTITY_PLAYER_LEVELUP
- Player-Reported-Notification: BLOCK_ANVIL_FALL
- # =========================================================
- # REPORTS GUI
- # =========================================================
- GUI:
- Name: '&c๐ Reports'
- Size: 54
- Default-Item:
- Player-Commands:
- - 'teleport %player%'
- Material: PAPER
- Name: '&a๐ค %reported%'
- Lore:
- - ''
- - ' &e๐ &fStatus: &7%status%'
- - ''
- - ' &e๐ &fSubmitted by: &b%reporter%'
- - ' &e๐จ &fReported: &c%reported%'
- - ''
- - ' &e๐ฌ &fReason: &b%reason%'
- - ''
- - '&a๐ฑ &fLeft-Click: &7Teleport'
- - '&c๐ฑ &fRight-Click: &7Remove report'
- - '&e๐ฑ &fMiddle-Click: &7Change status'
- - '&bโฌ &fDrop: &7View proof'
- # =========================================================
- # CLAIM GUI
- # =========================================================
- ClaimGUI:
- Name: '&bClaim GUI'
- Size: 27
- Players-View:
- Name: '&fYour Report Rewards'
- Size: 27
- # =========================================================
- # STORAGE SETTINGS (YAML / MYSQL)
- # =========================================================
- database:
- # Storage type:
- # YAML = local file (plugins/PlayerReport/reports.yml)
- # MYSQL = shared database (multi-server support)
- Storage-Type: 'YAML'
- MySQL:
- Host: 'localhost'
- Port: 3306
- Database: 'playerreport'
- Username: 'root'
- Password: 'password'
- Use-SSL: false
- # Prefix for all database tables
- Table-Prefix: 'playerreport_'
- # How often to sync from DB (ticks)
- # 0 or less = disabled
- Sync-Interval-Ticks: 600
- # Storage key (allows multiple report sets in one DB)
- Storage-Key: 'reports'
- # =========================================================
- # DISCORD INTEGRATION
- # =========================================================
- discord:
- # Send Discord embeds when reports are created/updated
- enabled: true
- # Discord webhook URL
- webhook-url: "https://discord.com/api/webhooks/PUT_YOURS_HERE"
- embed:
- title: "๐ฃ New Player Report"
- color: 16755200
- # =========================================================
- # WEB PANEL (ADMIN REPORT VIEWER)
- # =========================================================
- web:
- # Enable the embedded web server
- enabled: true
- # Bind address:
- # 127.0.0.1 = local only (recommended)
- # 0.0.0.0 = ALL interfaces (use firewall!)
- bind: "127.0.0.1"
- # Port the web panel listens on
- port: 8792
- # Web panel login users
- # Passwords MUST be BCrypt hashes
- users:
- admin:
- password-bcrypt: "PUT_BCRYPT_HASH_HERE"
- # Login session duration
- sessions:
- token-ttl-minutes: 120
Advertisement
Add Comment
Please, Sign In to add comment