Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_jM3kRMxW.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
PxEffect - 墨喵 Minecraft 资源
PxEffect 图标

PxEffect

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/pxeffect
资源信息

Minecraft 版本: 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2

平台: bukkit paper purpur spigot

资源介绍
# ![PxEffect Banner](https://capsule-render.vercel.app/api?type=waving&color=0:0f0c29,50:302b63,100:24243e&height=200&section=header&text=PxEffect&fontSize=60&fontColor=ffffff&fontAlignY=38&desc=Create%20Chaos%20and%20Fun%20on%20Your%20SMP%20with%20Random%20Effects%20Every%202%20Minutes&descAlignY=58&descSize=17&animation=fadeIn) ### *Every player. Every two minutes. A random fate.* **PXEffect** automatically applies random **positive or negative potion effects** to every online player at a configurable interval — with XP-level scaling, live countdowns, rich statistics, and deep server integrations. Polished, performant, and production-ready.
[![Download on Modrinth](https://img.shields.io/badge/⬇%20Download-Modrinth-1bd96a?style=for-the-badge&logo=modrinth&logoColor=white)](https://modrinth.com/plugin/pxeffect) [![Discord](https://img.shields.io/badge/💬%20Discord-allay__gaming__x-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.com) [![Source](https://img.shields.io/badge/💻%20Source-GitHub-black?style=for-the-badge&logo=github&logoColor=white)](https://github.com/ALLAY-XD-20)




Minecraft
Platform
Version
Java
License


📸 Preview

| 🎬 Action Bar Countdown | 🎉 Effect Notification | 📊 /pxeffect info | |:---:|:---:|:---:| | ![action bar](https://cdn.modrinth.com/data/cached_images/434d8a5d90db82868069bef2955c28d51a709a4a.jpeg) | ![notification](https://cdn.modrinth.com/data/cached_images/55c72f4051e2bb3110b152d614341926594ddea7.jpeg) | ![pxeffect-info](https://cdn.modrinth.com/data/cached_images/0b2bf071b3ece0170abaa3d0e283ebe08c7d62ad.jpeg) | > 💡 *Screenshots — install the plugin and share yours!*


✨ What is PXEffect?

Imagine every player on your server is constantly one tick away from receiving a Speed boost — or a Wither curse. PXEffect makes chaos part of your server's DNA.

Every 2 minutes (fully configurable), each online player is handed a randomly selected potion effect. Higher XP levels? Stronger effects. The countdown ticks live in the action bar. The tension is real.

Whether you run a survival, minigame, RPG, or event server — PXEffect adds a layer of unpredictable energy that keeps players on their toes.



🚀 Core Features


🎲 Random Effect Engine

Randomly selects from all vanilla positive and negative potion effects every interval

  • ✅ Full pool of positive effects — Speed, Strength, Regeneration, Night Vision, Absorption, Luck, and more
  • ✅ Full pool of negative effects — Slowness, Weakness, Poison, Wither, Blindness, Levitation, and more
  • ✅ Toggle positive and negative categories independently
  • ✅ Customise which specific effects are in the pool via config.yml
  • ✅ Configurable effect duration in ticks


⚡ XP Level Scaling

Effect strength automatically scales with the player's XP level

🎓 XP Level 💪 Effect Strength
Level 0 – 9 Level I
Level 10 – 19 Level II
Level 20 – 29 Level III
Level 30 – 39 Level IV
Level 40+ Level V

Fully customisable tiers in config.yml — set your own ranges and amplifiers.


⏱️ Live Action Bar Countdown

Players always know exactly when their next effect is coming

Next Effect: 01:59
Next Effect: 00:45
Next Effect: 00:03
  • 🔄 Updates every second in real time
  • 🎨 Fully customisable format with MiniMessage support
  • 🌈 Hex colours, gradients, and legacy & codes all supported
  • 🔘 Can be toggled off per-player or globally


📣 Effect Notifications

When an effect lands, players are informed clearly and stylishly:

  • 💬 Chat message — shows effect name, level, and whether it's positive or negative
  • 📋 Title + Subtitle — dramatic on-screen announcement (configurable fade times)
  • 🔊 Custom sounds — different sounds for positive vs negative effects
  • ✨ Particle burst — visual particle effect at the player's location
  • 🎨 All messages fully customisable with MiniMessage


📊 Boss Bar Display (Optional)

An optional countdown boss bar at the top of the screen

  • Choose from all Bukkit boss bar colours and styles
  • Automatically fills and depletes as the timer counts down
  • Fully MiniMessage-formatted title
  • Enable/disable per-server in config


📈 Statistics System

Track everything that happens on your server

Stat Description
🔢 Total Effects Every effect ever applied
💚 Positive Effects Total positive effects given
❤️ Negative Effects Total negative effects given
🏆 Most Common The effect given most frequently
  • Persisted to stats.yml across server restarts
  • Viewable via /pxeffect info
  • Exposed via PlaceholderAPI


🛡️ World & Region Control

worlds:
  blacklist:
    - lobby
    - creative_world
  per-world:
    survival: true
    minigames: false

worldguard:
  region-blacklist:
    - spawn
    - safe_zone
    - shop_area
  • 🌍 World blacklist — exclude specific worlds entirely
  • 🗺️ Per-world toggle — enable or disable on a world-by-world basis
  • 🔒 WorldGuard regions — players inside blacklisted regions are skipped


🔌 Integrations

| Integration | Status | What it does | |:-----------:|:------:|:-------------| | **PlaceholderAPI** | ✅ Supported | 7 custom `%pxeffect_...%` placeholders | | 🛡️ **WorldGuard** | ✅ Supported | Region blacklist | | 💰 **Vault** | ✅ Supported | Permission API bridge | | 🍀 **LuckPerms** | ✅ Supported | Native Bukkit delegation | | 📊 **bStats** | ✅ Built-in | Anonymous usage metrics |


📋 PlaceholderAPI Placeholders

Placeholder Returns
%pxeffect_next_effect% Formatted countdown 01:45
%pxeffect_next_effect_sec% Raw seconds remaining
%pxeffect_total_effects% Total effects applied
%pxeffect_positive_effects% Positive effects count
%pxeffect_negative_effects% Negative effects count
%pxeffect_most_common% Most given effect name
%pxeffect_interval% Configured interval (seconds)


💻 Commands

Command Description Permission
/pxeffect reload Hot-reload the entire plugin pxeffect.reload
/pxeffect info View stats, interval, and integration status pxeffect.use

Alias: /pxe



🔑 Permissions

Permission Default Description
pxeffect.use ✅ Everyone Receive effects + use /pxeffect
pxeffect.bypass ❌ Nobody Exempt from all effects
pxeffect.reload 🔧 OP Reload plugin configuration
pxeffect.admin 🔧 OP Full admin access


⚙️ Configuration Highlights

general:
  interval: 120             # Seconds between effects
  positive-effects-enabled: true
  negative-effects-enabled: true
  debug: false

action-bar:
  enabled: true
  format: "<gray>Next Effect: <gold>{time}"

xp-scaling:
  enabled: true
  tiers:
    - { min: 0,  max: 9,  amplifier: 0 }
    - { min: 10, max: 19, amplifier: 1 }
    - { min: 20, max: 29, amplifier: 2 }
    - { min: 30, max: 39, amplifier: 3 }
    - { min: 40, max: 999999, amplifier: 4 }

sounds:
  positive:
    sound: ENTITY_PLAYER_LEVELUP
    volume: 1.0
    pitch: 1.2
  negative:
    sound: ENTITY_WITHER_HURT
    volume: 0.8
    pitch: 0.8

📄 Full config with every option documented ships inside the plugin on first run.



⚡ Performance

PXEffect is engineered for 500+ concurrent players:

  • 🏎️ Single repeating task — one 1-second scheduler handles everything (cooldowns, action bar, boss bar, effect firing). Zero per-player tasks.
  • 🧵 Thread-safe statistics — AtomicLong counters, no locks needed
  • 💾 Memory-efficient — ConcurrentHashMap for cooldown/bossbar state
  • ♻️ Hot-reload safe — scheduler shuts down cleanly before config reload, then restarts
  • 📦 Shaded bStats only — no unnecessary bundled libraries


📦 Installation

1. Download PXEffect-1.0.0.jar
2. Drop it into your /plugins/ folder
3. Start or restart your server
4. Edit plugins/PXEffect/config.yml
5. Run /pxeffect reload

✅ Compatible with Spigot 1.20.4+, Paper, and Purpur
✅ Java 17 required
✅ No required dependencies — all integrations are optional



🗂️ Changelog

v1.0.0 — Initial Release

  • 🎉 Full random effect engine with positive/negative pools
  • ⚡ XP level scaling (5 configurable tiers)
  • ⏱️ Live action bar countdown
  • 📊 Boss bar display
  • 📣 Title, subtitle, sound, and particle notifications
  • 🌍 World blacklist and per-world toggle
  • 🛡️ WorldGuard region blacklist
  • 📋 PlaceholderAPI (7 placeholders)
  • 💰 Vault integration
  • 📈 Statistics system with persistence
  • 💾 Cooldown persistence across restarts
  • 🔄 Full hot-reload via /pxeffect reload
  • 🐛 Debug mode
  • 📡 bStats metrics
  • 🔔 Update checker


🤝 Support & Community

Got a bug? Feature request? Just want to chat? **Discord:** `allay_gaming_x` *Open an issue on GitHub or reach out on Discord — responses are fast!*




## 👤 About the Author **Pawan** — Minecraft plugin developer passionate about performance, polish, and player experience. *PXEffect is built with care — every config option, every message, every integration is intentional.*
--- ### 💜 Discord Live Status [![allay_gaming_x's Discord status](https://dsc-readme.tsuni.dev/api/user/1032944901412880394?theme=dark&width=512)](https://github.com/the-snesler/discord-github-preview) --- PXEffect v1.0.0 · Made with ❤️ by Pawan · MIT License
下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Multi-Threading

价格:0 墨喵币
下载量:0

查看详情
Douse It

价格:0 墨喵币
下载量:0

查看详情
Cuter Lanterns

价格:0 墨喵币
下载量:0

查看详情
Screenshot Overhaul

价格:0 墨喵币
下载量:0

查看详情