Commit Graph
100 Commits
Author SHA1 Message Date
auto 6403f024cd Made it so the plugin doesn't crash if the config is messed up 2022-06-04 05:28:09 +02:00
auto 22f0d184c3 Made particles load from config 2022-06-04 00:45:40 +02:00
auto 7cc66db3ce Made particles rotate based on initial player rotation if they aren't relative to the player, and current player rotation if they are 2022-04-28 03:37:52 +02:00
auto 426be723b1 Merge remote-tracking branch 'origin/master' 2022-02-26 05:42:02 +01:00
auto 749b712a91 Fixed build failure 2022-02-26 05:41:52 +01:00
auto c259e3f035 This might break everything so test this first on alpha or something
This should check if a player is in vanish
2022-02-26 03:03:02 +01:00
auto 295b9d1ee2 Fix checking distance to another player in another world 2022-02-26 02:26:07 +01:00
auto e48d7c97c9 yaw is not used when adding x/y/z so its irrelevant to set it 2022-02-23 04:17:20 +01:00
auto c98f141d7e Add bypass perm for cooldown 2022-02-23 04:10:57 +01:00
auto 9db0861a3c Fixed forgotten uuid 2022-02-23 03:57:29 +01:00
auto 3ef9fb534e Added delay
Made particles dependent on player yaw
2022-02-23 03:54:02 +01:00
auto 0a35d4383d adding more brackets might fix it? 2022-02-23 03:15:32 +01:00
auto 46f6e2d999 Only get random offset when offset isn't 0 2022-02-23 02:44:42 +01:00
auto 433688e813 Added random offset for particles 2022-02-17 02:02:48 +01:00
auto 40ab1dae99 Spawn particles above players head for empty right click 2022-01-15 03:58:32 +01:00
auto 7318a8be96 Changed from using offset to modifying location directly 2022-01-14 05:44:58 +01:00
auto 5e44521ea9 Merge remote-tracking branch 'origin/master' 2022-01-14 04:52:20 +01:00
auto 5e44c9b539 Merge branch 'master' of https://github.com/Altitude-Devs/AltitudeParticles 2022-01-14 04:52:08 +01:00
auto 763258c425 Added a way to clear particles 2022-01-14 04:52:05 +01:00
auto 5d76c39866 Removed unused import 2022-01-14 00:09:04 +01:00
auto a92294574b Disable particles if player turns them off
Don't let player turn on particles without seeing them
2022-01-13 23:51:26 +01:00
auto 1e70782c0d Disable particles if player turns them off 2022-01-13 23:44:30 +01:00
auto 5864918442 Only send particles to players who should be seeing them 2022-01-13 23:43:07 +01:00
auto f48d2166b4 Disable particles if player turns them off 2022-01-13 23:42:57 +01:00
auto f2fbd00a4b Updated test class to add itself to everything except head 2022-01-13 23:33:37 +01:00
auto 5d5827e917 Run at block location, not player location 2022-01-13 23:31:56 +01:00
auto 938c3f6f1b Renamed ATTACK to KILL 2022-01-13 23:31:46 +01:00
auto e57f5b7bfd Renamed ATTACK to KILL 2022-01-13 23:31:39 +01:00
auto d099f3ee55 Added EventHandler piorities 2022-01-13 23:26:01 +01:00
auto c82f0c8f17 Updated run command to include playerSettings 2022-01-13 23:18:35 +01:00
auto 062a1a0f18 Added repeat delay 2022-01-13 23:18:07 +01:00
auto 77df8b1e6d Added repeat delay 2022-01-13 23:17:59 +01:00
auto 907ad4819e Clone static itemstack before modifying it 2022-01-13 23:17:15 +01:00
auto cc60244fd0 Added a way to check if an APartType has an event
Activate APartType without event when activated in the gui
2022-01-13 23:16:57 +01:00
auto 0140e5f293 Added 3 new listeners 2022-01-13 23:15:21 +01:00
auto 70251bbce7 Use player instead of just the location they were at when the event fired 2022-01-13 21:31:41 +01:00
auto 8762a89751 Removed unused variables 2022-01-13 21:29:03 +01:00
auto 1dc5d2f6d9 Allow adding and removing of active particles in player settings 2022-01-13 21:28:09 +01:00
auto 8cc4c42ce7 Load player settings and activate particles 2022-01-13 21:27:53 +01:00
auto fec4aab3f0 Reduce count after all frames are ran 2022-01-13 21:27:37 +01:00
auto 4a196e0522 Updated name to be display name where appropriate 2022-01-13 21:27:25 +01:00
auto 1b299ba6cf Added imports i forgot 2022-01-13 21:26:55 +01:00
auto f22e9ec08e Check if particle is active when loading it in the gui 2022-01-13 21:26:41 +01:00
auto 5be8722f53 Updated APartType to include db friendly id 2022-01-13 21:26:16 +01:00
auto 07f721e812 Enable database and load particles 2022-01-13 21:26:01 +01:00
auto 2f650e7b32 Activate particle when clicked on in the gui 2022-01-13 21:25:49 +01:00
auto a5d7afe556 Updated ParticleSet to have particle id 2022-01-13 21:25:35 +01:00
auto 2056194d7d Add queries and toggle player settings in db 2022-01-13 21:25:03 +01:00
auto 8db6b1fa63 Remove player from cache on logout to ensure they are reloaded on relog 2022-01-13 21:24:14 +01:00
auto 2fe8b0d367 Give each particle set a unique id for the db 2022-01-13 20:10:56 +01:00
auto d424e7d768 Make events run particles 2022-01-13 19:06:48 +01:00
auto 960ec50228 Added example particle 2022-01-13 18:36:32 +01:00
auto cc8ec26c66 Make gui's work (but player settings are always recreated on login cus idk how to make the db work)
register listeners
Added back button to particle selection gui
2022-01-12 22:26:22 +01:00
auto bc74d35faa Added GUI's
Added player settings
Added commands
2022-01-11 23:02:04 +01:00
auto 71c5b76d88 Fixed leftover villagerUI stuff 2022-01-03 22:33:19 +01:00
auto 676d5089ae Fixed leftover villagerUI stuff 2022-01-03 22:33:16 +01:00
auto 487d36e1e5 Added db and queries classes 2022-01-03 22:33:03 +01:00
auto f5c096eb2b Initial commit 2022-01-03 22:26:15 +01:00
auto be656b4606 Initial commit 2022-01-03 22:25:23 +01:00
auto de11502f37 Attempted to fix price 2021-12-23 23:00:59 +01:00
auto 53f37c2a86 Cancel villager click event when clicking a villager shop ui villager 2021-12-23 22:58:06 +01:00
auto 451597ca59 Fixed setting instead of adding points 2021-12-23 22:57:50 +01:00
auto 1feff9e412 Changes 2021-12-23 22:52:13 +01:00
auto 5d7467e062 Remove villager from config 2021-12-23 22:51:22 +01:00
auto b52aaee628 Remove entity from world on delete 2021-12-23 22:51:12 +01:00
auto f0c9edfdac moved removing items from inventory 2021-12-23 16:40:56 +01:00
auto f34ba069ee Fixed logging 2021-12-23 16:40:42 +01:00
auto 317c294599 Changed updateUserPoints to void because the boolean is never used anyways 2021-12-23 16:15:36 +01:00
auto 3672ff0e5e Actually executing the update user points query now... 2021-12-23 16:13:48 +01:00
auto 1cb61421d9 Added some debug messages 2021-12-23 16:13:17 +01:00
auto 7f2b828763 renamed VillagerInteract 2021-12-23 03:15:38 +01:00
auto bf43f88d9b Added some debug messages 2021-12-23 03:14:08 +01:00
auto 9ece3e6d5d Fixed updating seen time 2021-12-23 03:03:17 +01:00
auto f471e83618 Added remove villager command 2021-12-23 03:03:00 +01:00
auto 391d58efeb 10 minutes, not 5* 2021-12-23 02:18:23 +01:00
auto b3ae5e67d8 Remove points from user every 10 minutes and sync them at the same time 2021-12-23 02:18:07 +01:00
auto 68978ad13c Made login async 2021-12-22 21:12:02 +01:00
auto 6fd575dc2e Remove user from GUIByUUID list 2021-12-22 21:07:40 +01:00
auto 762b0e2a30 Added login/out events to add/remove users from the tracked user list 2021-12-22 21:02:29 +01:00
auto 7e5123d7fe Added functions to sync user points, remove users, and remove user points 2021-12-22 21:01:55 +01:00
auto 0af3bcb843 Fixed items below $4 getting an invalid point calculation 2021-12-22 21:00:58 +01:00
auto 6c72ac417e Updated comments where needed 2021-12-22 21:00:28 +01:00
auto 3b982dbf3e Added last seen queries 2021-12-22 20:59:34 +01:00
auto f8e4b11c90 Added last seen queries 2021-12-22 20:59:24 +01:00
auto 58d833f870 Changed updateUserPoints to be settings points instead of adding to existing points and doing it for all points a user has in one go 2021-12-22 20:59:01 +01:00
auto bd46ce7df7 Changed updateUserPoints to be settings points instead of adding to existing points and doing it for all points a user has in one go 2021-12-22 20:58:50 +01:00
auto 51fb4758d5 Added user seen table 2021-12-22 20:58:10 +01:00
auto fa39c1a95b Fixed update and set points query 2021-12-21 03:30:37 +01:00
auto 665566dbb3 Fixed item capitalization 2021-12-21 03:30:19 +01:00
auto 3143eb4624 Added settings villager biome on creation 2021-12-21 03:19:26 +01:00
auto 0eaed2d86a Fixed price in purchase message 2021-12-21 03:19:08 +01:00
auto 58058a4324 Added not enough items/ sold item message 2021-12-21 03:18:46 +01:00
auto abbb46e1e8 Allow settings biomes and added configurable professions 2021-12-21 03:18:31 +01:00
auto 41afbfea39 Fixed rounding 2021-12-21 03:18:06 +01:00
auto 72c734b138 Added sell message, added selling items 2021-12-21 03:17:58 +01:00
auto 38e54a2704 Set default points to 0 when getting existing points (in case there are none) 2021-12-19 19:21:20 +01:00
auto c780054f24 Fixed never getting users from the database (I don't think we're adding them yet but that's for another time :)))) (im gonna forget and be confused for sure) 2021-12-18 01:34:42 +01:00
auto 3ccd198b9e why was this moved?? im dumb ig 2021-12-18 01:09:53 +01:00
auto 523a7fe16b Added math stuff to calculate price based on points (thanks everett) 2021-12-17 20:44:38 +01:00
auto c538a68160 Made opening the gui's async 2021-10-23 14:43:11 +02:00