mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2024-12-28 10:24:15 +00:00
Update particle spawner
This commit is contained in:
parent
a2b0da8cfb
commit
e87beeced4
5 changed files with 51 additions and 4 deletions
|
@ -80,6 +80,8 @@ public class VersionMapping16 extends VersionMapping {
|
|||
this.put(67, ParticleEffect.DRIPPING_OBSIDIAN_TEAR);
|
||||
this.put(68, ParticleEffect.FALLING_OBSIDIAN_TEAR);
|
||||
this.put(69, ParticleEffect.LANDING_OBSIDIAN_TEAR);
|
||||
this.put(70, ParticleEffect.REVERSE_PORTAL);
|
||||
this.put(71, ParticleEffect.WHITE_ASH);
|
||||
}};
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ public class ParticleHandlerImpl extends ParticleHandler {
|
|||
|
||||
try {
|
||||
for (Player player : players) {
|
||||
protocolManager.sendWirePacket(player, 0x24, bytes);
|
||||
protocolManager.sendWirePacket(player, 0x23, bytes);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
|
|
|
@ -20,7 +20,7 @@ dependencies {
|
|||
shadow 'org.jetbrains:annotations:16.0.2'
|
||||
shadow 'me.clip:placeholderapi:2.10.4'
|
||||
shadow 'org.xerial:sqlite-jdbc:3.23.1'
|
||||
shadow 'com.comphenix.protocol:ProtocolLib:4.5.0'
|
||||
shadow 'com.comphenix.protocol:ProtocolLib:4.5.1'
|
||||
shadow 'com.googlecode.json-simple:json-simple:1.1.1'
|
||||
|
||||
// Dependencies that will be shaded into the jar
|
||||
|
|
|
@ -38,7 +38,7 @@ public class ParticleStyleThick extends DefaultParticleStyle {
|
|||
|
||||
@Override
|
||||
protected void setDefaultSettings(CommentedFileConfiguration config) {
|
||||
this.setIfNotExists("multiplier", 1, "The multiplier for the number of particles to spawn", "This style uses the same spawning as the 'normal' style");
|
||||
this.setIfNotExists("multiplier", 3, "The multiplier for the number of particles to spawn", "This style uses the same spawning as the 'normal' style");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,51 @@
|
|||
=== v7.13 ===
|
||||
+ Added particles for Minecraft 1.16
|
||||
+ Added getVersion() method to API
|
||||
=== v7.12 ===
|
||||
+ Added WorldGuard region support
|
||||
+ Added permission 'playerparticles.worldguard.bypass'
|
||||
+ Added placeholder %playerparticles_is_in_allowed_region%
|
||||
* Fixed empty player list bug with versions older than 1.9
|
||||
=== v7.11 ===
|
||||
+ Added support for Spigot 1.8.8 and 1.7.10. I make no guarantees this will work perfectly.
|
||||
* The plugin will now disable and print an error message on startup if the server is running CraftBukkit
|
||||
* Removed deprecated API
|
||||
* Other API-breaking changes (Moved the color data classes to a different package)
|
||||
* Removed the version number from generating in new config.yml files
|
||||
=== v7.10 ===
|
||||
+ Added command '/pp reset <player>' to be able to reset the particles of an offline player
|
||||
- Permission: 'playerparticles.reset.others'
|
||||
+ Added permissions for maximum particles, groups, and fixed effects (values in the config are now the lower bounds)
|
||||
- playerparticles.particles.max.<number>
|
||||
- playerparticles.groups.max.<number>
|
||||
- playerparticles.fixed.max.<number>
|
||||
* The 'swords' style now lets you edit what is considered a sword in its settings file
|
||||
* Fixed wooden swords not being counted with the 'swords' style in 1.13+
|
||||
* Fixed the 'fishing' style causing particles to spawn for users who don't even have it applied
|
||||
* Fixed effect permissions being registered with the server even if they aren't supported
|
||||
=== v7.9 ===
|
||||
+ Added options DISPLAY_NORMAL and DISPLAY_OVERHEAD to toggle-on-move
|
||||
+ Added setting in each style setting file for can-toggle-on-combat
|
||||
* Fixed performance issues with toggle-on-move setting
|
||||
* Fixed possible concurrency deadlock with arrows and fishing styles
|
||||
=== v7.8 ===
|
||||
+ Added style 'fishing'
|
||||
* Moved GUI icon settings from the config.yml to the effects/ and styles/ files. You will need to set these again.
|
||||
* Fixed the messages-enabled setting not working at all
|
||||
* Changed toggle-on-move to have three different setting values (DISPLAY_MOVE, HIDE, NONE)
|
||||
* Changed how particle styles are registered, deprecated old API methods for style registration
|
||||
=== v7.7 ===
|
||||
* Fixed an error with the style 'blockplace'
|
||||
=== v7.6 ===
|
||||
+ Added style 'teleport' (Thanks HexedHero)
|
||||
* Fixed being able to take items out of GUI when opened from a separate GUI plugin
|
||||
* Fixed a possible ConcurrentModificationException
|
||||
* Fixed a missing message in de_DE
|
||||
=== v7.5 ===
|
||||
+ Added style 'trail'
|
||||
* Adjusted the 'normal' style a bit (also includes thick, and move)
|
||||
+ Added settings for MySQL table prefix and connection pool size
|
||||
* Fixed preset groups loaded with '/pp group load' not saving correctly
|
||||
* Fixed possible database connection loss for MySQL
|
||||
=== v7.4 ===
|
||||
* Fixed '/pp fixed teleport' not working due to async event issues
|
||||
* Fixed issue with a fixed celebration effect while vanished
|
||||
|
|
Loading…
Reference in a new issue