Releases: NerdNu/ModMode
4.2.2 for LuckPerms 5.x
- Fix error loading player inventory when health is higher than
Player.getMaxHealth()
. - Fix runtime warnings about using
System.out
. - Update
pom.xml
to use https://github.com/mbax/VanishNoPacket (version 3.22). If you are developing, you must build these sources withmvn install
. At run-time, you can use the official VanishNoPacket download from https://dev.bukkit.org/projects/vanish. - Skip cursed version number 4.2.1.
v4.1.1
Fix permission handling problems due to ModMode caching LuckPerms Track
instances before LuckPerms 4.x has fully loaded the track asynchronously.
This is, hopefully, the last LuckPerms 4.x compatible release. New ModMode versions 4.2.0 and above are only compatible with LuckPerms 5.x.
Note: use the luckperms4
branch for LuckPerms 4.x maintenance releases and reserve the master
branch for LuckPerms 5.x.
v4.2.0 for LuckPerms 5.x
Updated for Compatibility with LuckPerms 5.x.
v4.1.0 for LuckPerms 4.x
This version of ModMode uses LuckPerms track events to synchronise to permission changes.
In essence, ModMode now waits for LuckPerms to tell it that the player's permissions have fully changed before performing any steps that depend on those new permissions. Notification messages announcing the new ModMode state are sent to the staff member last, after all other actions (including permission changes) have been performed. So client mods that perform actions in response to those messages will trigger once the player has completely transitioned to the new state.
With a bit of luck, that resolves intermittent permission problems present in v4.0.4 (a.k.a. 404, the lost version).
It should be noted that 4.0.4 and subsequent versions depend on LuckPerms tracks that have not been properly documented (yet). That problem will be resolved soon. For now, note that the odd form of the foreignserveradmins
to modmode
track is intentional.
modmode-track.yml
:
name: modmode-track
groups:
- moderators
- modmode
foreign-server-admins-modmode-track.yml
:
name: foreign-server-admins-modmode-track
groups:
- modmode
- modmode
- Also note that the LuckPerms weight of the
modmode
group must be set higher than any group inheriting fromforeignserveradmins
. This will also be explained in the documentation.
v4.0.5
v4.0.4
Recover Version 4.0.4 source code.
- Decompile 4.0.4-SNAPSHOT from production servers.
- Apply changes to the master branch.
- Revert
synchronized
andstatic
method attributes. Pointless in the
case ofsynchronized
. - Drop the use of PaperSpigot-specific API to prevent Phantom spawns.
Modify the staff member's TIME_SINCE_REST statistic instead. - Improve handling of fire ticks and fall damage. These are now serialised
with other saved state, preventing the abuse of ModMode for e.g.
cancelling fall damage. - Fix handling of missing tracks (avoid NPE).
This version should be not significantly more flawed than the version we
have been running in production for the last year. No effort has yet been
made to fix the problem of Moderators having incorrect permissions. To
fix that requires that the plugin schedule ModMode actions in the event
handler of LuckPerms events fired when LuckPerms completes its track
promotions and demotions.
v4.0.3
Use tracks with LuckPerms
3.7.6
3.7.5
Version 3.7.1 for Spigot 1.9
Allow collisions between default players to be configurable using
allow.collisions
(boolean). Collision behaviour is controlled using the
Team/Scoreboard API, since LivingEntity.setCollidable(boolean) is hopelessly
broken in the current Spigot 1.9 build.
Note, also that ModMode now uses the main Scoreboard rather than creating a private one.