Commit graph

349 commits

Author SHA1 Message Date
Esophose
c622b2b102
Minor cleanup, remove legacy metrics 2021-07-15 03:41:52 -06:00
Esophose
4bc157255a
If the plugin gets loaded twice somehow, don't register permissions 2021-07-14 13:23:29 -06:00
basedAF
97cf24053c
Expand API (#80)
* PLAYER particles

When creating a custom particle effect its very limiting not having access to the player object, this PR adds a method that calls with the player object, allowing you to get player UUID for hash-map or checking nearby blocks etc.

* Remove metadata check

Bad for performance and not necessary (If a target is vanished player.canSee(target) will return false)

ParticleSpawner.canSee() 11.29% 577.34ms
CraftPlayer.getMetadata() 7.71% 394.13ms

* Add size param to PParticle

More customization

* Let actual vibration be used

Lets custom effects make cool skulk animations.

* Use eye location for spawning

Particles adjust when you sneak/crawl (player.getEyeLocation() exists in 1.8 also iirc)

* Remove unnecessary .clone

entity.getLocation returns a clone of their location.

* The changes esophose requested

* Changes

* Remove player from imports

* Where did this even come from

* and this
2021-07-14 13:16:51 -06:00
Esophose
45152fcfcb
Update README with new repo url 2021-07-04 16:14:18 -06:00
Esophose
e9c954d930
Merge remote-tracking branch 'origin/master' 2021-06-26 16:35:22 -06:00
Esophose
c828001970
Fix missing null check in ParticleStyleDeath 2021-06-26 16:35:01 -06:00
Esophose
dea79105d6
Update README.md 2021-06-22 17:19:49 -06:00
Esophose
258e3ee0ae
Fix the celebration style particles not being visible while vanished #77 2021-06-22 16:57:07 -06:00
Esophose
41366b0dec
Added Spanish translation 2021-06-22 16:44:36 -06:00
Esophose
dc72e39f46
Added 1.17 particles 2021-06-21 13:26:50 -06:00
Oribuin
70c398c41e
Death Particle Style (#79)
* Death Style
* Update ParticleStyleDeath.java
* Move duration check
2021-05-23 04:19:00 -06:00
Esophose
32d0995289
Use maps for ParticleStyle lookups 2021-05-23 02:59:34 -06:00
Esophose
ffbe03f792
Added experimental icosphere style 2021-05-13 01:08:51 -06:00
Esophose
845455c231
Added the option for styles to override individual particle data 2021-05-13 01:08:36 -06:00
Esophose
942e83216c
Added style 'outline' 2021-04-19 21:54:47 -06:00
Esophose
4cf49761a2
Added setting to display particles when invisible (#74) 2021-03-22 13:34:06 -06:00
Esophose
f94e87960f Don't display particles if the player is invisible 2021-02-25 19:05:02 -07:00
Esophose
d2de109103 Don't bother unregistering and registering permissions on reloads 2021-02-10 03:29:21 -07:00
Esophose
8f74d1b17a Fix console spam in default gui 2021-02-08 13:41:27 -07:00
Esophose
fb3ebbc063 Added dev builds link to readme, update changelog 2021-02-08 13:13:15 -07:00
Esophose
5758ff8564 Added button to main GUI to toggle particle visibility 2021-02-08 13:08:33 -07:00
Esophose
875b3b3170 Fix fixed effects getting deleted, database connection is now made async 2021-02-08 10:28:15 -07:00
Esophose
668191202d Added setting to check particle permissions on login 2021-01-30 06:35:36 -07:00
Esophose
c6c992cf05 Increment version, update changelog 2021-01-19 15:54:12 -07:00
Esophose
fe64195386 Alphabetize the blocks and items cache, add blocks to the item data 2021-01-19 15:48:26 -07:00
Esophose
f51fae2f63 Fix a NPE trying to get effects/styles for an offline player 2021-01-19 15:43:11 -07:00
Esophose
3d5fd84822
Update WorldGuardWrapper 2021-01-18 13:46:11 -07:00
Esophose
e4eda8e6da
Update README.md to say 1.16.5 2021-01-16 05:12:16 -07:00
Esophose
34ae6f1928 Allow directly opening two more gui pages 2020-12-30 00:29:32 -07:00
Esophose
28665d548e Fix effects or styles defaulting even if the player has no permission 2020-12-30 00:10:39 -07:00
Esophose
9bc4e82af0 Added an option to make the group save gui icon print a message to chat 2020-12-05 18:10:19 -07:00
Esophose
72ee0ab219 Fix group overwriting 2020-12-05 17:31:31 -07:00
Esophose
dd9c0a6321 Fixed registering permissions before effects/styles were loaded 2020-12-05 17:20:43 -07:00
Esophose
ee5b9ba7f1 Fix messages having a prefix even when disabled 2020-12-02 22:56:28 -07:00
Esophose
91e1e81ccd Added netherite sword to default swords style names 2020-12-02 22:09:54 -07:00
Esophose
89a19d308e Fixed needing to delay certain tasks after pp reload 2020-12-02 22:09:41 -07:00
Esophose
356d700c78 Don't run /ppo async to avoid race conditions 2020-11-27 18:38:56 -07:00
Esophose
f06b81a54d Added a safeguard to the celebration style
For some reason the task gets frozen in the last state and endlessly spawns the bursts, this fixes that rare condition
2020-11-26 23:17:16 -07:00
Esophose
9a6f33f2f1
Update README.md to say 1.16.4 2020-11-02 15:23:30 -07:00
Esophose
df7162637c Fixed ParticlePair owner not getting set with /pp group load 2020-10-25 18:16:22 -06:00
Esophose
5288d669e4 Added /pp use 2020-10-18 12:01:34 -06:00
Esophose
dfe4d99568 Added override annotations to command methods, optimized imports 2020-10-18 11:16:05 -06:00
Esophose
06c705ef38 Wait a few ticks during startup to be able to load custom styles 2020-10-18 11:04:11 -06:00
Esophose
822fe397aa WorldGuard merge unification 2020-10-01 23:20:00 -06:00
Esophose
b20d9582b3
Merge pull request #59 from eth-p/master
Add "player-particles" flag to replace allow/disallow regions. (Fixes #56)
2020-10-01 22:47:00 -06:00
Esophose
b08cfcaa77
Merge pull request #60 from Esophose/preset-group-sorting
Preset group sorting
2020-10-01 22:46:47 -06:00
Esophose
fe9b580baf Hide particles from the owner if they are vanished 2020-10-01 22:41:05 -06:00
Ethan P
5f6ee80f1c
Add strictOrdering parameter to setting isDefault check 2020-10-01 21:28:06 -07:00
Ethan P
63ccc28c8e
Deprecate WG regions in favor of "player-particles" flag 2020-10-01 21:23:45 -07:00
Esophose
4ce525785a Added setting to hide preset group descriptions, added preset lore 2020-09-17 22:02:47 -06:00