') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); Allow discord console relay to be filtered by logger name by gheatherington · Pull Request #6448 · EssentialsX/Essentials · GitHub
Skip to content

Allow discord console relay to be filtered by logger name - #6448

Merged
JRoy merged 2 commits into
EssentialsX:2.xfrom
gheatherington:patch-1
Feb 28, 2026
Merged

Allow discord console relay to be filtered by logger name#6448
JRoy merged 2 commits into
EssentialsX:2.xfrom
gheatherington:patch-1

Conversation

@gheatherington

Copy link
Copy Markdown
Contributor

Rearranged logger addition to message entry for filtering by logger name.

Rearranged logger addition for filtering by logger name.
@JRoyJRoy added module: discord Issues or PRs for the EssentialsDiscord module type: enhancement Features and feature requests. labels Feb 28, 2026
@JRoyJRoy changed the title Reorganize logger entry formatting for console outputAllow discord console relay to be filtered by logger nameFeb 28, 2026
@JRoy

JRoy commented Feb 28, 2026

Copy link
Copy Markdown
Member

thanks!

@JRoy
JRoy enabled auto-merge February 28, 2026 21:21
@JRoy
JRoy added this pull request to the merge queueFeb 28, 2026
Merged via the queue into EssentialsX:2.x with commit b8acd9cFeb 28, 2026
1 check passed
Euphillya added a commit to Euphillya/Essentials-Folia that referenced this pull request Apr 26, 2026
EssentialsX@d16aec1 Fixed unreachable nickNoMore Message in /nick command. Not a huge change. (EssentialsX#6442)
EssentialsX@bc6acfe Command Trees v2 (EssentialsX#6230)
EssentialsX@99f7a49 Improve gc command performance (EssentialsX#6439)
EssentialsX@e9b8343 Move away from adventure-platform for Paper (EssentialsX#6220)
EssentialsX@18549a7 Fix /ess reload (EssentialsX#6444)
EssentialsX@f080f81 fix(commands): propagate Essentials and module to tree nodes (EssentialsX#6445)
EssentialsX@b8acd9c Allow discord console relay to be filtered by logger name (EssentialsX#6448)
EssentialsX@5abe8b6 Fix server freezing with /give (EssentialsX#6449)
EssentialsX@9c83333 Fix integer overflow with /burn + /more & fix % in chat formats (EssentialsX#6452)
EssentialsX@297d0e4 Migrate Vault and emoji-java dependencies away from Jitpack (EssentialsX#6458)
EssentialsX@9d70fdb Add MiniMessage support for thunder enabled / disabled (EssentialsX#6454)
EssentialsX@302653a Fix workflow artifact upload paths missing X in EssentialsX addon jar names (EssentialsX#6462)
EssentialsX@482175e Prevent running recipe command while sleeping (EssentialsX#6455)
EssentialsX@d7452bf Fix stale shadow include group ID for emoji-java in EssentialsDiscord (EssentialsX#6467)
EssentialsX@8e3b24f Minecraft 26.1 (EssentialsX#6473)
EssentialsX@5d535dc Support new PaperMC versioning scheme in VersionUtil (EssentialsX#6480)
EssentialsX@c26909e Add alias ver for the version subcommand (EssentialsX#6481)
EssentialsX@218e004 Bump supported versions to 26.1.1 (EssentialsX#6482)
EssentialsX@637ac8f Fix version comparison logic for pre-release/snapshot/rc variants (EssentialsX#6483)
EssentialsX@716a61e Mitigate Discord 429s (EssentialsX#6461)
EssentialsX@5a78df5 Add option to allow fishing when afk (EssentialsX#6465)
EssentialsX@0845ea6 Fixed NoSuchMethodException Player.getRespawnLocation() (EssentialsX#6460)
EssentialsX@08b7fe3 Add PreTransactionEvent (EssentialsX#6370)
EssentialsX@f5fc430 fix(fly): persist fly mode and restore on join (EssentialsX#6403)
EssentialsX@236ce88 Add /unmute command and broadcast on unmute (EssentialsX#6491)
EssentialsX@86621cd Don't enable fly mode on login when player is in water (EssentialsX#6490)
EssentialsX@73aa657 Reject Windows reserved filenames in /setwarp (EssentialsX#6487)
EssentialsX@00b4a5b Make /flyspeed and /walkspeed force the correct speed type (EssentialsX#6485)
EssentialsX@4db09f2 Change default max-nick-length to 16 (EssentialsX#6484)
EssentialsX@ddaadf2 Add socialSpyCmdFormat message key for command social spy (EssentialsX#6489)
EssentialsX@add5eb7 Add permission cache system + permission for vanish item pickup (EssentialsX#6488)
EssentialsX@fb669aa Remove extractUrls from default legacy serializer (EssentialsX#6492)
EssentialsX@1038b3a Fix incorrect teleport safety message (EssentialsX#6486)
EssentialsX@63e7c4d Bump supported versions to 26.1.2 (EssentialsX#6500)
EssentialsX@f39bc91 Fix version parsing for local paper builds (EssentialsX#6501)
EssentialsX@7f37b5e Fix minimessage parsing in playerlist keyword replacement (EssentialsX#6505)
EssentialsX@678bacf Suppress advancement broadcast for vanished players on Paper (EssentialsX#6513)
EssentialsX@e9f3677 Fix /eco ignoring locale-specific decimal separators (EssentialsX#6511)
EssentialsX@b594358 Fix VanishStatusChangeEvent NPE and document parameter inversion (EssentialsX#6510)
EssentialsX@57a8c59 Fix /time overriding player's /ptime setting (EssentialsX#6509)
EssentialsX@3d03cf3 Fix command descriptions not using player's locale (EssentialsX#6508)
EssentialsX@936a2c0 Fix SocialSpy local chat color bleeding from player display name (EssentialsX#6507)
EssentialsX@97fd560 Fix {USERNAME} underscore escaping in kit items (EssentialsX#6514)
EssentialsX@87bde72 Fix consoleName translation key not working (EssentialsX#6506)
@mdcfemdcfe added this to the 2.22.0 milestone May 23, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: discordIssues or PRs for the EssentialsDiscord moduletype: enhancementFeatures and feature requests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@gheatherington@JRoy@mdcfe